?
Solved

user template not working when creating users with wizard

Posted on 2006-05-05
11
Medium Priority
?
2,308 Views
Last Modified: 2008-08-12
hi,
have sbs 2003, created users with the wizard, added a user template to have a login script and connect to user folder.

when asked to use template, i choose the template i created, next -->next--->next so on until the end...
after the user is created, i go into the user properties and the login script is changed to the default sbs_login_script.bat and not set to connect to user drive.

so it looks like the template isnt working... can anyone help?

Billy
0
Comment
Question by:baconyi
  • 6
  • 4
11 Comments
 
LVL 7

Author Comment

by:baconyi
ID: 16617958
i have checked to enable to account, but the info doesnt copy over, and i was told that i should not be creating users manually... that i should be using the wizards for SBS, but if the templates dont work, im not going to sit here for 50 users and edit each one after i add the user... catch what im saying?  i must have missed something but i made sure the template i edited was enabled and selected the right one in the wizard when pompted to user the following template when creating user.....
0
 
LVL 7

Author Comment

by:baconyi
ID: 16617987
normally i would have created a default user, or template(whatever you want to call it) and then get all the settings right, then right it, select copy, and then create the new users from there, but again, was told not to do that with 2003 SBS... i hope you guys get a clear understanding of what im doing, sounds confusing to me and im typing this lol
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 16619019
Can you describe what it is that are you wanting to accomplish? Because the standard User Template WILL create a home directory for the user on the server.  No need to create a new template.  You then run the Configure My Documents Redirection wizard to enable the GPO so that all My Documents folders get redirected.

Don't mess with the sbs_login_script.bat unless you know what you are doing with it... that will break your entire network if it doesn't run right.

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.

 
LVL 7

Author Comment

by:baconyi
ID: 16625510
so keep the default line in the script?
i wanted to add mapped drives to the script, so created login.bat and wanted to use that instead of the default script.  i edited the user template, and in the wizard chose to use the template, but the info like login.bat goes to default, and when i say connect to, because i want thier my docs to be local, but a U: drive to thier user folder, but the conect to: part doesnt work, and the login.bat resorts to the sbs_login_script.bat

its a small company and they all know the difference between local and netowrk, and they know to copy only company information to the U and if they have personal stuff in my docs.... i can manually edit the properties of the users, but we have other clients that are larger, some with SBS and a few new potential clients that we want to use SBS for also, thats why i was saying if the template doesnt work... i dont want to sit there, add 40 users with the wizard, then goto the properties of each user 40 times to create a U: drive or whatever it is and add a login script.
but if you're saying i shouldnt change the login script, then i should add the map drives into the default script? and keep that command line thats in there by default?
Billy
0
 
LVL 7

Author Comment

by:baconyi
ID: 16625561
before i joined the team, they've had a few sbs's and they dont use the default login script, everything on the network and server is fine other than sometimes when they create users, the email requires a reboot on the server to be able to be seen/used by outlook, etc... but otherwise everything else works, no problems logging in, out, AD, termnial service, vpn, dhcp, network drives, everything works wonders.... thats why tehy didnt user wizards, but now im trying the wizards thing out because 100% of people say to do so

that was a question i posted before (the email not showing part) and many people said use the wizard, not to add users in manaully... so for this small comapny, we did, but the template isnt working to what we want it to do...
dont know if i was specific, but my docs we want on their pc's, and a mapped drive U (for users) to connect to the home folder, which i know is created but nothing is mapped to it unless manaully done... or my docs redirection which we dont want to do.
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 16627259
Billy,

Many times I've heard experienced IT Professionals say that they have configured an SBS without using the Wizards and "everything works".  While in reality, most of what they configured is working... but they left about half of SBS's capabilities unusable and unfindable because they didn't realize those things were even there!  A good portion of SBS's business value proposition are the productivity and collaboration tools that are configured Out of the Box.

