Page 1 of 2

DoUpdate.cmd /autoreboot /shutdown

PostPosted: 23.07.2016, 12:35
by Ckruijntjens
Hello,

I am having à bit of à problem and hope that someone can help me. I have my wsus content in the network as à shared folder. (Public without à password)

When i mount THE share as à drive and do

DoUpdate.cmd /autoreboot

It starts to install patches but never reboots of creates à temp account.

Can someone help me with this or does someone knows what i am doing wrong?

Chris kruijntjens

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 24.07.2016, 07:38
by Ckruijntjens
Hello again

Little update i got it to autoreboot and iT created the temp account
However iT does not autologon.

I am deploying Windows 7 pro x64

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 24.07.2016, 17:26
by boco
Where do you run the Installation from? Are you in a Domain?

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 24.07.2016, 18:36
by Ckruijntjens
Hello,

No i am not in a domain. I start wsus offline in mdt 2013 and everything works except after the First reboot i see my login screen with the temp am administrator account.

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 26.07.2016, 13:18
by boco
MDT (MS Dev Toolkit)? What happens if you start it directly in Windows Shell?

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 26.07.2016, 13:47
by aker
MDT == MS Deployment Toolkit
A kind of customized setup from a network share

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 26.07.2016, 16:09
by Ckruijntjens
Indeed i use Microsoft deployment toolkit. When i run it directly in the Shell i have the same issue. It wont autologon after the reboot???

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 26.07.2016, 16:36
by aker
As far as I know, MDT runs before user accounts are set up, right? (never worked with)
This may break the autologin mechanism.

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 28.07.2016, 11:42
by Ckruijntjens
Hello,

Yes indeed. But i created a waiting time in the script. so when wsus offline runs mdt is fully finished.

Re: DoUpdate.cmd /autoreboot /shutdown

PostPosted: 28.07.2016, 14:10
by aker
Did you already set up any user?
Else you may try the following: run wsusou using MDT and use it to loop it until the return value of wsusou' .\client\cmd\DoUpdate.cmd is 0 and not 3010 or 3011.