Solved

Add Login Script to All users in Active Directory.

Posted on 2006-07-07
5
238 Views
Last Modified: 2010-08-05
Our Active Diretory user base consist of a few hundred users. We have a previous login script that we where using and would like to update it with a new script. Is there a way in AD to update everyone's login script from a command line or within AD?

so for example....... to make things clear of what I am asking

in AD, under users profile. Login Script says: Oldscript.bat

I would like to change this script so that is says: Newscript.bat

on everyone's account without manually having to do so.
0
Comment
Question by:spectragases
  • 2
  • 2
5 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 17057960
?? go to the netlogon share on a DC

locate oldscript.bat rename it to oldscript.old
paste in newscript.bat, rename it to oldscript.bat

job done
0
 

Author Comment

by:spectragases
ID: 17057968
Some user profiles do not have the login sript which is why I would need to add it to their profile. otherwise I would do your way.
0
 
LVL 26

Accepted Solution

by:
Pber earned 250 total points
ID: 17058073
You can batch modify the users right from within the Active Directory Users and Computers MMC.

Select all the users you want by holding down the shift key and clicking each user.
Right click a selected user and select properties.
Go to profile and check off logon script and change it to the value you want.

click apply and it will modify each user.

Hope that helps.
0
 

Author Comment

by:spectragases
ID: 17058096
thank you so much... that works.... :)
0
 
LVL 26

Expert Comment

by:Pber
ID: 17058103
Good to hear.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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