In Windows 10, the windows script host window appears and sometimes an error message is output. To solve this, you must first type 'winver' in the Windows command search bar to find solutions by Windows version and build number.
Method 1 : Turn off hidden folder settings
1. Check that the AppData folder is searched under the C:Users (or users)\PS folder with Windows Explorer.
2. If the AppData folder is not visible, an error may appear because it is set as a hidden folder.
3. Click 'View' in the Windows Explorer menu. Then select 'Options'.
4. Select 'Change folder and search options'.
5. Click the 'View' tab in the Folder Options window. And in the 'Advanced settings' box, go to the bottom.
6. Check 'Show hidden files, folders and drives' in the ninth line from the bottom.
7. Restart your PC. And if a windows script host error or injector.vbs error occurs, proceed to the next step.
Method 2: Scan your PC with an antivirus program
1. Run a PC scan with the antivirus program installed on your PC.
2. If there is no antivirus program, install and run the 'Windows Defender Antivirus' program.
3. Restart your PC. And if a windows script host or injector.vbs error appears, proceed to the next step.
Method 3: Resolving Errors with Clean Boot
Windows errors can also be resolved with a clean boot that runs only the necessary drivers and programs necessary for running the PC.
1. Select the magnifying glass icon next to the Windows Start menu.
2. Type 'msconfig' and hit enter.
3. Select the 'Startup' tab.
4. Select 'Open Task Manager'.
5. Change all programs marked as 'Enabled' in the 'Status' tab to 'Disabled'. Right-lick on the line with the 'Enable' program and select 'Disable'.
6. After selecting 'Disable' for all programs, restart the PC. If the Windows script file host error or injector.vbs error reappears, proceed to the next step.
Method 4: Repair Corrupted Windows System Files
1. Click the magnifying glass icon next to the Windows Start menu.
2. Type 'Command Prompt'. Then, right-click [Command Prompt] in the menu and click ;Run as administrator'.
3. Type the following command and hit Enter. This command takes about 30 minutes.
- DISM.exe /Online /Cleanup-image /Restorehealth
4. When a message indicating that the operation has been successfully completed is displayed, type the command below and hit Enter.
- sfc/scannow
5. When the message that the safety verification is 100% complete is displayed, type 'exit' and press the Enter key.
6. Restart your PC. And if the Windows script file host error or injector.vbs error reappears, proceed to the next step.
Method 5: System Restore to Safe Mode
1. Press the 'R' key while holding down the Windows logo key on the keyboard.
2. Enter 'msconfig' and select [OK].
3. Click the [Boot] tab.
4. Click [Safe Boot] and click [OK].
5. If the error does not occur after restarting the PC, press the Windows logo key on the keyboard and press the 'R' key.
6. Enter 'msconfig' and click [OK].
7. Click the [Boot] tab.
8. Uncheck [Safe Boot] and restart the PC.
If an error message is output or an injector.vbs error occurs while the windows script file host window appears, most errors can be resolved by following the above procedure.
댓글