

If you cannot install Windows 11 because your PC does not have TPM 2.0, then you'll get an error message when trying to install it that says your PC doesn't meet Windows 11 system requirements. (Image credit: Microsoft) How to upgrade to Windows 11 without TPM 2.0


In case your system meets the above-mentioned criteria, you need to run a health check to keep your system ready to install Windows 11. ObjReg.(Image credit: Future) Windows 11 compatibility check ObjReg.Enumkey HKLM ,strKeyPath,arrSubKeys Set objReg=GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") StrKeyPath="SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches" WshShell.Run "C:\Windows\System32\cleanmgr /sagerun:69" Set WshShell=CreateObject("WScript.Shell") ' then run this command cleanmgr /sagerun:69 ' in this registery path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches ' First you have to set registry key stateFlags0069 to DWORD value 2 ' Windows Error Reporting System Queue Files ' Windows Error Reporting System Archive Files

' COMMENT: This script used "cleanmgr /sagerun:69" command to perform cleanup for the following windows temporary files I am running the following VBScript,Įxactly, via SCCM (runs as System) on Enterprise build 6.0 and seeing nothing but the utility launch, run and exit, it isĪbsolutely cleaning up the previous Windows folder as well I honestly do get what you are trying to do but I'm not seeing any prompt for the user on my side. This is the prompt which I'd like to suppress. My script does the same, but non of these scripts solve my problem how to suppress prompt when I want to delete Previous Installations or Temporary windows Installationįiles. Importing reg key and then call cleanmgr /sagerun:xy.
