While logged on with the slow user account, open an elevated CMD prompt and type: Logon with the user account experiencing the slow user logon to reproduce the issue.Press CTRL+ALT+DEL and then Switch User.Note: This syntax works on Windows Vista (Windows Server 2008) and Windows 7 (Windows Server 2008 R2) computers.xperf -on base+latency+dispatcher+NetworkTrace+Registry+FileIO -stackWalk CSwitch+ReadyThread+ThreadCreate+Profile -BufferSize 128 -start UserTrace -on “Microsoft-Windows-Shell-Core+Microsoft-Windows-Wininit+Microsoft-Windows-Folder Redirection+Microsoft-Windows-User Profiles Service+Microsoft-Windows-GroupPolicy+Microsoft-Windows-Winlogon+Microsoft-Windows-Security-Kerberos+Microsoft-Windows-User Profiles General+e5ba83f6-07d0-46b1-8bc7-7e669a1d31dc+63b530f8-29c9-4880-a5b4-b8179096e7b8+2f07e2ee-15db-40f1-90ef-9d7ba282188a” -BufferSize 1024 -MinBuffers 64 -MaxBuffers 128 -MaxFile 1024 Open an elevated command prompt and run this command from WPT Install directory (default path is C:\Program Files\Microsoft Windows Performance Toolkit.Increase the value for “ -postbootdelay” as required to troubleshoot user desktops that are unresponsive to mouse and keyboard input post boot. Stop tracing at 10 seconds after disk and CPU utilization fall below a certain threshold after user logon.Capture ETL tracing during the boot and logon operation (you provide user name, domain name, and password for the slow logon account).Xbootmgr -trace boot -traceflags base+latency+dispatcher -stackwalk profile+cswitch+readythread -notraceflagsinfilename -postbootdelay 10 This syntax is useful to capture slow boots as well as slow logons thought to be caused by a delay in OS startup: Run the following command in the WPT directory (default path is C:\Program Files\Microsoft Windows Performance Toolkit).Logon as an Administrator of the computer you want to trace (either a local Administrator or Domain Admin account that is a member of the local machine’s Administrators group).Using XBOOTMGR to capture slow boots, or slow logons caused by slow boots HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management This prevents kernel mode data from being paged out of memory. If taking a network trace on a 64-bit computer, enable the following registry key and reboot before capturing ETL data.Make a copy of the X:\XPERF directory and copy at will. There are no external files, DLL registration or registry changes required to make or view a capture. Hint 3: Once installed on a computer, the XPERF installation directory can be copied to other computers that you want to capture ETL traces from or view ETL traces on. It’s easier to access and copy files in and out of, and change paths, to the short-labeled directory. Hint 2: I suggest installing the WPT in an X:\XPERF directory rather than the default directory recommended by setup. Hint 1: It is possible to install only the Windows Performance Toolkit from the Windows SDK. NET Framework on the slow boot or logon computer. Install XPERF from the Windows SDK for Windows 7 and. Installing XPERF to capture a slow boot or logon trace
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |