Link to home
Start Free TrialLog in
Avatar of spectragases
spectragases

asked on

Add Login Script to All users in Active Directory.

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.
Avatar of Pete Long
Pete Long
Flag of United Kingdom of Great Britain and Northern Ireland image

?? 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
Avatar of spectragases
spectragases

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Pber
Pber
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you so much... that works.... :)
Good to hear.