Solved

Add Login Script to All users in Active Directory.

Posted on 2006-07-07
5
237 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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

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…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now