Supress reboot and let the agent do a inventory before reboot?

In ZENworks Configuration Management 10.3.1:
We've got a LAB zone where the agent is installed during the first boot before the userlogin(RunOnceEx in registry), it then continues into the Desktop where it does an inventory scan and gives a message that it will boot in 120 seconds. (2 minutes)

About 15 seconds before it boots, it sends its Inventory, which is what I want from it. (I dont know if its intentional or thats when its done processing)


Now, I've duplicated the LAB in every way I can see, but getting the agent to go further into desktop and do the inventory just before reboot in the same fassion is impossible. I either have to make a scripted reboot that waits untill the Pre-Agent is done(still does not do the inventory, so might aswell skip it), or let the agent autoreboot on its own by dropping the -x parameter from the launch. (I have -q -x as switches in LAB)

Any thoughts on how I might solve this?
LVL 2
TheFlyingCorpseAsked:
Who is Participating?
 
TheFlyingCorpseConnect With a Mentor Author Commented:
Ah =) Thanks for the reply, thats the clean way todo it I pressume :)

I found a workaround:
-> Start the ZENworks service that got installed, it can take up to 1 minute to start, ignore what the icons say ;-)
-> wait 120 secs
-> reboot

Got me what I want, without an extra reboot =)
0
 
ZENandEmailguyConnect With a Mentor Commented:
In the ZAA installs I've done manually or via deployment from the ZCC after device discovery, it seems that a reboot is required before just about anything else can happen...unless you're using the "Inventory-Only" portion of ZAA which won't allow policy, bundle, remote control, etc.

If you're using the complete ZAA, I'd suggest letting complete the install, reboot then get the inventory scan and upload.  I'm not sure how or why it is working in the LAB zone for you.

Scott
0
 
TheFlyingCorpseAuthor Commented:
A solution has been found. ZENandEmailguy proposes the clean solution whereas I replied to the thread with a workaround.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.