configure drive maps preference logging and tracing

Answered configure drive maps preference logging and tracing

  • Tuesday, February 26, 2013 11:28 PM
     
     

    i'm trying to troubleshoot drive mapping.

    i read i'm supposed to enable the group policy "configure drive maps preference logging and tracing."

    when i do this, it sets the path of the log to "%COMMONAPPDATA%\GroupPolicy\Preference\Trace\User.log." my windows 7 machines don't recognize the variable %COMMONAPPDATA%. i tried changing this path to %appdata% and even hard-coded it to c:\user.log and gave "Everyone" full control of c:\user.log. but nothing is getting logged.

    what am i missing? is "configure drive maps preference logging and tracing" something that only works for xp?

All Replies

  • Wednesday, February 27, 2013 12:08 AM
     
     Answered

    http://blogs.technet.com/b/askds/archive/2008/07/18/enabling-group-policy-preferences-debug-logging-using-the-rsat.aspx

    "%COMMONAPPDATA% is not recognized by Windows, however; it is meaningful to Preference client-side extensions. Preference client-side extensions recognize this variable and expand it according to operating system on which the client-side extension is installed. For Windows Server 2003 and Windows XP, %COMMONAPPDATA% expands to
    %SYSTEMDRIVE%\Documents and Settings\All Users\Application Data. The equivalent path for Windows Server 2008 and Windows Vista is %SYSTEMDRIVE%\ProgramData (this folder is hidden by default, but you can manually type the path in Windows Explorer).

    • Marked As Answer by John_Curtiss Wednesday, February 27, 2013 12:09 AM
    •