Shutdown script in SCCM?
Is it possible to deploy an MSI installation with SCCM in the form of a shutdown script (similar to what can be done in GPO)?
October 12th, 2010 10:44am
What do you want to do exactly? The most simple way (with some limitations) to shut down a computer using ConfigMgr would be a program that kicks off "shutdown.exe".
Free Windows Admin Tool Kit Click here and download it now
October 12th, 2010 10:55am
Hi,
the answer to that question is no. With ConfigMgr. you can trigger an advertisement to start when a user logs off but not shutdown.Kent Agerlund | http://scug.dk/ | The Danish community for System Center products
October 12th, 2010 11:19am
Kent is right; I misread your question.
Free Windows Admin Tool Kit Click here and download it now
October 12th, 2010 11:58am
Thanks.
October 12th, 2010 2:53pm
Hi!
I have a different
problem.
I run a Shut-Down
script after the installation of another program to permanently shut down the machine.
I set the "Program
Restarts Machine", and used << cscript.exe After_Install_shutdown.vbs >> command to execute that.
The script
is simple, and it works when triggered from the workstation's cmd
### script
code ###
Set shell =
WScript.CreateObject("WScript.Shell")
shell.Run "%windir%\system32\shutdown.exe
-s -f"
### script
end ###
The problem
is, that the machine is restarted instead of being simply shut down.
Does this setting
interfere with the script?
(Running the
program with "No action Required" brings up an "Unexpected restart" Error)
Free Windows Admin Tool Kit Click here and download it now
May 19th, 2011 10:44am
willqu, no need for posting the same question twice, see:
http://social.technet.microsoft.com/Forums/en-US/configmgrswdist/thread/9e5026bd-79f7-4a5f-b77e-b65c74ab54bd/#31eda9e7-5301-4dd3-9e3a-28854cc4ef55Torsten Meringer | http://www.mssccmfaq.de
May 19th, 2011 11:37am