Logon Script alternative


I currently use login scripts that map drives, message box, set time,  if group use, and printers. I am looking for the best way to accomplish this within Server 2012. What is the most efficient way to use login scripts or is it called something else within Server 2012? Within ADUC I set login .bat/.kix. I have a lot of scripts predefined located in sysvol and it has been working fine. I just don't know what is the new way on doing this.


Jaime CamposAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

They will run the same as always under Server 2012 with a minor "registry tweak"...

The default on Server 2012 is a 5 minute delay to run them after logon...

To override:

Setting Path: Computer Configuration/Administrative Templates/System/Group Policy

Setting Name: Configure Logon Script Delay

Supported On: At least Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1

Enter “0” to disable Logon Script Delay. This policy setting allows you to configure how long the Group Policy client waits after logon before running scripts. By default, the Group Policy client waits five minutes before running logon scripts. This helps create a responsive desktop environment by preventing disk contention. If you enable this policy setting, Group Policy will wait for the specified amount of time before running logon scripts. If you disable this policy setting, Group Policy will run scripts immediately after logon. If you do not configure this policy setting, Group Policy will wait five minutes before running logon scripts.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
If what n2fc has described was your problem (you failed to recognize that they run because they run only after 5 minutes by default), then you have a solution already.
For an alternate solution: most scripts can be transformed into group policy preference items which are controlled by a GUI and offer some easy filtering settings, see this description: https://technet.microsoft.com/en-us/library/cc731892(v=ws.10).aspx and this comparison: http://blogs.technet.com/b/mspfe/archive/2011/03/15/windows_2d00_group_2d00_policy_2d00_vs_2d00_logon_2d00_scripts_2d00_whats_2d00_the_2d00_right_2d00_option.aspx
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.