Advertisement
Guest User

Untitled

a guest
Apr 15th, 2021
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. ###########################################################
  2. # The following commands will be run in sequence. #
  3. # The first 5 will take quite a while to run, be patient. #
  4. ###########################################################
  5.  
  6. sfc /scannow
  7. dism /online /cleanup-image /scanhealth
  8. dism /online /cleanup-image /restorehealth
  9. sfc /scannow
  10.  
  11. chkdsk /scan
  12.  
  13. wmic recoveros get autoreboot
  14. wmic recoveros set autoreboot = false
  15. wmic recoveros get autoreboot
  16. wmic recoveros get DebugInfoType
  17. wmic recoveros set DebugInfoType = 7
  18. wmic recoveros get DebugInfoType
  19.  
  20. wmic pagefile list /format:list
  21. wmic Computersystem where name="DESKTOP" get AutomaticManagedPagefile
  22. wmic Computersystem where name="DESKTOP" set AutomaticManagedPagefile=True
  23. wmic Computersystem where name="DESKTOP" get AutomaticManagedPagefile
  24.  
  25. bcdedit /enum {badmemory}
  26.  
  27.  
  28. C:\WINDOWS\system32>sfc /scannow
  29.  
  30. Beginning system scan. This process will take some time.
  31.  
  32. Beginning verification phase of system scan.
  33. Verification 100% complete.
  34.  
  35. Windows Resource Protection did not find any integrity violations.
  36.  
  37. C:\WINDOWS\system32>dism /online /cleanup-image /scanhealth
  38.  
  39. Deployment Image Servicing and Management tool
  40. Version: 10.0.18362.900
  41.  
  42. Image Version: 10.0.18363.1016
  43.  
  44. [==========================100.0%==========================] No component store corruption detected.
  45. The operation completed successfully.
  46.  
  47. C:\WINDOWS\system32>dism /online /cleanup-image /restorehealth
  48.  
  49. Deployment Image Servicing and Management tool
  50. Version: 10.0.18362.900
  51.  
  52. Image Version: 10.0.18363.1016
  53.  
  54. [===========================84.9%================= ]
  55. [===========================87.3%================== ]
  56. [===========================89.9%==================== ]
  57. [==========================100.0%==========================] The restore operation completed successfully.
  58. The operation completed successfully.
  59.  
  60. C:\WINDOWS\system32>sfc /scannow
  61.  
  62. Beginning system scan. This process will take some time.
  63.  
  64. Beginning verification phase of system scan.
  65. Verification 100% complete.
  66.  
  67. Windows Resource Protection did not find any integrity violations.
  68.  
  69. C:\WINDOWS\system32>chkdsk /scan
  70. The type of the file system is NTFS.
  71.  
  72. Stage 1: Examining basic file system structure ...
  73. 1107968 file records processed.
  74. File verification completed.
  75. 27035 large file records processed.
  76. 0 bad file records processed.
  77.  
  78. Stage 2: Examining file name linkage ...
  79. 2895 reparse records processed.
  80. 1243454 index entries processed.
  81. Index verification completed.
  82. 0 unindexed files scanned.
  83. 0 unindexed files recovered to lost and found.
  84. 2895 reparse records processed.
  85.  
  86. Stage 3: Examining security descriptors ...
  87. Security descriptor verification completed.
  88. 67744 data files processed.
  89. CHKDSK is verifying Usn Journal...
  90. 40577824 USN bytes processed.
  91. Usn Journal verification completed.
  92.  
  93. Windows has scanned the file system and found no problems.
  94. No further action is required.
  95.  
  96. 243536895 KB total disk space.
  97. 89802004 KB in 256369 files.
  98. 184360 KB in 67745 indexes.
  99. 0 KB in bad sectors.
  100. 1233831 KB in use by the system.
  101. 65536 KB occupied by the log file.
  102. 152316700 KB available on disk.
  103.  
  104. 4096 bytes in each allocation unit.
  105. 60884223 total allocation units on disk.
  106. 38079175 allocation units available on disk.
  107.  
  108. C:\WINDOWS\system32>wmic recoveros get autoreboot
  109. AutoReboot
  110. TRUE
  111.  
  112.  
  113. C:\WINDOWS\system32>wmic recoveros set autoreboot = false
  114. Updating property(s) of '\\DESKTOP\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Home|C:\\WINDOWS|\\Device\\Harddisk0\\Partition4"'
  115. Property(s) update successful.
  116.  
  117. C:\WINDOWS\system32>wmic recoveros get autoreboot
  118. AutoReboot
  119. FALSE
  120.  
  121.  
  122. C:\WINDOWS\system32>wmic recoveros get DebugInfoType
  123. DebugInfoType
  124. 7
  125.  
  126.  
  127. C:\WINDOWS\system32>wmic recoveros set DebugInfoType = 7
  128. Updating property(s) of '\\DESKTOP\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Home|C:\\WINDOWS|\\Device\\Harddisk0\\Partition4"'
  129. Property(s) update successful.
  130.  
  131. C:\WINDOWS\system32>wmic recoveros get DebugInfoType
  132. DebugInfoType
  133. 7
  134.  
  135.  
  136. C:\WINDOWS\system32>wmic pagefile list /format:list
  137.  
  138.  
  139. AllocatedBaseSize=2432
  140. CurrentUsage=79
  141. Description=C:\pagefile.sys
  142. InstallDate=20191203174824.088598-300
  143. Name=C:\pagefile.sys
  144. PeakUsage=199
  145. Status=
  146. TempPageFile=FALSE
  147.  
  148.  
  149.  
  150.  
  151. C:\WINDOWS\system32>wmic Computersystem where name="DESKTOP" get AutomaticManagedPagefile
  152. AutomaticManagedPagefile
  153. TRUE
  154.  
  155.  
  156. C:\WINDOWS\system32>wmic Computersystem where name="DESKTOP" set AutomaticManagedPagefile=True
  157. Updating property(s) of '\\DESKTOP\ROOT\CIMV2:Win32_ComputerSystem.Name="DESKTOP"'
  158. Property(s) update successful.
  159.  
  160. C:\WINDOWS\system32>wmic Computersystem where name="DESKTOP" get AutomaticManagedPagefile
  161. AutomaticManagedPagefile
  162. TRUE
  163.  
  164.  
  165. C:\WINDOWS\system32>bcdedit /enum {badmemory}
  166.  
  167. RAM Defects
  168. -----------
  169. identifier {badmemory}
  170.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement