Categories Menu
Repair Center
24 hours online support we repair all types of laptops and relating to LCD screen,motherboard, DC adapter, power supplies and so much more! The shop reliable laptop repair in Ottawa area since 1995. Repair your laptop as easy as 1-2-3 !
computer_25
Services for your location
Windows Vista Secret #11: Deleting the Undeletable
print
report error
add to favorites
write a review
send to friends
suggest a topic
register

As many of us move forward from Windows XP or prior beta versions of Windows Vista to the final RTM version, I thought this little tip / secret might be in order. You may be aware that Windows Vista includes a number of different ways to upgrade a computer, from a straight in-place upgrade (insert CD, run setup and choose upgrade) to Windows Easy Transfer, which allows you to copy settings, programs and data from an old setup a fresh shiny new OS environment. But I'm the purist type who hates even the thought of leaving any detritus around and insists upon a clean install to a pure, unsullied partition.

In doing this, it's not unusual to find some folders that can't be accessed, even by an administrator, because their ACLs were set for accounts with SIDs that applied to an old partition. For example, on my home machine, I switched the C: and D: drive cables around and installed Windows Vista RTM on the new drive. Having tested everything worked, I wanted to delete some old redundant directories (like the old \Program Files directory). If even an administrator can't access the file, how do you take it back?

The secret lies in two command-line utilities, one ancient, the other completely revised for this release. Respectively, these are takeown (which takes ownership of a file or directory) and icacls (which sets new ACLs on that directory). I created a small batch command on my system called itsmine.cmd, as follows:

   takeown /f %1 /r /d y
   icacls %1 /grant administrators:F /t

From an elevated command prompt, you can run a co

prev
1
Other newly Articles from the Operating systems winXP/2000/Vista /Linux /Win 7 - Windows Vista Category:
  1. Vista system—how to add IPX/SPX protocol?
  2. Permanently Activate Windows Vista by Skip Activation with Patched...
  3. Solution for SATA blue-screen in Windows 7
  4. How to Change the Recovery Console Administrator Password on a Domain Controller
  5. How To: Set Processor Affinity To An Application(Or Process) In Windows Vista
  6. Vista system is very slow—6 solutions to simplify debugging
  7. Auto clear virtual memory page in Vista
  8. How can I set folder permission with powershell
  9. Windows Vista Problems: Internet Explorer 8
  10. fix MBR in Vista
  11. Use netsh wlan command to configure wireless network in Vista
  12. Top 10 Windows Vista Performance Tweaks
  13. How to let Windows 7 recognize video file of Real format?
  14. How to Install Windows 7 Beta on an Acer Aspire One Netbook ?
  15. How to delete the hidden partition EISA configured in Windows?
Custom Search
Examples: HP,laptop Rapair,LCD,DC Backlight,Inverter,solder
Article Comment:Replies(0)Views
Name(required):        Email(required):  
Verify: key
Use the above information at your own risk
Loading ... Loading ...