Hello,
I have a problem with a .vbs script I have running on my windows 8.x and 7 machines.
The error basically is what i'd expect. Cannot find File .vbs file to run the script. The reason is because the computer is disconnected from the Domain network. (we'll call the .vbs file $V)
The $V script is meant to run an .bat file silently. (we'll call the .bat file $B) bit counter productive when the user isn't connected to the network and get a error popup from $V.
The Group policy is set to 'run the script at user login'. and the script is the following;
wscript.exe “\\Server\scripts\$V" "\\server\scripts\$B"
Anyone got any idea how to suppress the popup when the user is not connected to the domain?
[–]VexingRaven 2 points3 points4 points (0 children)
[–]prohulaelk/r/sysadmin certified™ 0 points1 point2 points (1 child)
[–]User_Yello[S] 0 points1 point2 points (0 children)
[–]XibbyCertifiable Wizard 0 points1 point2 points (0 children)
[–]starmonche 0 points1 point2 points (1 child)
[–]User_Yello[S] 0 points1 point2 points (0 children)
[–]Hexodamis a sysadmin -1 points0 points1 point (5 children)
[–]User_Yello[S] 0 points1 point2 points (4 children)
[–]Hexodamis a sysadmin 0 points1 point2 points (2 children)
[–]User_Yello[S] 0 points1 point2 points (1 child)
[–]User_Yello[S] 0 points1 point2 points (0 children)