CScript Error: Can't change default script host.

C:\Users\Eric>cscript //H:CScript //nologo //S
Command line options are saved.
CScript Error: Can't change default script host.

-

Does anyone know why this can't be changed?

[208 byte] By [TraversE] at [2007-12-22]
# 1
I need this to work as well. Is this a problem due to the User Account Control or something else? How do you override it?
schmidj at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 2

I believe you can do this if you run cmd.exe as an admin.

For me, I went to c:\windows\system32 in windows explorer

Then I right clicked the cmd.exe and chose to run as an admin.

davidhhhhhhhhhhhhhh at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 3
Running cmd.exe as admin still does not allow me to change the default script host.

Can somebody shed some light on this?

FlyingHorse at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 4
Can ANYBODY help?
FlyingHorse at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...

Software Development for Windows Vista

Site Classified