tredman Absent Member.
Absent Member.
8721 views

Sysprep Autologon with ZCM 10

Hello,

I have created an image with Novell Client and the ZCM Agent pre-installed. Using sysprep I have it perform a single automatic administrator logon to the local machine so that it can join our domain. All works well except that the automatic login is held up by the ZENworks login screen that pops up after the initial login is complete. It sits there and waits for the ZCM Administrator password. I can get around it by clicking cancel or pressing escape, but this defeats the purpose of logging in automatically. Is there anyway to suppress the ZENworks login?

Thanks,
Travis
Labels (2)
0 Likes
21 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Sysprep Autologon with ZCM 10

Remove the Device from the ZONE before creating your Sysprep image.
If it's not in a zone, it will not prompt you to logon.

And the device should not be in the zone as part of the image.
You should be performing a "ZAC REG" as part of your imaging process.

--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"tredman" <tredman@no-mx.forums.novell.com> wrote in message
news:tredman.3btygp@no-mx.forums.novell.com...
>
> Hello,
>
> I have created an image with Novell Client and the ZCM Agent
> pre-installed. Using sysprep I have it perform a single automatic
> administrator logon to the local machine so that it can join our
> domain. All works well except that the automatic login is held up by
> the ZENworks login screen that pops up after the initial login is
> complete. It sits there and waits for the ZCM Administrator password. I
> can get around it by clicking cancel or pressing escape, but this
> defeats the purpose of logging in automatically. Is there anyway to
> suppress the ZENworks login?
>
> Thanks,
> Travis
>
>
> --
> tredman
> ------------------------------------------------------------------------
> tredman's Profile: http://forums.novell.com/member.php?userid=18531
> View this thread: http://forums.novell.com/showthread.php?t=334641
>



0 Likes
adrockk Contributor.
Contributor.

Re: Sysprep Autologon with ZCM 10

Craig Wilson spewed:

> Remove the Device from the ZONE before creating your
> Sysprep image. If it's not in a zone, it will not prompt
> you to logon.


But if your sysprep requires an extra reboot (like for
drivers or scripts) then it WILL ask you. Mine doesn't ask
the first time, but does the second time.

>
> And the device should not be in the zone as part of the
> image. You should be performing a "ZAC REG" as part of
> your imaging process.


You shouldn't need to 'zac reg' if you never let the thing
register to begin with (no reboot after installing the
agent).Read this:
http://www.novell.com/communities/node/3375/zcm-imaging-inst
alling-zen-adaptive-agent-image

In fact if you DO, all your machines will have the same
GUID, and share one object... (I tried this - even after
unregging and blowing registry keys away they still fought
over the same object).

Adam
--


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Sysprep Autologon with ZCM 10

You want to make sure you blow away the %zenworks_home%\cache directory as
well.
That is likely why you were getting conflicts.

I find it quicker avoid installs as part of the images, but that is mostly
because we do lots of mass rollouts and every minute we save is quite
important when laying down an image.

You could try these keys, but I'm thinking it won't work since you will be
connected.................
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Zenworks\ZenLgn]
"DisablePassiveModeLogin"=dword:00000001
"DisablePassiveModeLoginPrompt"=dword:00000001

Another Option is to leave the Gina set MSGINA until after your 2nd reboot.


--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Adam Gabriel" <adrockk@no-mx.forums.novell.com> wrote in message
news:xn0fs1rrm4of96g00d@forums.novell.com...
> Craig Wilson spewed:
>
>> Remove the Device from the ZONE before creating your
>> Sysprep image. If it's not in a zone, it will not prompt
>> you to logon.

>
> But if your sysprep requires an extra reboot (like for
> drivers or scripts) then it WILL ask you. Mine doesn't ask
> the first time, but does the second time.
>
>>
>> And the device should not be in the zone as part of the
>> image. You should be performing a "ZAC REG" as part of
>> your imaging process.

