Showing posts with label AD User Profiles. Show all posts
Showing posts with label AD User Profiles. Show all posts

Wednesday, December 3, 2008

How to Enable USERENV Logging

Userenv logging is useful in troubleshooting and debugging problems with roaming profiles and system policies.

221833 How to enable user environment debug logging in retail builds of Windows
http://support.microsoft.com/?id=221833

Value Path: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Value Name: UserEnvDebugLevel
Value Type: REG_DWORD
Value Data: 10002 (hex)
Output: %Systemroot%\Debug\UserMode\Userenv.log

Tuesday, November 25, 2008

Configuring User Profile Properties

Configures user profile properties for the MyerKen Active Directory user account.

Set objUser = GetObject _
  ("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com")
 
objUser.Put "profilePath", "\\sea-dc-01\Profiles\myerken"
objUser.Put "scriptPath", "logon.bat"
objUser.Put "homeDirectory", "\\sea-dc-01\HomeFolders\myerken"
objUser.Put "homeDrive", "H"
 
objUser.SetInfo

This is a VB Script, this can be used by saving the file in .vbs file