
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2019 12:41 PM
Hi there!
I often connect to my users' using Lansweeper Remote Control, but when they have UAC enabled and I try to installa a program the remote control closes (this is when the UAC prompt is showing up).
How can I prevent this?
Thanks
I often connect to my users' using Lansweeper Remote Control, but when they have UAC enabled and I try to installa a program the remote control closes (this is when the UAC prompt is showing up).
How can I prevent this?
Thanks
Labels:
- Labels:
-
General Discussion
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2019 10:05 AM
Hi,
I have set a GPO:
Computer Policies\Windows Settings\Local Policies\Security Options\User Account Control\User Account Control: Allow UIAccess applications to prompt for elevation without using the secure desktop
If you set this GPO you will get the UAC without a blackscreen
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd851479(v=ws.11)
I have set a GPO:
Computer Policies\Windows Settings\Local Policies\Security Options\User Account Control\User Account Control: Allow UIAccess applications to prompt for elevation without using the secure desktop
If you set this GPO you will get the UAC without a blackscreen
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd851479(v=ws.11)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2019 09:10 AM
Ok, I resolved this, I'm writing here my solution for future reference.
The problem is on "Secure Desktop": when UAC prompt is raised this confirmation dialog is shown on a windows with which no other programs can interact, StefanHartmann solution is good but I don't want to disable always this security feature.
So I resolved in this way: before doing an operation that could raise an UAC prompt on SecureDesktop or even before lsremote connection I disable this by executing a remote "reg add" with this command:
psexec \\<remotepc> reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 00000000 /f
after changing this reg key (that doesn't need a reboot) the UAC prompt is raised but on a normal window so I can interact with it during lsremote session without being disconnected, at the end of the session a similar command with value=1 restores the default value
The problem is on "Secure Desktop": when UAC prompt is raised this confirmation dialog is shown on a windows with which no other programs can interact, StefanHartmann solution is good but I don't want to disable always this security feature.
So I resolved in this way: before doing an operation that could raise an UAC prompt on SecureDesktop or even before lsremote connection I disable this by executing a remote "reg add" with this command:
psexec \\<remotepc> reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 00000000 /f
after changing this reg key (that doesn't need a reboot) the UAC prompt is raised but on a normal window so I can interact with it during lsremote session without being disconnected, at the end of the session a similar command with value=1 restores the default value

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2019 04:08 PM
Have you gone over the remote control KB article?
What you can also try is running the action as a different user.
Actions are performed with the permissions of the user running the browser, so you might need to run the browser with credentials that also have local administrative rights on the target machine.
What you can also try is running the action as a different user.
Actions are performed with the permissions of the user running the browser, so you might need to run the browser with credentials that also have local administrative rights on the target machine.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2019 09:16 AM
LSRemote is so useful! Users must accept connection (for privacy consent) and the can view how to risolve issues.
LSRemote is executign as admin but we can't disable UAC or executing it as a service.
Everything works fine until UAC prompt is loaded and this disconnect LSRemote, I hope there is a fix for this problem.
thanks
LSRemote is executign as admin but we can't disable UAC or executing it as a service.
Everything works fine until UAC prompt is loaded and this disconnect LSRemote, I hope there is a fix for this problem.
thanks

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2019 03:38 PM
Someone correct me if i'm wrong, but:
LSRemote is a remote executable, that packages a small VNC app... and it runs as your user account that you are logged on with when you launch the action from LS webpage. It needs to either run as an administrator on the local machine, with UAC disabled only for administrators, and/or it has to be registered as a windows service, in order to not have UAC cause issues.
I actually didn't know lsremote still existed - thanks for this post 🙂
LSRemote is a remote executable, that packages a small VNC app... and it runs as your user account that you are logged on with when you launch the action from LS webpage. It needs to either run as an administrator on the local machine, with UAC disabled only for administrators, and/or it has to be registered as a windows service, in order to not have UAC cause issues.
I actually didn't know lsremote still existed - thanks for this post 🙂
