Hello,

I am trying to run a script that allows me to run it on next client check in. Currently I have a script that I can manually run that first places a bat file in a directory and then runs that bat file. The bat file is a simple net use command (net use x: server/share). This seems to work well other than the fact that I cannot run it on client check in. If I set the script as an Offline script, I no longer have the Windows Run As option. Without this option, the batch file runs, however, it now hangs and requires the user to input their credentials in a command prompt, which is not ideal. Any ideas on how to accomplish mapping a network drive on next client check in?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
enforce a registry setting and put the map command in hkcu\software\microsoft\windows\currentversion\run or runonce keys.  You can run the script as the user, they get registry mod and on the next boot the mapping runs
Answered 08/14/2014 by: SMal.tmcc
Red Belt

  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
Please log in to comment
Answer this question or Comment on this question for clarity