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.
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
- Edited by DarienHawk67 Saturday, January 24, 2009 2:23 AM Added Information
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?
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:
"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
- Proposed as answer by Andre.ZieglerMicrosoft community contributor Thursday, January 13, 2011 3:09 PM