→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jacobsenm
Engaged Sweeper III
Hi

I have an issue in Windows 7 professional machines when I run a custom action to remote control to another computer. So the IT Helpdesk is using Win 7 and the Remote user is running Windows XP.

This is the custom action:

\\servername\lstools\lsrunase svc.euede.audit domain_name Ieka@v{JmJlzFw52xxx= "\\servername\lstools\lsremote {computer}"

And the error message is:
Cannot create file "c:\users\username\appdata\local\temp\VNCVIEWER.ex" Access is denied

This does not happen in Windows XP.
How can we fix this ?

Thanks for the support

Regards
6 REPLIES 6
jacobsenm
Engaged Sweeper III
That did the trick !
Issue is resolved now.

Thanks for the quick help

Best regards
Hemoco
Lansweeper Alumni
Lsrunase copies the environment variables from the current logged on user to the new "runas" user.
The current user has %TEMP% set to C:\Users\MENNO~1.JAC\AppData\Local\Temp\
Looks like the other user cannot write to this path.

You can try changing %temp% to something else "c:\temp" with a batch file before starting lsremote.
jacobsenm
Engaged Sweeper III
The command is :
\\192.168.96.34\lstools\lsrunase svc.euede.audit actuant.pri Ieka@v{JmJlzFw5293Y= "\\192.168.96.34\lstools\lsremote {computer}"


The error message is:
Cannot create file "C:\Users\MENNO~1.JAC\AppData\Local\Temp\VNCVIEWER.EXE". Access is denied

Hemoco
Lansweeper Alumni
Could you type the exact error (replace username by the correct user)
With which user are you logged on?
jacobsenm
Engaged Sweeper III
The error message happens on the IT Helpdesk machine (local machine), not on the remote machine.
The username svc.euede.audit is the username that has admin rights to the remote machine (and local machine).

The custom action works well on a Windows XP machine.
We just upgraded the IT Helpdesk machine to Windows 7.

\\servername\lstools\lsremote {computer} works well when the user has admin rights on both local and remote machines.

However, we user lsrunase to have admin rights on the remote machine.


Regards
Hemoco
Lansweeper Alumni
Does this error happens on the local machine or the remote machine:
Cannot create file "c:\users\username\appdata\local\temp\VNCVIEWER.ex" Access is denied

Is username the name you use to launch lsrunase?
Is the lsrunase account administrator on both machines?