How to give administrator rights to the program in windows?

Hello! You need to restrict the users to install additional programs and games! For this purpose they created an account without administrator privileges and without a password. But there are programs (such as Photoshop and others) that are to run require administrator rights! How to give these programs the ability to run as administrator without the administrator password! Hacker ways of launching programs via batch file not to offer! Really looking forward to a detailed response for which thanks in advance!
March 19th 20 at 08:54
3 answers
March 19th 20 at 08:56
Solution
Option 1: (tested)

need the registry key

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
to create a parameter: polnymi = RUNASINVOKER

Option 2: (not probral)

The second is more generic and not tied to a specific application.

Create reg file with content:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker]

@="Run as limited user"

[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker\command]

@="cmd /C \"set __COMPAT_LAYER=RUNASINVOKER && start \"\" \"%1\"\""

After just run this. reg file, and thus entered in the register any necessary changes. This method adds a context menu (that appears if you click the right mouse button) executable item "Run as limited user".
March 19th 20 at 08:58
How to give administrator rights to the program in windows?
Run as administrator with administrator password. The only way.

But there are programs (such as Photoshop and others) that are to run require administrator rights!
Photoshop definitely does not require administrator privileges and works just fine under a limited user, don't know about the other, it is likely, too.
Quite a few specific applications require administrator rights.
Have photoshop most likely is simply not enough to write swap file in the root of the drive, the default is the system drive.
Set up scratch disks in photoshop, give write permissions to the user on the right.
Photoshop definitely does not require administrator rights

Can be purchased a licensed version is not required, but portable requires full rights!
Run as administrator with administrator password.
It completely kills the main task!
Is it not possible to force the program to run as administrator without the administrator password - Jaeden commented on March 19th 20 at 09:01
@Jaeden, portativka unloaded in %AppData% in Temp'e somewhere anyway, either in the root of the drive in some hidden folder. I think we should look for "unpacked" version of portativki and drag it to the desired location and run from there, probably won't demand elevation -- it is time.
Two -- now sitesterol with whatcame idea-I will unsubscribe. - jan.Zulauf commented on March 19th 20 at 09:04
@Jaeden,
Can be purchased a licensed version is not required, but portable requires full rights!
Portable - of course. She has himself temporarily to the system to register - in fact, every time it is installed.

Just what otnoshenie is the fact of purchase, a license to portability?
Portable can be purchased and licensed. But for serious work it is better to put normal installed version, not portable - the existence of a license is not important.

Is it not possible to force the program to run as administrator without the administrator password
No, of course. How did she then get administrator rights? - jodie_Schmitt commented on March 19th 20 at 09:07
How did she then get administrator rights?

In Linux in the sudo settings to register the data and the problem is solved! Not really in Microsoft Windows no settings responsible for admin rights to certain programs?! Maybe we should dig group policy?!!! - Jaeden commented on March 19th 20 at 09:10
@Jaeden, Well, you can just run programme with a shortcut using RunAs with keeping the password.
The password you still have to keep that as you say it kills the main task. - jodie_Schmitt commented on March 19th 20 at 09:13
@jodie_Schmitt,
Well, you can just run programme with a shortcut using RunAs
How to do it?! In the instructions which gave you many commands for command line. For greater accuracy, I will explain that the computers are not programmers sit, sit ordinary people, which is difficult to work in command line and get into the system code! - Jaeden commented on March 19th 20 at 09:16
Alloa guys. And you didn't think through the safety of a separate executable file to assign a specific user "full access". It's still admin. But to change the rules administrator. Not? - jan.Zulauf commented on March 19th 20 at 09:19
@Jaeden, Well, you have a nickname like the administrator, based on this, I do not think that it is difficult to deal with command line keys. This is the level of the experienced user.
If it is difficult to understand - invite administrator, he'll do it. - jodie_Schmitt commented on March 19th 20 at 09:22
@Jaeden, in General, tell you friend that with UAC enabled will not work this bike scotlit. Disable UAC and reduce group policy and security-the only way, IMHO. I have 3 hours pokovyraylas attempts to bring sanity UAC'y what is "allowed" -- but no. May have missed something, will see.
If you need guidelines for working with policy makers and safety when UAC is disabled -- you are welcome. - jan.Zulauf commented on March 19th 20 at 09:25
March 19th 20 at 09:00
You need to restrict the users to install additional programs and games!

there are programs (such as Photoshop and others) that are to run require administrator rights! How to give these programs the ability to run as administrator


And where is the limit? From under the photoshop install will programs.
these fail - Kara.Sawayn commented on March 19th 20 at 09:03
@Kara.Sawayn, well, then: runas /savecred /user:mymachine\administrator photoshop.exe - Emery9 commented on March 19th 20 at 09:06

Find more questions by tags SoftwareWindowsSystem administration