Hello!
I have a server side vbscript on my qebpage:
Set Executor = Server.CreateObject("ASPExec.Execute"
Executor.Application = "c:\winnt\system32\shutdown.exe"
Executor.Parameters = "\\PCNAME /R /Y /T:120"
strResult = Executor.ExecuteDosApp
Response.Write(strResult)
And this is what I get:
Shutdown:\\PCNAME AdjustTokenPrivileges enable failed.
I suppose ASPExec doesn't have enoguh privilages to run remote shutdown command at all. Does anyone know how to fix this? [sig][/sig]
I have a server side vbscript on my qebpage:
Set Executor = Server.CreateObject("ASPExec.Execute"
Executor.Application = "c:\winnt\system32\shutdown.exe"
Executor.Parameters = "\\PCNAME /R /Y /T:120"
strResult = Executor.ExecuteDosApp
Response.Write(strResult)
And this is what I get:
Shutdown:\\PCNAME AdjustTokenPrivileges enable failed.
I suppose ASPExec doesn't have enoguh privilages to run remote shutdown command at all. Does anyone know how to fix this? [sig][/sig]