Solved

Add Login Script to All users in Active Directory.

Posted on 2006-07-07
5
241 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
[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
  • 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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

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…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 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