I booted the computer into Safe Mode by repeatedy hitting F8 upon start up.
.
To take ownership I used the command - takeown /f C:\Windows\System32\jscript.dll at the command prompt and pressd Enter To gain full access to the C:\Windows\System32\jscript.dll file type icacls C:\Windows\System32\jscript.dll /grant Admin:(f) at the command prompt and press Enter.
Rename the jscript.dll file to jscript.dll.hold.