Many users report a nagging error whenever they are starting their Windows 10 systems, which says, “Can not find script file “C:\WINDOWS\system32\Maintenance.vbs“. This can be frustrating because this appears every time you log in.

Usually such type of errors occur when a harmful program makes changes to your registry. However, the good news is, there is a quick method to fix this issue. Let’s see how to deal with this error.

Solution: By Recreating The File and Adding a Exit Script

Step 1: Right-click anywhere on the desktop area, select New in the context menu, and click on Text Document.

Desktop Right Click New Text Document

Step 2: In the text document (notepad), type the below text:

Wscript.Quit
Text Document (notepad) Type Wscript.quit Text

Step 3: Now, save this text document as Maintenance.vbs in your prefferd location. We saved it on the Desktop and set the Save as type to All Files.

Click on Save.

File Explorer Desktop File Name Maintenance.vbs All Files

Step 4: Now, go to the .vbs file on the desktop, right-click on it and select Copy.

.vbs File Right Click Copy

Step 5: Press the Window key + X together on your keyboard to open the File Explorer. Click on the C Drive shortcut on the left and on the right side, click on Windows.

Win + X File Explorer C Drive Shortcut Windows

Step 6: Now, click on System32.

C Drive Windows System 32

Step 7: Now, here paste the copied .vbs file. Right-click on an empty space and select Paste from the context menu.

Empty Space Right Click Paste

Press on Continue in the prompt to finish pasting.

That’s about it. You will no more see the maintenance error and will be able to login to your Windows 10 system smoothly.