View difference between Paste ID: JLz6FW18 and 5t71gGtv
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 (http://superuser.com/a/497256/174557).
1+
Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx, use the Win10 v1511 SDK: https://go.microsoft.com/fwlink/p/?LinkID=698771 which is the last version that works in Win7), open the command prompt with admin rights.
2
         
3
Copy this into a new txt file and rename it to CMD and run it from the cmd:
4
//////////////////////////77     
5
6-
xperf -on latency+FILENAME+FILE_IO+FILE_IO_INIT -stackwalk profile+FileCreate+FileCleanup+FileClose+FileRead+FileWrite+FileSetInformation+FileDelete+FileRename -buffersize 2048 -MaxFile 1024 -FileMode Circular -f kernel.etl
6+
xperf -on latency+FILENAME+FILE_IO+FILE_IO_INIT+DISK_IO_INIT -stackwalk profile+FileCreate+FileCleanup+FileClose+FileRead+FileWrite+FileSetInformation+FileDelete+FileRename+DiskReadInit+DiskWriteInit -buffersize 2048 -MaxFile 2048 -FileMode Circular -f C:\kernel.etl
7-
xperf -start UserLogger -on Microsoft-Windows-Immersive-Shell:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-WindowsUIImmersive:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-Search-Core:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-Search:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-UI-Search:0xffffffffffffffff:0xff:'stack'  -BufferSize 2048 -f USER.etl
7+
xperf -start UserLogger -on Microsoft-Windows-Search-Core:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-Search:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-UI-Search:0xffffffffffffffff:0xff:'stack'+Microsoft-Windows-Shell-Core:::'stack'+Microsoft-Windows-Shell-Shwebsvc:::'stack' -BufferSize 2048 -f C:\USER.etl
8
9
echo At this point, the test pass should be performed.
10
11
pause
12
13
Xperf -stop
14
Xperf -stop USERLogger
15-
Xperf -merge USER.etl kernel.etl Result.etl
15+
Xperf -merge C:\USER.etl C:\kernel.etl C:\Result.etl
16
17-
del USER.etl
17+
del C:\USER.etl
18-
del kernel.etl
18+
del C:\kernel.etl
19
//////////////     
20
     
21-
    Now capture 1-2 minutes of the Explorer slowness.
21+
    Now capture 1-2 minutes of the slowness.
22
     
23
    zip the Result ETL files as 7z/RAR (to reduce the size), upload it (Onedrive, dropbox, Google Drive) and paste a link here.