Log on script for Group Policy in server 2008

Posted on 2013-10-23
Last Modified: 2013-11-23
Attempting to set up a group policy log in script to map drives.

Currently the users are having the drives mapped but we are wanting to change to a global policy.

In server 2003 there is no group policy (right click on the group OU and see it in 2008 and not in 2003)

In server 2008 the logon bat file works on the local machine and in the Active Directory Profile. But only some of the drives are mapped in the Group Policy Management.

Any further details needed, suggestion, guidance would be greatly appreciated.

Thank you,
Question by:ascentsys
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
  • 5
  • 2
LVL 10

Expert Comment

ID: 39594993
It sounds like you have both a 2003 and 2008 DC in your network.  It is highly possible your domain wasn't prepped correctly when the 2008 DC was added.  That would be why the GP only shows up in the 08, see this link about installing a 08 DC in 2003 domain:
You can do a 'set' command from a dos prompt to see which DC the workstation used to logon,  do the drives map correctly when the 08 is the logged on server?  Since the policy doesn't show up in AD on the 03 system then when authenticating to that server the policy won't map the drives

Author Comment

ID: 39595249
I have verified that the local machine is set to the log and is logged to the 08 server and does have DC.

The logon.bat is set on the 08 server in the path \Windows\SYSVOL\domain\scripts and the GOP is pointed to that same path. Six drives do not map. Eight drives do map. I have verified sharing and of course that folders and names exsist and match the script.

Further advise?
LVL 47

Expert Comment

by:Donald Stewart
ID: 39597308
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.


Author Comment

ID: 39631420
Didn't match for the set up in my AD

Neither solutions worked found the solution myself
LVL 47

Expert Comment

by:Donald Stewart
ID: 39631449
Didn't match for the set up in my AD

How's that ??

Neither solutions worked found the solution myself

And what would that be ?

Author Comment

ID: 39631654
I apologize and I realize all of us are busy. I remember I had to set my policy as the first policy and then enabled and forced. I will come back later and give further details

Accepted Solution

ascentsys earned 0 total points
ID: 39656736
Changed the local path to domain path instead of C:sysvol... of the location of the script .. found this on

Author Closing Comment

ID: 39671076
Found solution on google

Featured Post

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
How often Should you reconcile DHCP manually? 1 68
DNS Replication 12 71
GPO reset 2 46
SSIS Paramater on start 2 27
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

726 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