📜 ⬆️ ⬇️

Process Monitor or how to make the software work as user

Today I will try to deal with the problem of correct software operation under user rights using the example of software (Prima Expert Digital Microscope) for a digital microscope from LOMO JSC.

Device Assembly

As in many enterprises, we have a strict security policy prescribed in the STP and ordinary employees do not have admin rights, therefore, problems with the work of software under a user account occur occasionally, because Software requires extended rights.

So, what I have at the start, the Quality Control Department (Technical Control Department) requested the installation of the accompanying microscope of the Prima Expert software version 1.0 on a regular user machine with Windows XP.
')
Digital camera

Installation was made, but the following problem was found. The program does not see the camera and cuts the interface after launching it from under the user, under the software administrator it works correctly.



The first thing I tried to do was to give the user the right to change the directory with the LOMO program.



This action did not give positive results. Armed with the Process Monitor utility, set up a filter on the Prima.exe process in it and run the Prima Expert software.



The utility displays all affected system resources for Prima.exe operation.



Then, for convenience, I export the result to csv and open it with the help of Microsoft Excel.



I sort by the Detail field and go to see the bushes affected, I am interested in the value of Desired Access: Read / Write.



I give full user access to registry folders:

HKLM \ Software \ Microsoft \ VfWWDM Mapper
HKLM \ System \ CurrentControlSet \ control \ MediaResources \ msvideo \ MSVideo.VFWWDM

Why these folders? Since The user has full access to HKCU - this is his branch.

I start to check, the program is working properly.



I hope the article will be useful for novice admins and enikeyschikam. I use this method for a very long time. It is universal and never let me down.

Source: https://habr.com/ru/post/281070/


All Articles