View difference between Paste ID: 9R3Ehbs3 and iebjY3ne
SHOW: | | - or go back to the newest paste.
1
 Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx), open the command prompt with admin rights.
2
     
3
     
4-
Now copy those commands in an empty .CMD file and run the CMD (as admin) before you try to open a UAC prompt again:
4+
Now copy those commands in an empty .CMD file and run the CMD (as admin) before you try to run an action which triggers the slowness:
5
6
//////////     
7-
xperf -on BASE+LATENCY+DISPATCHER+FILE_IO+FILENAME -stackwalk profile+CSwitch+ReadyThread+ProcessCreate+FileCreate+FileCleanup+FileClose+FileRead+FileWrite -buffersize 2048 -MaxFile 1024 -FileMode Circular -f Kernel.etl
7+
xperf -on PROC_THREAD+LOADER+CSWITCH+DISPATCHER+DISK_IO+DISK_IO_INIT+FILENAME+FILE_IO+FILE_IO_INIT+PROFILE -stackwalk profile+CSwitch+ReadyThread+ProcessCreate+FileCreate+FileCleanup+FileClose+FileRead+FileWrite+DiskReadInit+DiskWriteInit -buffersize 2048 -MaxFile 1024 -FileMode Circular -f Kernel.etl
8-
xperf -start UserLogger -on Microsoft-Windows-RPC:::'stack'+Microsoft-Windows-LUA:::'stack' -BufferSize 2048 -f User.etl
8+
xperf -start UserLogger -on Microsoft-Windows-Shell-Core:::'stack'+Microsoft-Windows-Shell-Shwebsvc:::'stack'+Microsoft-IE:::'stack'+Microsoft-IEFRAME:::'stack'+Microsoft-Windows-WinINet:::'stack'+Microsoft-Windows-WinINet:::'stack' -BufferSize 2048 -f User.etl
9
10
timeout -1 
11
12
xperf -stop
13
xperf -stop UserLogger
14
15-
xperf -merge User.etl kernel.etl SlowUAC.etl
15+
xperf -merge User.etl kernel.etl SlowWindows.etl -compress
16
17
del user.etl
18
del kernel.etl
19
/////////////////
20
     
21
     
22-
If you have captured the UAC slowness, press a key to stop tracing.
22+
If you have captured the slowness, press a key to stop tracing.
23
     
24-
Compress the SlowUAC.etl as 7z/RAR (to reduce the size), upload it (Onedrive, Dropbox) and paste a link here.
24+
Compress the SlowWindows.etl as 7z/RAR (to reduce the size), upload it (Onedrive, Dropbox) and paste a link here.