?
Solved

SBS Logon Script

Posted on 2006-05-09
9
Medium Priority
?
7,670 Views
Last Modified: 2012-06-27
I have an SBS 2003 server.  Currently when you logon to the domain network drives are mapped to the computer and the home page is set.  I need to change the mapped drives, and change the home page.  How do I edit the script or policy in place?
0
Comment
Question by:downtownva
  • 4
  • 3
7 Comments
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 16639660
The script can be found here:  \\<servername>\netlogon

It is suggested that you create a separate batch file for mapping the drives and then use the CALL command within the SBS_LOGIN_SCRIPT.bat file.  Do not delete the line that's already in that file or you will lose the ability to manage your workstations from the Server.... such as setting the home page as described below.

To change the homepage, you need to modify this file:  \\<servername>\clients\Setup\install.ins
Open it with Notepad and change the homepage to anything you like.  The change will take place the next time a person logs onto the workstation.

Jeff
TechSoEasy
0
 

Author Comment

by:downtownva
ID: 16639744
The only line in the batch file SBS_Logon_Script.bat is


\\TOASBS\Clients\Setup\setup.exe /s TOASBS

and the install.ins files does not reference the current home page.
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 16639922
\\TOASBS\Clients\Setup\setup.exe /s TOASBS is the correct line to keep in it's place. Don't delete that.

And the default configuration of the install.ins file should look like this (SBS being the name of your server):

[Branding]
Type=2
Wizard_Version=6.00.2800.1106
Language Locale=EN
Language ID=1033
Platform=2

[URL]
Home_Page=http://companyweb
Quick_Link_1_Name=Microsoft bCentral.url
Quick_Link_1=http://www.bCentral.com
Quick_Link_2_Name=My company's internal Web site.url
Quick_Link_2=http://companyweb
Quick_Link_3_Name=Remote E-mail Access.url
Quick_Link_3=http://SBS/exchange
FirstHomePage=http://companyweb
AutoConfigJSURL=http://companyweb

[Proxy]
HTTP_Proxy_Server=
FTP_Proxy_Server=
Gopher_Proxy_Server=
Secure_Proxy_Server=
Socks_Proxy_Server=
Use_Same_Proxy=0
Proxy_Enable=0
Proxy_Override=
AutoDetect=0

[FavoritesEx]
Title1=My company's internal Web site.url
URL1=http://companyweb
Title2=Information and Answers.url
URL2=http://SBS/clienthelp
Title3=Remote Server Management.url
URL3=http://SBS/tsweb/Default.htm?AutoConnect=1
Title4=Microsoft Small Business Server Website.url
URL4=http://www.microsoft.com/sbserver
Title5=Remote E-mail Access.url
URL5=http://SBS/exchange


Does yours look different?

Jeff
TechSoEasy
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:downtownva
ID: 16640626
I agree the the line \\TOASBS\Clients\Setup\setup.exe /s  is correct in the batch file,  the part I don't see in the batch files is the CALL command.  So I don't see how the systems are receiving the mapped drive info.

My install.ins does look like this one, but it does not reference the url we use for internal intranet. So I don't know where the computers are getting this information.
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 16640896
No, there isn't a call command you would need to create that.  CALL is a batch file command that will call up another batch file.  What I'm suggesting is that you write a separate batch file for the mapping which contains the following line:

net use X: \\TOASBS\ShareName


Where X: is the drive you want to map to, and ShareName is the name of your share.  Then save the batch file in the same directory as SBS_Logon_Script.bat and call it drivemap.bat

Then, add this line to the SBS_Logon_Script.bat

CALL \\TOASBS\NetLogon\drivemap.bat

There is a good overview of this here:  http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#38710

As for the install.ins, are you saying that there is NOT a line:

[URL]
Home_Page=http://companyweb  ???

If there isn't then someone has probably created a group policy to change this behavior because that line is created when you run the Configure Email and Internet Connection Wizard (CEICW) .  You can rerun the wizard to see if it will generate the install.ins file.

But, at any rate, a Group Policy would override that setting... so you can just create a new GPO for your homepage assignment and delegate it to whatever OU you like... (all users are in MyBusiness\Users\SBSUsers)

Jeff
TechSoEasy
0
 

Author Comment

by:downtownva
ID: 16641209
I don't think I was clear.  

I do not want to know how to create maps.  I want to find the script or source that is currently in place tellling the machines which drives to use.  we have maps in place, that are loaded with every machine including new ones.  so I need to know how to change what is already in place.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 2000 total points
ID: 16641251
Well, someone must have created a Group Policy then... you need to open the Group Policy Manager and run a resultant set of policy for the particular user or computer you are trying to find this for.

See:  http://seanda.blogspot.com/2005/02/getting-resultant-set-of-policy-from.html for a good how-to.

Jeff
TechSoEasy
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I work for a company that primarily works with small businesses as their outsourced IT vendor. As such the majority of these customers utilize some version of Small Business Server. Due to the economics of running a small business, many of these cus…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question