Solved

Add Login Script to All users in Active Directory.

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

Join & Write a Comment

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

23 Experts available now in Live!

Get 1:1 Help Now