Run a program without administrative privileges in Windows 7 [duplicate]
While one could argue you're doing things somewhat backwards, if you insist, you could look at:
DropMyRights
Process Explorer/Psexec
Yes.
Turn UAC back on!
Technically, the program will still run under the context of your account, but UAC will prevent system wide changes without authentication first.
The only other option is to create shortcuts and then right click, and choose Run as different user
then choose an account which does not have administration rights.
You need to turn on User Account Control:
- Go to Control Panel ⇨ User Accounts and Family Safety ⇨ User Accounts
- Click on Change User Account Control settings
- Select the Default level
- click
[OK]
- Reboot
runas /trustlevel:0x20000 cmd.exe
will e.g. launch a command prompt that believes it's an admin (if originally launched as such) but does not have elevated privileges like writing to C:\Windows\
. This even works for installing e.g. msi packages that only require elevated privileges since by default they want to install to C:\Program Files
(plus minus
(x86)
). Source: this SU answer