Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win2K3 SBS Login Scripts

Status
Not open for further replies.

Mwinn

IS-IT--Management
Dec 29, 2008
23
US
I inherited a Win2K3 SBS server when I started with my current Company. I now need to modify the existing Login Script, but am a littel puzzeled with what the original people did here. The Login Script is named. SBS_LOGIN_SCRIPT.bat and has this line as the script: "\\FTSI04\Clients\Setup\Setup.exe /s FTSI04" I cannot tell what, if anything the Setup.exe file is running. The file is actually located in the C:\Program Files\Microsoft Windows Small Business Server\ClientSetup folder. There are some .inf, .prf, .dat and .mst files. Can anyone tell me what this script is doing?

Thanks,
Michael D. Winn
 
run the setup from a command prompt without the /s and see what pops up

_______________________________________
Great knowledge can be obtained by mastering the Google algorithm.
 
I actually did try to run it with out the /s switch and it said it needed to know what server. The /s swith simply tells it which server to use.
 
OK that explains it, but how do I modify it if I want to add things to it or should I just create a seperate login script to take it's place?
 
Given the type of files that are in the ClientSetup folder (.prf, .inf, .dat, .mst, etc.) I'm thinking that the login script is enforcing a preset collection of preferences. Can you give a small sample of the full file names?

Thanks.

Hope this helps.

Please help us help you. Read FAQ690-6594: How to ask the best questions and site policies before posting.
 
Oops sorry. I got called away and didn't get back to finish my reply until after TechyMcSe2k had replied. Because I was in the midst of replying I didn't see that TechyMcSe2k had replied and that you had replied to his post.


Hope this helps.

Please help us help you. Read FAQ690-6594: How to ask the best questions and site policies before posting.
 
Here are the names. Config.dat, iehard_inst.inf, iehard_master.inf, install.ins, sbsdefault.mst, sbsdefault.prf. This is what is in the Config.dat file. <?xml version="1.0"?>
<root><id40208BB0-F900-4137-B971-EECC4FEE6C7F refCount="8" Number="" VPN="1" Server="email.ftsius.com" Domain="ftsi"/><id0FEC0363-CD07-499f-A242-119877403C73 refCount="5"/><id8A33ACFD-F213-43AE-A24C-D52F3516470C DnsQueryTimeouts=""/><id8D38BDFF-8682-4938-B025-B6C3EEB5E6A6 DefaultGateway="10.12.1.200"/><id40208BAE-F900-4137-B971-EECC4FEE6C7F refCount="2"/></root>

The Install.ins has something to do with Internet Explorer. The rest I'm not sure about.
 
It may be set to read only, but you should be able to modify it. I would recommend having it call another batch or vbs login script to make life easier.

_______________________________________
Great knowledge can be obtained by mastering the Google algorithm.
 
What would be the correct format to call another batch file?
 
start c:\path-to-network-file-share\mybatch.bat
or
open command prompt and do a
call /? to get parameters for the call command

_______________________________________
Great knowledge can be obtained by mastering the Google algorithm.
 
This is there by default. Don't mess with it.

This process checks to see if the user environment has been setup. For example: it sets the Outlook dumpster to always be on. It installs the SBS Fax printer, deploys ActiveSync if needed etc.

Create a GPO and deploy your login script from there. I recommend you look at my FAQ on the subject.

faq329-5798


I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top