>
> You shouldn't need to 'zac reg' if you never let the thing
> register to begin with (no reboot after installing the
> agent).Read this:
> http://www.novell.com/communities/node/3375/zcm-imaging-inst
> alling-zen-adaptive-agent-image
>
> In fact if you DO, all your machines will have the same
> GUID, and share one object... (I tried this - even after
> unregging and blowing registry keys away they still fought
> over the same object).
>
> Adam
> --
>



0 Likes
adrockk Contributor.
Contributor.

Re: Sysprep Autologon with ZCM 10

Craig Wilson spewed:

> You want to make sure you blow away the
> %zenworks_home%\cache directory as well. That is likely
> why you were getting conflicts.
>
> I find it quicker avoid installs as part of the images,
> but that is mostly because we do lots of mass rollouts
> and every minute we save is quite important when laying
> down an image.
>
> You could try these keys, but I'm thinking it won't work
> since you will be connected.................
> [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Zenworks\ZenLgn]
> "DisablePassiveModeLogin"=dword:00000001
> "DisablePassiveModeLoginPrompt"=dword:00000001
>
> Another Option is to leave the Gina set MSGINA until
> after your 2nd reboot.


Craig,

I know it may take some time, but mind giving us an
overview of how you prepare your images, and how you do
your new-machine rollout?

--


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Sysprep Autologon with ZCM 10

I just found this TID -
http://support.novell.com/Platform/Publishing/324/7000753_f.1.html
It's how you can set the ZCM Agent to Honor the "WSOnly" settings for the
Novell Client.

There is nothing all that special about my Sysprep Image.

The last thing I do is run ZAC REG to register the device.
You need to make sure the %ZENWORKS_HOME%\CACHE directory is cleared if you
pre-install the Agent.

If you are not using ZEN Imaging (Say Ghost), be sure to clear the ZISD
befre creating your image.
I guess it will not hurt if using ZENImaging, but it likely won't matter.

--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Adam Gabriel" <adrockk@no-mx.forums.novell.com> wrote in message
news:xn0fs5nf1r87s000@forums.novell.com...
> Craig Wilson spewed:
>
>> You want to make sure you blow away the
>> %zenworks_home%\cache directory as well. That is likely
>> why you were getting conflicts.
>>
>> I find it quicker avoid installs as part of the images,
>> but that is mostly because we do lots of mass rollouts
>> and every minute we save is quite important when laying
>> down an image.
>>
>> You could try these keys, but I'm thinking it won't work
>> since you will be connected.................
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Zenworks\ZenLgn]
>> "DisablePassiveModeLogin"=dword:00000001
>> "DisablePassiveModeLoginPrompt"=dword:00000001
>>
>> Another Option is to leave the Gina set MSGINA until
>> after your 2nd reboot.

>
> Craig,
>
> I know it may take some time, but mind giving us an
> overview of how you prepare your images, and how you do
> your new-machine rollout?
>
> --
>



0 Likes
adrockk Contributor.
Contributor.

Re: Sysprep Autologon with ZCM 10

Craig Wilson spewed:

> I just found this TID -
> http://support.novell.com/Platform/Publishing/324/7000753_
> f.1.html It's how you can set the ZCM Agent to Honor the
> "WSOnly" settings for the Novell Client.
>
> There is nothing all that special about my Sysprep Image.
>
> The last thing I do is run ZAC REG to register the device.
> You need to make sure the %ZENWORKS_HOME%\CACHE directory
> is cleared if you pre-install the Agent.
>
> If you are not using ZEN Imaging (Say Ghost), be sure to
> clear the ZISD befre creating your image. I guess it
> will not hurt if using ZENImaging, but it likely won't
> matter.


