Logon Scripts
Is there a way to have a logon script abort if a certian drive does not map? I have a logon script that runs for end users but if a certian server is not online it will not map a drive to that server. When that happens any drive set to map after that does not map either and the logon script hangs. I would like to know if there is a command I can put in the logon script that will abort that one drive mapping and continue to map the others and then end like normal. Thanks in advance for any suggestions.Chad
September 1st, 2009 5:15pm

Hello Chad,We can be of help if you tell us what kind of script you ar using, vbscript. powershell, etc..I will suggest to post to the scripting forum where you will get the best help.You may want to try this free logon script generatorhttp://www.jdhitsolutions.com/logonscriptgen/index.htmIsaac Oben MCITP:EA, MCSE
Free Windows Admin Tool Kit Click here and download it now
September 1st, 2009 6:53pm

Hi First better way is that keep the separate script for Drive mapping.And try the below link to use a VBS logon script...http://www.computerperformance.co.uk/Logon/Logon_HomeDir.htmRegardsRajesh J S
September 1st, 2009 6:58pm

Just a regular .bat file
Free Windows Admin Tool Kit Click here and download it now
September 1st, 2009 8:22pm

Hello,To be able to accomplish what you want, you will need a more robust script using vbscript or powershell etc..Because you will need to use if, while scenrio etcIsaac Oben MCITP:EA, MCSE
September 1st, 2009 8:42pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics