Highlighted
New Member.
84 views

CLI automation remote desktop

Hi,

I am trying to execute an scenario using CLI and the windows scheduler, but the controller machine is a remote machine. Is there any way to execute this without having an active remote session on the server?

Thanks.

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Hi @1589316098702 ,

If I understand correctly, what you need is an active user session on your controller machine.

Just a workaround, maybe you can try to add a registry key on your target machine, to simulate a logged in user, in this way, it will have an activated user session every time  it restart.

 

e.g. create a reg file with below content with target credential, and run it to add the registry key. 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultDomainName"="xxxx"
"DefaultUserName"="xxxx"
"AutoAdminLogon"="1"
"DefaultPassword"="xxxx"

 

Thanks,

Penn

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.