• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Simple group policy not applying...

Hi,
Trying to add a group policy on a windows 2008 domain controller (we have mixed 2003 and 2008 domain controllers in the domain).

Simple policy to map a drive... a batch file that contains:
net use z: "\\fileserver2\Data"

Plain and simple.  I put the batch file in the scripts folder in sysvol.  I can double click the script as the user, and the drives are mapped no problem.  Also, I can call the script as part of the user's profile (the 'login script' part in his profile) and everything works well.  BUT when i try to call it with group policy, with the "logon" in windows settings of the group policy, i get nothing.  I know the user has rights to the folder it's in, and can navigate to that folder and run it manually, but group policy isn't running it.

Anyone got any troubleshooting steps I can try?  
0
Mystical_Ice
Asked:
Mystical_Ice
1 Solution
 
AcklesCommented:
Sure, here are the tips:

1) Check the user is in correct OU.
2) Check the policy is applied to user side & nothing is disabled.
3) Check that Authenticated users are in the applied policy & nothing is denied.
4) Switch off the machined & start again, run gpresult /force, just to be sure.
4) Switch off the firewall on client machine where user has logged on once & run RSOP from GPMC on the server.
5) Run gpresult /v on the client & see if the RSOP said that the user is getting policy, it's applied on the machine.

If you see that RSOP says policy is applied & gpresult doesn't show, then starts troubleshooting.
Best place, go to Event Viewer & check GroupPolicy Operational logs.

Let know if you need something more.

A
0
 
AmitIT ArchitectCommented:
one more simple solution to add file server path in the user profile and map it. It can be done manually or via using admodify tool if you need to do it for bulk user.
0
 
Mike KlineCommented:
Have you thought about using group policy preferences to map drives

http://blogs.technet.com/b/askds/archive/2009/01/07/using-group-policy-preferences-to-map-drives-based-on-group-membership.aspx

Helps reduce login scripts.

Thanks

Mike
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Mystical_IceAuthor Commented:
Amitkul - that's good, but only room for one mapping. Definitely not a fix, more of a band aid. I appreciate the idea though.

Mkline - that option only applies to vista and 7 clients, not xp, unless you install a hotfix, which adds way more overhead.

Ackles - what do you mean make sure authenticated users are in the policy?
0
 
Vaseem MohammedCommented:
You are configuring the script on "Computer configuration" or "user configuration".
if its on computer configuration, it will not work as when the computer restarts, the script is running on behalf of computer account and it will not have rights on the share.
0
 
Mystical_IceAuthor Commented:
It's under the user configuration
0
 
AcklesCommented:
I mean when you configured GPO did you make it for some special group or used the default?
Did you run RSOP?
0
 
Mystical_IceAuthor Commented:
RSOP figured out the issue
0
 
AcklesCommented:
Glad that helped
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now