Information Security Blog

Windows XP to Windows 7 Low Disk Space

Windows XP to Windows 7 Low Disk Space

WindowsI recently installed Windows 7 on a laptop that previously ran Windows XP. I’ll admit, I was kind of flying through the install as it was one of several things I was working on at the time. When the laptop rebooted into Windows 7, I was happy… until I looked at the amount of free space on the drive. Apparently Windows 7 doesn’t use the whole disk by default if you don’t choose upgrade. Instead it uses the same disk, but moves all the files into a folder called Windows.old.

I thought, no problem, just delete the old folders and be done with it. One problem. Even as the administrator of the laptop I didn’t have ownership or permission to delete the files. After a few minutes of digging, Windows 7 came through again. So here’s a tip: to remove the files (Adobe files are especially tricky), follow these steps.

  1. Login as an administrator
  2. Run cmd
  3. Cd to the directory containing the files or folders
  4. Take ownership of the files by running: takeown /f filename or takeown /f directory /r/d y
  5. Change permissions: icacls filename /remove everyone:d removes special attributes
  6. Then: icacls filename /grant everyone:F full accesss for everyone
  7. Now run: attrib –r filename
  8. Finally: del filename
  9. (optional) Do a happy dance

While this may be intuitive to MS people, for a Linux guy like me, this nugget was very helpful. Hope this helps others in need.



Best Practices for Firing A Network Security Administrator

Firing A Network Security AdministratorWant to know how to fire a Network Admin? Need to know what precautions to take? Firing any employee can be a stressful event. Firing one who has significant knowledge of and privileged access to your Information Technology/Security infrastructure is even more stressful, as the risks are so notable.

Free Whitepaper: Five Best Practices for SIEM

siem-whitepaper

The promise of SIEM is the consolidation of all relevant Security Event Logs from disparate sources into a single unified and normalized data store.

Free Download: ISO 27001 Implementation Roadmap

ISO 27001 RoadmapHave no fear – our “roadmap” will guide you, step by step, through the entire ISO 27001 process.

Getting to ISO 27001 certification is a process made up of things you already know – and things you may already be doing!

Download: Information Security Attestation Guide

Information Security GuideA Best-Practices Guide to Information Security Attestation

Download our proven Information Security Guide to simplify the process of protecting your data, proving you’re secure and growing your business.

Free Download: A Best Practices Guide to Database Security

database security roadmap

Because data is only as secure as the systems & processes it relies on – a holistic approach to data security is essential. This roadmap is not meant to be exhaustive but rather to stimulate the necessary thought process to put you on the path to good data security.

Is ISO 27001 Right for (Y)our Organization?

iso-27001-webinar

Thinking about ISO 27001 Certification? View our free On-Demand ISO 27001 Webinar

  • How to deal with increasing threats
  • How to manage multiple regulatory requirements
  • How to handle client requests for attestation
  • To validate that significant changes did not have unanticipated results

Free Whitepaper: Stop Wasting Money on Penetration Testing

penetration-testing-whitepaper

Penetration Testing is most frequently performed to:

  • Substantiate the net effectiveness of a mature control environment
  • Prove to a third party that an environment is secure/trustworthy
  • Quickly assess the security of a less mature control environment (in a sense a technical risk assessment)
  • To validate that significant changes did not have unanticipated results

About the Author:

MIke Gargiullo - Senior Security Consultant

Add a Comment