Re: Config Manager 07 and updates / Scripting Question
- From: Matthew Hudson <MatthewHudson@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 20:21:01 -0700
go ahead and copy the shutdown.exe from an XP machine and move it into the
package then call it again, I would just call it directly "shutdown.exe ...."
instead of placing it in a .bat file. Or if you want you can create a
package (without source files) and point it towards the shutdown.exe located
on the system. Device not ready means it is either trying to shutdown or
login is in an invalid state:
http://support.microsoft.com/default.aspx/kb/816938
We use this method so I know it works. But it did take a bit to get it all
working in harmony.
--
-----------------------
http://sms-hints-tricks.blogspot.com/
"Dan" wrote:
Tried the shutdown.exe in a bat file and I get a "device not ready" when the.
script runs while the user is logging out.
"Dan" wrote:
I don't want them to have to reboot everytime they log off only when needed.
Time is money as they say and people waiting for PCs to finish rebooting when
it is unnecessary is a waste of time. I'm goign to try having it call a bat
file with your shutdown.exe in it I tried calling the shutdown.exe from a vbs
script but I got the same results I'll let you know how I make out.
Thanks.
"Kim Oppalfens [MVP]" <""Kim dot Oppalfen" wrote:
Matthew Hudson wrote:
We have something similar... to perform the restart we just use the shutdownThe hell with the entire clever searching for whether a reboot is
command.
shutdown.exe -r -f -t 300 -c "Restart required for software update"
Set the script to run at logoff....
good luck...
required at all, just reboot anyhow. Not sure whether that is actually
what he was looking for, but it will definitely work.
Sometimes being smart is just using a solution that will get the job
done. :-)
--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
- References:
- Config Manager 07 and updates / Scripting Question
- From: Dan
- RE: Config Manager 07 and updates / Scripting Question
- From: Matthew Hudson
- Re: Config Manager 07 and updates / Scripting Question
- From: Kim Oppalfens [MVP]
- Re: Config Manager 07 and updates / Scripting Question
- From: Dan
- Config Manager 07 and updates / Scripting Question
- Prev by Date: Re: Config Manager 07 and updates / Scripting Question
- Previous by thread: Re: Config Manager 07 and updates / Scripting Question
- Index(es):
Relevant Pages
|