Program Files folder locked
Hi,Is it possible to manually create a file under the Program Files folder? The option to create a New folder is there with the security authorization request but that's it. I have some custom programs which don't have installer and I'd like to put them there as I usually do.Thanks,rodolfo
January 22nd, 2009 12:38am

I had to click on the UAC prompt to give administrator rights to copy but I was able to copy a .exe file under Program Files.
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2009 10:09am

Yes, copying a file is no problem. But I was actually referring to create a new file. The example was not that good =)
January 22nd, 2009 5:16pm

Just turn UAC off, this might help. Whatever , this feature is a pain in the ____ when you are using not Microsoft signed software!
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2009 10:52pm

Yep, that worked. I was hoping there was a way of disabling that restriction only but for now I can just turn it off. THanks!
January 23rd, 2009 2:31am

You have other options w/out turning off UAC. Invoke a command prompt by going to Accessories and right-clicking Command Prompt. Select Run as Administrator and acknowledge the UAC elevation prompt. Once there, change directory into c:\program files. cd c:\program files mkdir My Program Folder For 64bit system, use . . . cd c:\program files (x86) mkdir My Program Folder Don't forget to make the corresponding shortcuts for all users in C:\ProgramData\Microsoft\Windows\Start Menu\Programs. If you need to do extensive modifications, then activate the local administrative account. Again, open up a command prompt using the procedure above. Issue the below command: net user administrator /active:yes Click the Start orb and do a Switch User. Now, log on as the local administrator. With this account, you can do all of the things that you are used to doing in Windows XP. Once you are done doing your thing, log out and switch back to your normal user. While in the elevated command prompt, issue . . . net user administrator /active:no
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2009 5:16am

hi, same issue here, UAC in windows 7 program files being very strict. Fine I could get around UAC by right-clicking the Windows Explorer shortcut, selecting Run As Administrator and clicking 'Yes' in the UAC popup, but.. .... what you might find interesting in my case is when I did the above (to run Windows Explorer as administrator) and opened a file for editing (in explorer I right-clicked a .bat file and selected 'Edit' from the context menu), the file opened in Notepad but I was still unable to save it; UAC must have kicked in again at file level! It seems the UAC at folder level within Win Explorer did not transpire when the file opened in another program. So running Win Explorer as administrator was not enough, I had to explicitly open Notepad with Run As Administrator and then within notepad click File, Open and browse to the file to be able to save it in the protected Program Files (86) folder. Weird eh?
January 13th, 2011 4:50am

Selecting "Run as adminsitrator" doesn't start the Explroer with admin rights! You still have user rights . Read my guide how to run the Explorer with admin rights: http://www.msfn.org/board/index.php?showtopic=144776 André"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2011 10:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics