
On my Windows Vista system I have a batch file in the root folder of my C: drive. I discovered a neat trick where you can just type on the command prompt:
notepad name_of_the_file
and Windows will open the file in Notepad.
Anyways I wanted to create a new batch file (let's say b.bat) from the original one (a.bat). I opened a.bat w/ Notepad, made my changes, but when I went to save the file on C:\ I got the error message:
"You don't have permission to save in this location. Contact the administrator to obtain permission."What in the world? I am the administrator. Oddly enough, however, if I saved the file somewhere else instead and then copy the file to C:\ it'd work. No doubt this is one of Vista's new security features- not allowing direct access to the root folder, and when you want to copy a file there you need to give explicit permission for the file operation.
18 comments:
That certainly is annoying! Is there any workaround for this (to allow an administrator to access the root)?
After using Vista for a while now I've figured it out. Apparently this is because by default Notepad (and pretty much every other program) doesn't run with Admin privileges. So if you right-click on the Notepad shortcut, then select "Run as administrator" you would be able to save the file in the C:\ folder.
Hi, I'm having the same problem too.
Except, I'm trying to save files to c:\ from the internet (i'm trying to download a program). Do you know how to solve this issue?
Thanks
One way is to disable UAC all together- which is what I've done since as an experienced user I've found UAC is too much of a hassle. It may be a good thing for a novice user, but when you know what you're doing it's a nuisance.
So run "msconfig", go to the Tools tab, scroll down and select "Disable UAC", then click the "Launch" button. After a reboot you should be able to save files to the C:\ folder.
Thanks a bunch!
The problem with what Tech Journalist recommended is that after you reboot, you will be in safe mode and Vista will want you to reboot in normal mode, canceling whatever change you did
I'm having this same problem with downloading to an external drive.
Does turning the account to roaming account help at all?
I tried to make my account a roaming account by going to control panel ->user accounts->configure advanced user properties, but the roaming option is grayed out. It will only let me stay local. I went to the first administrator account to see if that would make a difference and it didn't.
If you create a new folder on your external drive and then save anything you want to that it will allow it. Vista just won't allow you to save directly to a drive letter(e.g. G:) as the security implications are too high. SLight irritation I know but it does stop root folder access.
Do as techjournalist said - disable UAC altogether. I did so, rebooted, and no more aggravation (at least for this issue (sigh))
Thank you so much this helped me. I was trying to make my website through notepad and it wouldn't letme save in the folder I wanted to. Thanks again!
Tech Journalist
So run "msconfig", go to the Tools tab, scroll down and select "Disable UAC", then click the "Launch" button. After a reboot you should be able to save files to the C:\ folder.
After doing this I get 2 of everything I save to my desktop. I turned UAC back on and I'm back to square one. Any Ideas?
Hi guys i had the same problem with the external hard drive. I found the problem and its simple.
1. go to computer where the list of drives are.
2. right click on the external drive.
3. click properties.
4. click the security tab.
5. you will find a list of names ie...everybody...admin..etc. Find ''to change permissions click edit''
6. Click in all those little boxes so you give yourself all the perks as admin.
7. click apply....then it runs a little check...the press ok.
8. All is sorted....you are free to store files on your external drive.
good luck!!!
Thank you mick! (If you create a new folder on your external drive and then save anything you want to that it will allow it.)
vista is so ridiculous!!?!
Thanks to Mick for the work-around and thanks to Anton for the fix! It works perfect now!
Tried this fix but after clicking allow for all of the boxes, I get a window telling me, "An error occured while applying security information to.." whatever file I try.
I have never had anything to compare with Vista for sucking up valuable time. What a joke.
...
1. All the privledges of all the users on my computer are on.
2. I HAVE to save this file in System32.
3. I don't want to risk getting x2 of everything I have.
I've gone to the first 20 results of my search to try to fix it, no help...
If you are in Windows 7, you can right click on the drive letter, select properties, click on "edit" anc change the permissions for each user. Give yourself "full control" and you will be able to save the files you want to easily.
I found a helpful article that deals with this problem:
http://support.microsoft.com/kb/931277
Apparently, the problem has to do with installing Windows Vista/7 on a hard drive that was formatted using an earlier version of the Windows NTFS file system. The solution is to format again using Vista/7. I haven't tried this solution yet, but hopefully it helps.
Post a Comment