Solved

log on script

Posted on 2013-12-04
4
402 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 300 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 100 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 100 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

632 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