Cant delete that file in Vista? Bypass all that permission mumbo jumbo by logging into the hidden admin account.
The other day, a friend of mine installed some software on his Vista notebook. The software was incompatible with Vista so he went to uninstall it so that he can install the newer version that is compatible. The incompatible software somehow got corrupted so it wouldn’t uninstall using your regular automated uninstall method. After trying a few times, we decided to just manually delete the program and fish through the registry and remove all of the entries.
When we went to delete the application folder, we couldn’t. "You don’t have permission to delete this folder" is what we were told. We turned off UAC, messed around with the permissions and we were never able to delete the folder.
Certain folders in Vista is protected and only the administrator can do certain things with those folders. To delete those files and folders, what you would need to do is log into Vista as the administrator, not just an account that is labeled as an admin account. If you are like me, you probably have one login to your PC, and that login has admin privileges. Since you are logged into your account that has admin privileges, you should beable to delete any file right? Well what a lot of people don’t know is that even though you have admin privileges, you are not logged into Vista as an administrator, There is a difference. In Vista, the actual administrator login is hidden.
Un-hide your Vista administrator login
This is a weird way to have to do something in Vista, but to un-hide your administrator login, you need to go into the command prompt. Easiest way to do this is hit start and type "cmd" in the start search bar. run cmd once Vista finds it and type this command
net user administrator /active:yes

Hit enter and your administrator account is now enabled. Reboot your PC and you will now have the option to log into that account. Once you are logged into your administrator account, you should beable to delete, modify, change and whatever you want to any file or folder you want. Its not a good idea to keep this account active so once you finished doing what you need to do, you should go back to the command prompt and disable it. You do it the same as above but type this in instead
net user administrator /active:no
Hit enter and the administrator account will go back to being hidden.
Other post you may find interesting



June 29th, 2008 at 12:54 am
I tried this and I get an error saying:
System error 5 has occurred.
Access is denied.
What now?
August 26th, 2008 at 3:32 pm
Thanks for the help. I got a pile of files from a buddy and one of them wouldn’t delete. I thought I tried everything. I even saw a forum that said to download “unlocking” software. Before I did, I saw your comment. You rock. It took me two minutes (including the restart of my Vaio) to delete the pesky file.
Thanks again,
Dan Thompson
September 15th, 2008 at 12:56 am
I dont know if you figured this out or not cuz its been a few months but for anybody who is getting an error saying access is denied you have to right click on the command prompt icon and run as administrator. then it will let you successfully complete the command
October 24th, 2008 at 8:12 pm
Wow, I cannot thank whoever wrote this enough.
Kristi, Run cmd as administrator.