O
O
Operator_Administrator2019-03-27 20:18:15
System administration
Operator_Administrator, 2019-03-27 20:18:15

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

3 answer(s)
S
Shaggy72, 2019-03-28
@Operator_Administrator

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".

A
Artem @Jump, 2019-03-27
Tag

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.
Quite a few and specific applications require administrator rights.
Photoshop most likely does not have enough corny to write the paging file to the root of the disk, by default it is the system disk.
Set up working disks in Photoshop, give the user write permissions to the necessary ones.

J
John_Nash, 2019-03-27
@John_Nash

It is necessary to restrict users from installing additional programs and games!

And where is the limitation? Programs will be installed from under Photoshop.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question