still problem with policy and clients

Posted on 2011-10-28
Last Modified: 2012-05-12
I was hoping someone can help me out
I've created a login .bat file to map a new drive to a shared folder (on a 2008 file server). I then added the .bat file to a GPO under the User Configuration  logon script.  
Most users after a log out/login  on their workstations got the map to x drive properly, but some did not. After a numerous login attempts and a reboot it still does not map. I'm assuming its because the workstation is using cached credentials and its not checking the DC for new policies. There is a policy option that forces login-cached credentials to be disabled, and forces an authentication from the workstation every time, but is there a way to force a workstation to check for new policies without turning off cached credentials?
I tried running gpupdate /force on the server but no difference.
Question by:MrMay

    Expert Comment

    Perhaps there is something preventing the drive from being mapped.  From what I can recall, I think the standard group policy interval is 15 minutes.  You would need run the gpupdate /force from the client for it to be effective.  To my knowledge the cached credentials should not make a difference.  I have had issues in the past trying to GPO .bat files.  I find that vbscript works better.  If your domain is at the 2008 functional level with Win7 clients, perhaps you could try preferences to map drives?
    LVL 18

    Expert Comment


    my advice is to get rid of the .bat file
    under you GPO use Group Policy preferences to map the group
    if you are running XP then you need this

    this is mapped at log on so it should get away from an credentials and work smoothly
    LVL 11

    Expert Comment

    From the workstation use gpresult to see what policy is actually being applied to the workstation.


    Author Comment

    irweazelwallis can u please give more explanation.
    LVL 24

    Accepted Solution

    LVL 18

    Expert Comment

    As above. We have used this to do drive mapping with item level targeting based on group membership but you can also do it based on other categories. The article linked above gives you a good start.
    You can then extend it out to so things like printer mapping.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    Physical Network Design 11 69
    Wireshark coloring help 4 27
    Windows Server with Exchange 7 23
    Scheduled task not running 5 26
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
    This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now