none
Program Files folder locked

    Question

  • 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
    Wednesday, January 21, 2009 9:38 PM

Answers

  • Just turn UAC off, this might help. Whatever , this feature is a pain in the ____ when you are using not Microsoft signed software!
    • Marked as answer by rupio Thursday, January 22, 2009 11:31 PM
    Thursday, January 22, 2009 7:52 PM

All replies

  • 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.
    Thursday, January 22, 2009 7:09 AM
    Answerer
  • Yes, copying a file is no problem. But I was actually referring to create a new file. The example was not that good =)
    Thursday, January 22, 2009 2:16 PM
  • Just turn UAC off, this might help. Whatever , this feature is a pain in the ____ when you are using not Microsoft signed software!
    • Marked as answer by rupio Thursday, January 22, 2009 11:31 PM
    Thursday, January 22, 2009 7:52 PM
  • 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!

    Thursday, January 22, 2009 11:31 PM
  • 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
    Saturday, January 24, 2009 2:16 AM
  • 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?

     

     

    Thursday, January 13, 2011 9:43 AM
  • 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/
    Thursday, January 13, 2011 3:09 PM