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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kevinoie
Engaged Sweeper III
HI.

Is it possible to add to Basic Options on the Assets details screen, an option to add a mapped drive to a users computer?
1 ACCEPTED SOLUTION
servicedesk
Champion Sweeper II
Hi,

With the command "net use" you can map a permanent drive or map with specific credentials:

net use Z: \\server\shared_folder /PERSISTENT:yes
net use Z: \\server\shared_folder /user:Luigi p4ssw0rd


To run something remotely and on the current logged in user you can try owexec.exe and then set up an action like this:

{actionpath}owexec.exe -c {assetname} -k netuse_serverName.bat -copy

View solution in original post

2 REPLIES 2
Susan_A
Lansweeper Alumni
FYI: you can also use Lansweeper 5.2's software deployment features to run commands on remote computers.
servicedesk
Champion Sweeper II
Hi,

With the command "net use" you can map a permanent drive or map with specific credentials:

net use Z: \\server\shared_folder /PERSISTENT:yes
net use Z: \\server\shared_folder /user:Luigi p4ssw0rd


To run something remotely and on the current logged in user you can try owexec.exe and then set up an action like this:

{actionpath}owexec.exe -c {assetname} -k netuse_serverName.bat -copy