Answered windows 2012 user profile path

  • Tuesday, February 12, 2013 9:59 AM
     
     
    Hi, I am setting up Windows 2012 AD, created the first user. In user property - profile - profile path, I typed \\server2013\userprofile.
    I created folder userprofile, and shared. Created logon script .bat file in this folder. 
    But when user logon, got error message can not find profile path, so logon script does not work.
    Could anyone give some ideas? thanks

All Replies

  • Tuesday, February 12, 2013 12:10 PM
     
     Answered

    Hi,

    The default location for Logon scripts specified by scriptPath attribute is the NetLogon share. By default, all users have read access to this share. The NetLogon share on the Domain Controller is located in the following folder:

    %SystemRoot%\sysvol\sysvol\<domain DNS name>\scripts 

    This folder is replicated to all Domain Controllers in the domain. Paste your logon script on sysvol directory, ie under \\yourdomaincontroller\sysvol\ourdomainname\scripts\ and in User Property->Profile-> logon Script: type the name of the script.