- in cửa sổ by quản trị viên
Sửa lỗi Windows Script Host khi khởi động Windows 10
Fix Windows Script Host Errors on Startup Windows 10: The main cause of this error is a vi rút hoặc phần mềm độc hại which has infected your system with malicious code but you don’t need to worry as it’s only an error with .vbs script file which can be resolved quickly by following the below-listed steps.
Windows Script Host Script: C:usersu510desktopOperators-Expressions-demosOperators-Expressions-demosscriptsjs-console.js line: 1 char: 1 error: Object expected code: 800A138F source: microsoft JScript runtime error
Sửa lỗi Windows Script Host khi khởi động Windows 10
Bạn nên tạo điểm khôi phục đề phòng trường hợp xảy ra sự cố.
Method 1: Run System File Checker (SFC) and CheckDisk (CHKDK)
1. Nhấn phím Windows + X sau đó nhấp vào Dấu nhắc lệnh (Quản trị viên).
2. Bây giờ hãy nhập nội dung sau vào cmd và nhấn enter:
Sfc /scannow sfc /scannow /offbootdir=c: /offwindir=c:windows
3.Let system file checker run and then restart your PC.
Method 2: Run Microsoft safety scanner
Its’ look like it is a virus infection, I would suggest you run the Máy quét an toàn của Microsoft and check if it helps. Make sure to disable all antivirus and security protection when running Microsoft safety scanner.
Method 3: Clean boot
1. Nhấn phím Windows + R rồi gõ msconfig and hit enter to Cấu hình hệ thông.
2.Trên tab Chung, chọn Khởi nghiệp chọn lọc và bên dưới nó, hãy đảm bảo tùy chọn “tải các mục khởi động” không được chọn.
3.Navigate to the Services tab and checkmark the box that says “Ẩn tất cả các dịch vụ của Microsoft."
4.Tiếp theo, nhấp vào Vô hiệu hóa tất cả điều này sẽ vô hiệu hóa tất cả các dịch vụ còn lại.
5.Restart your PC and check if you’re able to Fix Windows Script Host Errors on Startup.
6.Sau khi khắc phục sự cố xong, hãy đảm bảo hoàn tác các bước trên để khởi động PC bình thường.
Method 4: Set the default value .vbs key
1. Nhấn phím Windows + R rồi gõ regedit và nhấn enter để mở Registry Editor.
2.Next, navigate to the following key:
ComputerHKEY_CLASSES_ROOT.vbs
3.In the right-hand side window double click on Default.
4.Change the Value of Default to VBSFile và nhấn OK.
5.Reboot your PC to save changes and your system may start working fine.
Method 5: Delete VMapplet and WinStationsDisabled from Registry
1. Nhấn phím Windows + R rồi gõ regedit và nhấn enter để mở Registry Editor.
2.Next, navigate to the following key:
ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon
3.In the right side window, delete all the entries after userinit which would probably include VMApplet and WinStationsDisabled.
Lưu ý: I’m not responsible if you type a wrong userinit path below and lock yourself out of your user account. Also only make the below change if you Windows is installed on C: Drive.
4.Now double click userinit and remove the entry ‘C:windowssystem32servieca.vbs’or ‘C:WINDOWSrun.vbs’ and make sure the default value now is currently set to ‘C:Windowssystem32userinit.exe,’ ( Yes it includes the trailing comma) and hit OK.
5.Finally, close the Registry Editor and restart your PC.
Method 5: Run Repair Install
Phương pháp này là biện pháp cuối cùng vì nếu không có kết quả thì phương pháp này chắc chắn sẽ sửa chữa mọi sự cố với PC của bạn. Sửa chữa Cài đặt chỉ bằng cách sử dụng bản nâng cấp tại chỗ để sửa chữa các sự cố với hệ thống mà không xóa dữ liệu người dùng có trên hệ thống. Vì vậy hãy theo dõi bài viết này để xem Cách sửa chữa Cài đặt Windows 10 một cách dễ dàng.
Thế là bạn đã thành công Sửa lỗi Windows Script Host khi khởi động Windows 10 nhưng nếu bạn vẫn có bất kỳ câu hỏi nào liên quan đến bài đăng này, vui lòng hỏi họ trong phần bình luận.