SBS is a Pre-configured product which (to the dismay of network administrator's job security prospects) is designed to be fairly free from the need to troubleshoot various problems that occur in larger network environments.  I can tell you from my experience here at EE that the VAST majority of problems folks post questions about are caused by not following the directions, and not understanding the concepts and design behind SBS.  (See http://sbsurl.com/itpro for the major points regarding this fact).  I can also tell you from my personal experience of installing more than 50 SBS 2003 networks that I don't experience a lot of the problems brought up here.  Of course I do see issues that are caused by things like patches and updates or trying to add something additional... but for the majority of the issues here I have to recreate them in my test lab in order to better understand what happened.

So... for instance, let's look at the Add User Wizard:

The Add User wizard is the second most complex wizard on SBS 2003, the first being the Internet
Connection Wizard. Add User Wizard provides the following:

• Creates user account. Allow multiple users to be created.
• Enables Exchange e-mail services for the user. Exchange mailboxes are created if e-mail alias is specified.
• Sends an introductory e-mail to the user. The e-mail content is located in %sbsprogramdir%\Administration\samplemail.htm.
• Assigns the user to Exchange distribution lists.
• Grants access to network resources such as shared folders, printers, and fax printers.
• Creates a "home" folder \\servername\USERS\%username% and quotas (but does not redirect My Documents or any other folder)
• Grants permissions to SharePoint.
• Grants the user VPN/Dial-in access or not via group membership.
• Gives the user remote administration privileges or not via group membership.
• Deploys software to user computers (launches the Setup Computer wizard).
• Assigns user(s) a logon script \\servername\NETLOGON\SBS_LOGON_SCRIPT.bat.
If a logon script already exists for the user, a pointer to the SBS logon script is appended to the existing logon script. Logon script entry: \\servername\Clients\Setup\Applnch.exe /s servername

Now, if you can manually configure all of that in 20 seconds, then we can probably do away with the wizard.  :-)  

But really... even if you COULD do all of that as efficiently why would you?  Not only would it take a lot longer, but the margin for error is tremendous!  

When you have an enterprise environment, the fault tolerance is much greater.... and one of the things you hear so often about SBS from those who don't "get it" is it's LOW level of fault tolerance.  Well... the people who engineered it understood that problem which is why they created all of the wizards!  To me... this makes a lot of sense... but for some they still don't see how the two are related!  

So... let's discuss your "U" drive.  I'll tell you first, that you can absolutely add a line to the DEFAULT login script to map the drive.  You still want to make sure that the default script runs because that's what checks your workstation to make sure it's all up to date, and among many other functions, allows you to deploy software by just assigning it in the Server Management Console.  

But having a mapped shared "company" folder on the server ignores one of the most popular features that's included with SBS... SHAREPOINT!  When users and computers are properly added with the wizards, there are a couple of Network Places that are automatically configured for each user.  One of them is "General Documents on Companyweb" (the other is a link to their home folder).  The General Documents is a preconfigured, shared document library on the Companyweb Sharepoint intranet site.  A Sharepoint document library is far more functional AND controllable than an NTFS server share.  Plus this is a great way to get people to try SharePoint so that they can see all the other things it does.  If your users are Used to having this place be the "U" drive, then y'know what?  You can map a Sharepoint document library in much the same way as a server share... so your users can STILL have their "U" drive!  Just create a batch file with the net use command and place it in a folder that the default login script can call it from.  See: http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#38710 for the how-to.

If you've never opened an Office document that's stored in Sharepoint, then you've never seen the "Shared Workspace" task panel that comes up... allowing you all sorts of options related to the workspace and the document in particular.

