Jul 24, 2007 #1 GerritR Technical User Jun 18, 2002 41 NL How can I check from the logonscript if one of my dc's is down? I need this to check before I map a drive to a share that is on this machine. Just to not get error message's
How can I check from the logonscript if one of my dc's is down? I need this to check before I map a drive to a share that is on this machine. Just to not get error message's
Jul 24, 2007 #2 dm4ever Technical User Jul 3, 2006 991 US Ping? or perhaps a simple AD query directly to it? -------------------------------------------------------------------------------- dm4ever My philosophy: K.I.S.S - Keep It Simple Stupid Upvote 0 Downvote
Ping? or perhaps a simple AD query directly to it? -------------------------------------------------------------------------------- dm4ever My philosophy: K.I.S.S - Keep It Simple Stupid
Jul 24, 2007 #3 Roadki11 MIS Mar 23, 2005 1,097 US You can just throw ON ERROR RESUME NEXT at the top of your script. If the script cant map it, it will just move on and not popup an error. RoadKi11 Upvote 0 Downvote
You can just throw ON ERROR RESUME NEXT at the top of your script. If the script cant map it, it will just move on and not popup an error. RoadKi11