8

I was prompted to ask this because of following question: Why does the majority of people in the Windows world still appear to not get that working as admin is plain stupid?

We all know, deep down, that running as admin is foolhardy, but what can we do to soften the pain (maybe pain is overstating it).

I'll admit I haven't tried running without admin rights yet, but if I knew of a few things to try if applications broke I'd be more inclined to have a go.

There was some suggestion in the above question that it wouldn't take much to do:

...even then 99% of the misbehaving apps could be made to work without admin rights within no more than 10 minutes. – Oliver Giesen Jul 20 at 15:28

So, what things can we do or use to coax admin-rights-loving apps into life? Are there any particular apps that just refuse point-blank? I'd be grateful to hear any specific examples and experiences.

3 Answers3

6

For applications that downright refuse to run the Microsoft Application Compatibility Toolkit might help which enables you to define fixes for individual applications. This includes the whole range of shims the current compat database already uses for (on Vista) around 5000 applications. I managed to get one program to work with that but it was more like poking around in the dark instead of a foolproof method.

Joey
  • 41,098
4

The "sin" committed most often that requires an app run as admin is when the app wants write permissions to it's Program Files folder. Write access is turned off in that folder for standard users by default.

You can enable this on a case by case basis with a relatively simple change — just right-click on the folder, choose Properties, and then under the Security tab click on the Everyone account and check the box to give it write permissions. But of course that change also requires admin privileges (and the ntfs file system).

Joel Coehoorn
  • 28,637
4

The second most committed sin is apps that write to the LOCAL_MACHINE section of the Windows registry. Any app can read here, but to write here needs admin privileges. Apps should only save their user settings to the CURRENT_USER section of the registry, as a normal user can write here.

If it's writing its own configuration data to LOCAL_MACHINE then it's probably doing it under an entry with it (or it's company's) name under HKEY_LOCAL_MACHINE\Software\AppName

To fix this you can right-click the registry key (folder) with the software's name and select security, and then assign permissions to your user account, or the Everyone account.

For troubleshooting problems with apps running as a standard user Sysinternals (now Microsoft) Process Monitor is invaluable, it's an incredibly powerful tool and lets you monitor absolutely everything that's happening on your PC. A tutorial on using it won't fit here, but you'd want to set a filter for the app you're interested on and then filter on permission and access errors.

Edited to correct Process Monitor/Process Explorer confusion

GAThrawn
  • 4,360