Lastly... I strongly encourage you to use My Documents Folder Redirection.  There's much more to it than you may realize... because not only does this put you in greater control of the document storage of your users... allowing it to be part of your nightly backup, for instance.  But it puts greater control into the hands of the users should they mess up and accidently save a wrong file over another one... (we know that happens now and again).  All shares on the server are automatically backed up by Volume Shadow Copy service TWICE A DAY.  Actually VSS takes version snapshots at 7:00am and 12:00n each day allowing you to revert back to any of about 60 different versions of each folder should you want to.  And it does this quite efficiently.  To see what I mean, take a look at this:
http://www.microsoft.com/technet/technetmag/issues/2006/01/RapidRecovery/default.aspx

But you don't have to do ANY of that setup and configuration on SBS... it's already done for you as part of the default configuration!

So... hopefully you've now seen the value of all of this... it IS a bit different, but heck, things change.

Jeff
TechSoEasy
0
 
LVL 7

Author Comment

by:baconyi
ID: 16734610
hey everyone,

waited a while but noone came up with an answer to my question... the template isnt working correctly...
techsoeasy, i understand that we should use everything that accompanies the SBS, but again, our clients have their own ways of doing things, we are an ourisde network consulting company that helps them set up, and solve problems, otherwise, how/when/where they want things are up to them, we can make suggestions but they still make the ultimate decision.
and they want 2 different locations for my docs and u drive, my docs to be local machine and a mapped drive to their home folders...

again, the problem im having is when i edit the user template to use "login.bat" and the option radio button Connect to: checked, and U drive to connect to \\<server>\users\%username%, and then create a user, and have the wizard use the user template, the editions ive done are not implemented...

for this 1 particular company we went in 11 times to edit each user after creating, but for future clients that have more users, we shouldnt have to create 30 users, then goto the properties 30 times to make changes that the template is supposed to do...

thats why i said in the past we just created a user in active directory users and computers and just made user that way using a "user" template (copy the temp user to create new users)

so anyone know why the templates arnt working right?
Billy
0
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 900 total points
ID: 16735152
I provided you with the HOW-TO for modifying the SBS_LOGIN_SCRIPT.bat file which is how you would create your mapped drives.  This is done AFTER the user template is used, not before.  You do not want to use a separate "login.bat" file as you are trying to do, it won't work.

Please follow the steps I have already linked for you, here:  
http://msmvps.com/blogs/kwsupport/archive/2004/11/03/17830.aspx#38710

This is how it MUST be done with SBS.  You can't do it the way you've done in the past because of SBS's preconfiguration.  I can certainly appreciate that your client has their own way of doing things... but if you are to be the problem solver for them, you need to tell them that their own way isn't the way it's done with SBS.  This is not a standard Server 2003.  If that's what they want then they should replace SBS with that, along with separate servers for each of the components.  Your clients don't have a choice whether to use or not use SBS's configuration wizards if they want to keep all of the components in the same machine.

Jeff
TechSoEasy

0
 
LVL 7

Author Comment

by:baconyi
ID: 16885600
thanks for all the info, i gave you a B, because although your comments were very useful/informational, it did not directly answer my main question of why the template does not work.  but the rest of the info was greatly appreciated.  Thanks again.
Billy
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 16890887
Well, I'm not really concerned about the grade, but I did directly answer your question.  The problem is that you continued to have a belief that "the template isnt working correctly".  Which is not true... it works exactly as designed (or as Microsoft would tell you, "This behavior is by design").

You were trying to use a separate login.bat file which won't work unless you somehow had it wait for the SBS_LOGIN_SCRIPT to finish what it needed to do.  But since that script has to run anyhow, there really is no reason not to include your settings in that single script.

Jeff
TechSoEasy
0
 

Expert Comment

by:kcsltdexpert
ID: 22214153
i agree that the question wasn't answered,
trying to configer my sbs server, user template has been changed but any new user created dont pick up the changed setting, such as terminal service profile......
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I've often see, or have been asked, the question about the difference between the Exchange 2010 SP1 version, available as part of Small Business Server (SBS) 2011, and the “normal” Exchange 2010 SP1 Standard. The answer to the question is relativ…
If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
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

840 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