kjcdude Posted December 14, 2007 Share Posted December 14, 2007 DriveMapAdd simply isn't working correctly. We have a win2k3 server that each of our client computers needs to connect to, so on each boot up they run the following script. The problem is that the script simply doesn't work correctly. I've gone through many tests, if i run the script while idle in windows it sits there for about 20 seconds, then closes, but the mapped drive isn't added. You can add the account manually and it works just fine, but for some reason the script isn't working correctly. if IniRead("Y:\connect.ini", "Connect", "Test", "False") = "False" then DriveMapAdd("Y:", "\\server\Public", 1, "account", "5678") EndIf Link to comment Share on other sites More sharing options...
weaponx Posted December 14, 2007 Share Posted December 14, 2007 Just run "net use" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now