So if you pre-install the agent, clear the cache directory
(and I'm assuming the GUID regkey for the pre-agent) and
unregister it, you can just image and then script a 'zac
reg' and it will re-create a new guid and new object in ZCC?

how do you run your 'zac reg'? mine wouldn't run when i put
it in i386/$oem$/cmdlines.txt...

I've been playing the whole 'install the agent with the NIC
unplugged, then sysprep without a reboot" game.
--


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Sysprep Autologon with ZCM 10

I don't run it there.
After SysPrep Runs, I have the System Boot once and perform a whole array
of actions and then finish.

--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Adam Gabriel" <adrockk@no-mx.forums.novell.com> wrote in message
news:xn0fs5tqa9be92005@forums.novell.com...
> Craig Wilson spewed:
>
>> I just found this TID -
>> http://support.novell.com/Platform/Publishing/324/7000753_
>> f.1.html It's how you can set the ZCM Agent to Honor the
>> "WSOnly" settings for the Novell Client.
>>
>> There is nothing all that special about my Sysprep Image.
>>
>> The last thing I do is run ZAC REG to register the device.
>> You need to make sure the %ZENWORKS_HOME%\CACHE directory
>> is cleared if you pre-install the Agent.
>>
>> If you are not using ZEN Imaging (Say Ghost), be sure to
>> clear the ZISD befre creating your image. I guess it
>> will not hurt if using ZENImaging, but it likely won't
>> matter.

>
> So if you pre-install the agent, clear the cache directory
> (and I'm assuming the GUID regkey for the pre-agent) and
> unregister it, you can just image and then script a 'zac
> reg' and it will re-create a new guid and new object in ZCC?
>
> how do you run your 'zac reg'? mine wouldn't run when i put
> it in i386/$oem$/cmdlines.txt...
>
> I've been playing the whole 'install the agent with the NIC
> unplugged, then sysprep without a reboot" game.
> --
>



0 Likes
adrockk Contributor.
Contributor.

Re: Sysprep Autologon with ZCM 10

Craig Wilson spewed:

> perform a whole array of actions.


How do you do this? RunOnce keys? batch files in startup? Just curious, I know
its outside the scope of Zen imaging.
Thanks.


--


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Sysprep Autologon with ZCM 10

I use the RunOnce Key.
I have an "AutoIt" Script that runs from there and tweaks the system out.


--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Adam Gabriel" <adrockk@no-mx.forums.novell.com> wrote in message
news:xn0fs5uytaynz9007@forums.novell.com...
> Craig Wilson spewed:
>
>> perform a whole array of actions.

>
> How do you do this? RunOnce keys? batch files in startup? Just curious, I
> know
> its outside the scope of Zen imaging.
> Thanks.
>
>
> --
>



0 Likes
adrockk Contributor.
Contributor.

Re: Sysprep Autologon with ZCM 10

Craig Wilson spewed:

> I use the RunOnce Key.
> I have an "AutoIt" Script that runs from there and tweaks the system out.


Gotcha. I tried that, it kept running the stuff during the sealup. Trying the
GuiRunOnce inside sysprep.inf now.

Thanks!

--


0 Likes
shaunpond Absent Member.
Absent Member.

Re: Sysprep Autologon with ZCM 10

Craig,

you just found it, because I only just wrote it 🙂

--

Shaun Pond


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Sysprep Autologon with ZCM 10

That is only partially true...................
It's because

#1 - You Wrote it.
#2 - You told me.

Both parts were required 😆

--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Shaun Pond" <spond@no-mx.forums.novell.com> wrote in message
news:VA.0000b6cf.01b0413a@no-mx.forums.novell.com...
> Craig,
>
> you just found it, because I only just wrote it 🙂
>
> --
>
> Shaun Pond
>
>



0 Likes
shaunpond Absent Member.
Absent Member.

Re: Sysprep Autologon with ZCM 10

Craig,

hehehe

--

Shaun Pond


0 Likes
adrockk Contributor.
Contributor.

Re: Sysprep Autologon with ZCM 10

Shaun Pond spewed:

> Craig,
>
> you just found it, because I only just wrote it 🙂


Is that new in 10.0.3.2?

--


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.