Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

log on script

Posted on 2013-12-04
4
Medium Priority
?
417 Views
Last Modified: 2013-12-09
I am removing Novell from my network environment. I need to find out how to create and deploy a log on script that will take users from boot up to network drives. I need to map drives mainly. How can I do this without a strong background in scripting or programming? I have done pieces of this with AD and group policies. What is a best practice? having the log on script or having a group policy for each group/department? is it a good idea to have 10-12 policies to manage things?
0
Comment
Question by:geriatricgeek
4 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 1200 total points
ID: 39696486
What OS level are you at on your DCs?   If you can use group policy preferences that would make things much easier on you as no scripting is needed

For example, you can map drives http://blogs.technet.com/b/askds/archive/2009/01/07/using-group-policy-preferences-to-map-drives-based-on-group-membership.aspx?Redirected=true

Printers  http://deployhappiness.com/deploying-printers-with-group-policy-preferences/

Having 10/12 policies is not bad.  The logon script would also be done through group policy.

Thanks


Mike
0
 
LVL 1

Author Comment

by:geriatricgeek
ID: 39696502
the DC has server 2003 r2. Using group policies would bring the total up to about 20. But, if it works, I can do that. I'm trying to think of ways to use the existing groups with policies. I'm thinking there isn't a way to assign policies that would have specific items like shortcuts to be able to be assigned to certain groups without separate polices.
0
 
LVL 22

Assisted Solution

by:Nick Rhode
Nick Rhode earned 400 total points
ID: 39696504
With server 2008 as mkline71 mentioned group policy preferences is the best way to go in my opinion.  Otherwise you would use a simple login script.  You can get as elaborate as you want but here is an example that you can use

Simple net use script:  http://homepages.ius.edu/JHOLLY/a247/labs/LogonScript.htm

Or view the attachment.  You can use this script which will map and use a namespace instead of showing the path for the network drive.
Advanced.txt
0
 
LVL 24

Assisted Solution

by:Sandeshdubey
Sandeshdubey earned 400 total points
ID: 39700305
You can create script to map drive or use home drive in user properties to map drive.You can create bat file use net use command and apply the script at logon.If you have Win2008 DC you can apply preference.But if you have WinXP then you need to install windows client side extention hotfix.

mapping network drives for different organisational units using group policy
http://social.technet.microsoft.com/Forums/windowsserver/en-US/a2fe19e2-53e1-4211-acb9-db76073690ed/mapping-network-drives-for-different-organisational-units-using-group-policy?forum=winserverGP
http://www.alexcomputerbubble.com/using-group-policy-preferences-gpp-to-map-user-home-drive/
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

916 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