I have written a very small executable which shuts down the computer using the ExitWindowsEx API call. It works fine when you execute it as usual and shuts down the computer. I now want to put it in my scripts directory so i can remotely shut down my computer (yes i'm aware of the risk
). My scripts folder is set to Scripts & executables and i have even tried adding the IIS Launch Process user to the Administrators group in User Manager but this seems to have had no effect. I am guessing it is something to do with IIS not allowing web execuatables to do things like that. I would like to turn off this protection so executables have standard access to the computer but i'm not sure how.
Any ideas? Thanks, Daniel
Any ideas? Thanks, Daniel