5 replies
by blair.gardiner Accepted solution
by thumbsup2 Accepted solution
by blair.gardiner Accepted solution
by churdoo Accepted solution
I can think of 2 ways. And I'm assuming your logon script is a .bat or .cmd file.
1) Apply a Group Policy to that server which will override the typical logon script setting so the server will not process the typical script.
2) The second and easiest, is in your logon script, test for the COMPUTERNAME environment variable and skip the working part of the script if COMPUTERNAME equals the particular server name, something like this
if "%COMPUTERNAME%"=="THISSERVER" goto end
(normal script statements here)
:end
This of course will not stop the script from processing, but will skip all of the statements within the script that do anything.
by blair.gardiner Accepted solution
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending