Can I stop SMSLS.BAT being created when I enable Logon Discovery?

Goto the SMS Home Page

 
Is there a way that when you enable Logon discovery of clients that you can stop the "SMSLS.BAT" from being created, or is there a way that it can be changed to a custom batch file before SMS puts it on the DC's? The reason I ask this is that we had SMS version 1 installed several years ago and it was removed and the "SMSLS.BAT" has historically stayed as the main logon script for all clients. We are now in the process of finishing a pilot on a dedicated network and I want to avoid the "SMSLS.BAT" being overwritten on our live network when we go live.

The creation of the "SMSLS.BAT" is automatic when you enable Logon Discovery/Installation. If the file already exists in the "REPL$" directory it will be overwritten without warning.

The best solution would be to add a line to "
SMSLS.BAT" to call another script such as "START.BAT" and modify this second script to perform the actions you require. It would also be worth backing up the "REPL$\Export" directory just in case.
 

© FAQShop.com 2003 - 2008

Goto the SMS Home Page

Email the Author