Fenek Posted September 11, 2022 Posted September 11, 2022 Hi, I'm remote controlling other applications mainly in windows services. Therefore the service has to be logged on sytem account with "Allow service to interact with desktop" and "NoInteractiveServices" within "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows" has to set to "0" (for Windows Server 2016) Starting with Windows Server 2019 this route is not longer possible (due to Microsoft's / Windows new policy). Starting as an application with autologon is not a good idea due to IT department's restriction. Starting a RDP session automatically might do the job ... but pretty convoluted. Does anyone knows a workaround/solution to this challenge? Cheers Robert.
argumentum Posted September 11, 2022 Posted September 11, 2022 Set a HTTP service in your script and interact that way or, use an IPC to interact with your service script. There are examples in the site ( and in my signature ) to get it done. Cheers Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Fenek Posted September 12, 2022 Author Posted September 12, 2022 Hi, sorry for being inprecise. The autoit script runs within the windows service and remote controls other applications (e.g Starting notepad, waiting for the main window, mouseclick bla.) This road is no longer possible starting with Server 2019, as the service does not "see" notepad's desktop anymore. Cheers Robert.
argumentum Posted September 12, 2022 Posted September 12, 2022 3 hours ago, Fenek said: the service does not "see" notepad Then my advise was good. Just load the script from Task Scheduler or add it to Startup. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now