Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


How to make logon scripts and deploy using group policy

Posted on 2004-04-20
Medium Priority
Last Modified: 2012-08-14
I have a problem that was answered before and I have used the accepted answer and it doesn’t solve my problem.  I have posted the question and the answer below.
I followed these steps to the letter. And still the login script will not run.  I have verified the sytax of the script (I can run run it directly on the workstation) and I can also manually create the drive mapping without the need for authentication.
Can someone help

This was the original question

win2k environment, we need to modify our network net use mappings to create mappings.

example: net use g: \\servername\share

any idea?

This was the original answer

You should create the new Organizational Unit (OU), and then add the new batch file in the logon script with this OU. At last move all users into that OU who need to run that script. So those users can be mapping when they login each time by auto.


Active Directory Users and computer -->  right click of "Domain Controllers (new) ( Orgranizational Unit) --> type the new OU name -->

Right click of new OU --> properties --> Group Policy Tab --> New (Create new policy)

And then Press 'Edit' --> choice what's configuration you need ?? --> user configuration (as well) --> Windows settings --> Script(logon/logoff) --> logon --> create one batch file (net use g:\\servername\share) to add in there.
Question by:jimmymcintyre
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

Assisted Solution

pjimerson earned 1000 total points
ID: 10872998
Any script that you put in the scripts folder will be run but you have to configure each users profile to run the script as well.

Browse to the PDC of your domain and drill down through the SYSVOL folder and the subfolder with same name as the dns name of your domain and look into the scripts folder you'll find there.  Your script should be there.  If it's not put it there.

Then enter Active Directory Users and Computers and configure each user profile that needs to run the script.  Put the name of the batch file in the Login Script field under the profile tab of the properties for each profile.

That'll do it.  

Good Luck,


Accepted Solution

kuchuuee earned 1000 total points
ID: 10873080
Do you have a login script setup on you network already?

Did you place the login script in the correct location?

Have you tried running the script on one user account by going to the profile tab in the user's propertis page and entering the file name here? (no path data is neccesary here as long as the file is located in the scripts directory in the sysvol) I.E.  Login Script:  login.bat

Have you tried changing other things in the Group Policy to ensure that it is being applied correctly?  I.E. go to the group policy you setup for the new OU and add a favorite in
          User Configuration -> Internet Explorer Maintenance -> URLs -> Favorites and Links ->Add Link
             Then check to see if that user has the new favorite in their internet explorer

Post back with a reply so we can get it worked out.



Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

618 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