Answer the question
In order to leave comments, you need to log in
How to give administrator rights to a program in windows?
Hello! It is necessary to restrict users from installing additional programs and games! For this, an account was created without administrator rights and without a password. But there are programs (such as Photoshop and others) that require administrator rights to run! How to give these programs the ability to run as administrator without an administrator password! Do not offer hacker ways to launch programs through a batch file! Looking forward to a detailed answer, thanks in advance!
Answer the question
In order to leave comments, you need to log in
Option 1: (checked)
you need to create a parameter in the registry
key HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
: full_path_to_program\name.exe = RUNASINVOKER
Option 2: (did not check)
The second one is more universal and is not tied to a specific application .
Create a .reg file with the following content:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker]
@="Run as restricted user"
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker\command]
@="cmd /C \"set __COMPAT_LAYER =RUNASINVOKER && start \"\" \"%1\"\""
After that, we simply run this reg file and thus make the necessary changes to the registry. This method will add to the context menu (what drops out when you right-click) the executable file item "Run as limited user".
How to give administrator rights to a program in windows?Run as administrator with an administrator password. The only way.
But there are programs (such as Photoshop and others) that require administrator rights to run!Photoshop definitely does not require administrator rights, and works fine under user rights, I don’t know about others, it’s likely too.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question