So, without any further ado, check out the following sections for all the details!
What is Window Script Host Error on Windows 11?
Now, the Windows Script Host error usually shows up during startup on Windows 11 PCs and laptops.
A clean boot is essentially a system boot without any third-party software or service starting up upon boot.
2.punch in in system config and hit theSystem Configurationoption on the search results page.
This will disable every non-Microsoft services on your Windows 11 PC or laptop.
4.Click theApply buttonto save the change and exit the System Configurations window.
In case a prompt appears asking to power cycle your machine, select theExit without restart option.
5.Next, use theCtrl + Shift + Eschotkey to initiate the Task Manager.
Use a web browsertoopen this linkon your Windows rig.
2.Click theDownload Autoruns and Autorunsc buttonto download the utility.
5.launch the folder where you extracted the Autoruns zip file and double-click theAutoruns.exe file.
7.Once the tool opens up, bang out inrun.vbsin the above search box.
The search box should be named asQuick Filter.
9.Exit the Autoruns tool andrestart your Windows 11 PCor laptop.
1.UseWindows + Rto open theRun toolon your gadget.
2.punch in inregeditin the text box and click theOK buttonor hit theEnterkey on your keyboard.
3.ClickYeson the followingUser Account Control (UAC)prompt.
5.Under the .vbs folder,double-hit the (Default) optionon the right pane.
6.Within the Edit String window, verify theValue datafor it is set toVBSFile.
If it is not, key in in the same and click theOK buttonto save the change.
2.Go to thePrivacy & security tabon the left navigation bar and click theWindows Security optionon the right pane.
3.Click theVirus & threat protectionoption on the following page.
4.Next, click theQuick scan buttonin the Windows Security window to initiate the scan.
5.Wait for the scan to complete on your unit.
2.Click theRun as administrator buttonfor theCommand Prompttool to open an elevated Command Prompt window.
4.In the elevated Command Prompt window,punch in in or copy-paste the following commandand pressEnterto execute:
5.
Wait for the SFC scan to complete.
It might take some time for the SFC scan to complete on your unit.
However, do not halt it or kill the Command Prompt window while the scan is ongoing.
6.Once the SFC scan is completed,cycle your Windows 11 PCor laptop.
Use steps 1-3from the previous fix(Fix #6)toopen an elevated Command Prompt windowon your machine.
Run them one after the other and in the same order as mentioned above.
3.Wait for the DISM scans to complete on your machine.
4.After the completion of the last scan, power cycle your Windows 11 PC or laptop.
2.bang out increate a restore pointandclick on the sameon the search results section.
3.In the following Control Panel window, click theOpen System Restore option.
At this stage, the Windows Script Host error should be resolved on your gear.
FAQs
Why am I getting the Windows Script Host error on Windows 11?
The Windows Script Host error can be a result of various things on Windows 11 PCs and laptops.
How do I disable startup apps and services on Windows 11?
How to clean boot my Windows 11 PC?
Next, disable all the non-Microsoft startup apps from within the Task Manager.
Finally, reset your Windows 11 PC or laptop to clean boot it.