Quotes work. Now I just need to be able
to sync time with my local DC via .vbs. In my batch file, I have the standard: net time /domain:mydomain /set /yes >
nul How would this work in _vbscript_? -Devon From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Crawford, Scott Sorry, username and
password need to be in quotes. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of I seem to getting a
syntax error on the comma or space after the username. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Crawford, Scott Set objNet =
CreateObject("Wscript.Network") MsgBox “ objNet.RemoveNetworkDrive
“I:” objNet.MapNetworkDrive
"I:", “\\10.1.0.103\DESKTOP_CFG”,
False, ipccuser, password I’ve attached the script I use
for mapping drives on all our clients. It’s a little customized for
our environment, but it allows you to map based on group (included nested)
membership as well as characteristics of the IP address. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of What would be the correct way to
convert this batch file to a .vbs? Echo Mapping Drive
letter for IPCC Access if exist i:\ net
use i: /delete net use i:
\\10.1.0.103\DESKTOP_CFG password /user:ipccuser /PERSISTENT:NO Windows
Systems Engineer Southern
Wine & Spirits - BSG 954-602-2469 __________________________________ |
- RE: [ActiveDir] Authenticated drive mapping via .vbs Harding, Devon
- RE: [ActiveDir] Authenticated drive mapping via .vbs David Cliffe