EPM - JIT Policy requires the users Windows Profile to Exist first
90
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 16:02 PM
Symptom
When attempting to create a Just In time (JIT) policy, the end user's profile you are trying to add must already exist on the endpoint. Normally this is not an issue, however if the EPM admin is trying to grant access to another party, like a helpdesk technician who is going to remote in to perform work, this may pose an issue
This is the error you may see in vf_agent_srv.trace:
2022.03.23 12:08:57 PID:5664 TID:17432 CvfSid::LoadAccount: WARNING: Failed to load SID by name or SID string: domain\technicianaccount
2022.03.23 12:08:57 PID:5664 TID:17432 CvfAdHocTask::_AddUsers2Groups: AHUE: ERROR: Unrecognized account name: domain\technicianaccount
2022.03.23 12:08:57 PID:5664 TID:17432 CvfAdHocTask::_StartFullCheckAdHocPolicy: AHUE: ERROR: Failed to add users.
Environment
22.2 SaaS EPM versions up to 22.2
Cause
JIT policy requires a Windows Profile to be created first
Resolution
Workaround:
This workaround is for the situation describe above (where a helpdesk technician is going to remove in and needs to be a local administrator temporarily, but this helpdesk technician does not have a Windows Profile)
1) Helpdesk technician remotes in using whatever tool they prefer
2) Helpdesk technician creates a Windows Profile on the computer using this method:
A) Open file explorer and browse to c:\windows\system32
B) Shift + right click on "Notepad.exe" > run as a different user
C) Enter credentials for the helpdesk user in the form of domain\user
D) The helpdesk user should now have a profile under c:\users
E) In the EPM Console, create a JIT policy on that computer for the helpdesk technician
F) On the endpoint, go to the Systray, right click the Idira Endpoint Privilege Manager agent and choose "Request Settings"