Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to automate two tasks when unsealing sysprepped image

 
   Windows (Home) -> Setup & Installation RSS
Next:  Transfer files from XP to VISTA  
Author Message
Dave R.

External


Since: Jan 21, 2008
Posts: 7



(Msg. 1) Posted: Sat Feb 23, 2008 4:41 pm
Post subject: How to automate two tasks when unsealing sysprepped image
Archived from groups: microsoft>public>deployment>desktop, others (more info?)

I've managed to put together a suitable Vista image, resealed and ready
to distribute. It does everything I need it to except I can't seem to
find a way to do these last two things:

I need for Windows Automatic Updates to be turned off and for the user
to not get bugged about it.
I need for Security Center notifications to be turned off, and the tray
icon to not be displayed, for at least the first 3 users created.

Please, don't tell me that I shouldn't be doing this, etc., - this is
what I'm being directed to accomplish by management. I just need a way
to automate it.

Right now, when the system unseals it runs an app I wrote that automates
a few things before the system auto logs in as the system administrator
for a final piece of software to be installed. I'd like for my app to
take care of those last two things instead of having the end users
perform them manually. I found a couple of registry keys/values that
looked promising, but they don't work:

In HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
Update, AUOptions set to dword:1 and IncludeRecommendedUpdates set to
dword:0 is the end result of selecting the option to turn off Automatic
Updates when the wizard runs, but there must be something else I'm
missing as setting these values in my app doesn't prevent the wizard
from running and prompting me to choose. Automatic Updates are
disabled, but I still have to select something (and it appears I have to
actually change something in the wizard) and click OK for the wizard and
the tray icon to go away.

Similarly, setting the Security Center to not notify me and not show the
icon, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Svc\, I
find a key for my user SID that contains the values EnableNotifications
set to dword:0 and EnableNotificationsRef set to dword:1. If I have my
app create a new key for each of the 1st 3 user SIDs that will get
created, and populate it with these values, when the user logs in they
still get the warning that there are security issues, and they have to
manually go in and turn off notifications.

I've verified that in both cases that these keys/values are being set
properly in the registry, so I don't know what else it is I need to do.
I'm sure it is something simple, but I'm not getting it. Please help!

Regards,

Dave
Back to top
Login to vote
greatbarrier86

External


Since: Dec 19, 2007
Posts: 10



(Msg. 2) Posted: Sat Feb 23, 2008 6:09 pm
Post subject: RE: How to automate two tasks when unsealing sysprepped image [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave,

I can't help with the accuracy of those reg keys, but here is how you would
get your application to run upon the next bootup.

Add a RunOnce command to
HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce.

This will then execute the next time Vista is launched, i think. I don't
think Vista's sysprep clears out RunOnce commands.

After this process completes, Windows deletes that reg key, thus preventing
it from executing again.

"Dave R." wrote:

> I've managed to put together a suitable Vista image, resealed and ready
> to distribute. It does everything I need it to except I can't seem to
> find a way to do these last two things:
>
> I need for Windows Automatic Updates to be turned off and for the user
> to not get bugged about it.
> I need for Security Center notifications to be turned off, and the tray
> icon to not be displayed, for at least the first 3 users created.
>
> Please, don't tell me that I shouldn't be doing this, etc., - this is
> what I'm being directed to accomplish by management. I just need a way
> to automate it.
>
> Right now, when the system unseals it runs an app I wrote that automates
> a few things before the system auto logs in as the system administrator
> for a final piece of software to be installed. I'd like for my app to
> take care of those last two things instead of having the end users
> perform them manually. I found a couple of registry keys/values that
> looked promising, but they don't work:
>
> In HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
> Update, AUOptions set to dword:1 and IncludeRecommendedUpdates set to
> dword:0 is the end result of selecting the option to turn off Automatic
> Updates when the wizard runs, but there must be something else I'm
> missing as setting these values in my app doesn't prevent the wizard
> from running and prompting me to choose. Automatic Updates are
> disabled, but I still have to select something (and it appears I have to
> actually change something in the wizard) and click OK for the wizard and
> the tray icon to go away.
>
> Similarly, setting the Security Center to not notify me and not show the
> icon, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Svc\, I
> find a key for my user SID that contains the values EnableNotifications
> set to dword:0 and EnableNotificationsRef set to dword:1. If I have my
> app create a new key for each of the 1st 3 user SIDs that will get
> created, and populate it with these values, when the user logs in they
> still get the warning that there are security issues, and they have to
> manually go in and turn off notifications.
>
> I've verified that in both cases that these keys/values are being set
> properly in the registry, so I don't know what else it is I need to do.
> I'm sure it is something simple, but I'm not getting it. Please help!
>
> Regards,
>
> Dave
>
>
>
Back to top
Login to vote
greatbarrier86

External


Since: Dec 19, 2007
Posts: 10



(Msg. 3) Posted: Sat Feb 23, 2008 6:24 pm
Post subject: RE: How to automate two tasks when unsealing sysprepped image [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave, sorry. i just read that you already figured out how to get it to run
automatically. my bad

"greatbarrier86" wrote:

> Dave,
>
> I can't help with the accuracy of those reg keys, but here is how you would
> get your application to run upon the next bootup.
>
> Add a RunOnce command to
> HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce.
>
> This will then execute the next time Vista is launched, i think. I don't
> think Vista's sysprep clears out RunOnce commands.
>
> After this process completes, Windows deletes that reg key, thus preventing
> it from executing again.
>
> "Dave R." wrote:
>
> > I've managed to put together a suitable Vista image, resealed and ready
> > to distribute. It does everything I need it to except I can't seem to
> > find a way to do these last two things:
> >
> > I need for Windows Automatic Updates to be turned off and for the user
> > to not get bugged about it.
> > I need for Security Center notifications to be turned off, and the tray
> > icon to not be displayed, for at least the first 3 users created.
> >
> > Please, don't tell me that I shouldn't be doing this, etc., - this is
> > what I'm being directed to accomplish by management. I just need a way
> > to automate it.
> >
> > Right now, when the system unseals it runs an app I wrote that automates
> > a few things before the system auto logs in as the system administrator
> > for a final piece of software to be installed. I'd like for my app to
> > take care of those last two things instead of having the end users
> > perform them manually. I found a couple of registry keys/values that
> > looked promising, but they don't work:
> >
> > In HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
> > Update, AUOptions set to dword:1 and IncludeRecommendedUpdates set to
> > dword:0 is the end result of selecting the option to turn off Automatic
> > Updates when the wizard runs, but there must be something else I'm
> > missing as setting these values in my app doesn't prevent the wizard
> > from running and prompting me to choose. Automatic Updates are
> > disabled, but I still have to select something (and it appears I have to
> > actually change something in the wizard) and click OK for the wizard and
> > the tray icon to go away.
> >
> > Similarly, setting the Security Center to not notify me and not show the
> > icon, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Svc\, I
> > find a key for my user SID that contains the values EnableNotifications
> > set to dword:0 and EnableNotificationsRef set to dword:1. If I have my
> > app create a new key for each of the 1st 3 user SIDs that will get
> > created, and populate it with these values, when the user logs in they
> > still get the warning that there are security issues, and they have to
> > manually go in and turn off notifications.
> >
> > I've verified that in both cases that these keys/values are being set
> > properly in the registry, so I don't know what else it is I need to do.
> > I'm sure it is something simple, but I'm not getting it. Please help!
> >
> > Regards,
> >
> > Dave
> >
> >
> >
Back to top
Login to vote
Dave R.

External


Since: Jan 21, 2008
Posts: 7



(Msg. 4) Posted: Mon Feb 25, 2008 7:37 am
Post subject: Re: How to automate two tasks when unsealing sysprepped image [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

No problem, I just hope someone can help me figure this out. Under XP,
it was easy.

Dave

"greatbarrier86" <greatbarrier86.DeleteThis@discussions.microsoft.com> wrote in
message news:5E1D1354-7D53-4CA7-BB97-89CC9AD2E076@microsoft.com...
> Dave, sorry. i just read that you already figured out how to get it to
> run
> automatically. my bad
>
> "greatbarrier86" wrote:
>
>> Dave,
>>
>> I can't help with the accuracy of those reg keys, but here is how you
>> would
>> get your application to run upon the next bootup.
>>
>> Add a RunOnce command to
>> HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce.
>>
>> This will then execute the next time Vista is launched, i think. I
>> don't
>> think Vista's sysprep clears out RunOnce commands.
>>
>> After this process completes, Windows deletes that reg key, thus
>> preventing
>> it from executing again.
>>
>> "Dave R." wrote:
>>
>> > I've managed to put together a suitable Vista image, resealed and
>> > ready
>> > to distribute. It does everything I need it to except I can't seem
>> > to
>> > find a way to do these last two things:
>> >
>> > I need for Windows Automatic Updates to be turned off and for the
>> > user
>> > to not get bugged about it.
>> > I need for Security Center notifications to be turned off, and the
>> > tray
>> > icon to not be displayed, for at least the first 3 users created.
>> >
>> > Please, don't tell me that I shouldn't be doing this, etc., - this
>> > is
>> > what I'm being directed to accomplish by management. I just need a
>> > way
>> > to automate it.
>> >
>> > Right now, when the system unseals it runs an app I wrote that
>> > automates
>> > a few things before the system auto logs in as the system
>> > administrator
>> > for a final piece of software to be installed. I'd like for my app
>> > to
>> > take care of those last two things instead of having the end users
>> > perform them manually. I found a couple of registry keys/values
>> > that
>> > looked promising, but they don't work:
>> >
>> > In
>> > HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
>> > Update, AUOptions set to dword:1 and IncludeRecommendedUpdates set
>> > to
>> > dword:0 is the end result of selecting the option to turn off
>> > Automatic
>> > Updates when the wizard runs, but there must be something else I'm
>> > missing as setting these values in my app doesn't prevent the
>> > wizard
>> > from running and prompting me to choose. Automatic Updates are
>> > disabled, but I still have to select something (and it appears I
>> > have to
>> > actually change something in the wizard) and click OK for the
>> > wizard and
>> > the tray icon to go away.
>> >
>> > Similarly, setting the Security Center to not notify me and not
>> > show the
>> > icon, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security
>> > Center\Svc\, I
>> > find a key for my user SID that contains the values
>> > EnableNotifications
>> > set to dword:0 and EnableNotificationsRef set to dword:1. If I
>> > have my
>> > app create a new key for each of the 1st 3 user SIDs that will get
>> > created, and populate it with these values, when the user logs in
>> > they
>> > still get the warning that there are security issues, and they have
>> > to
>> > manually go in and turn off notifications.
>> >
>> > I've verified that in both cases that these keys/values are being
>> > set
>> > properly in the registry, so I don't know what else it is I need to
>> > do.
>> > I'm sure it is something simple, but I'm not getting it. Please
>> > help!
>> >
>> > Regards,
>> >
>> > Dave
>> >
>> >
>> >
Back to top
Login to vote
greatbarrier86

External


Since: Dec 19, 2007
Posts: 10



(Msg. 5) Posted: Mon Feb 25, 2008 8:43 am
Post subject: Re: How to automate two tasks when unsealing sysprepped image [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave, I'll keep looking for you, but have you considered turning off the
Windows Update and Security Center services? Or does this do more than you
would prefer (eg: turn off notifications about firewall and virus updates)

"Dave R." wrote:

> No problem, I just hope someone can help me figure this out. Under XP,
> it was easy.
>
> Dave
>
> "greatbarrier86" <greatbarrier86.TakeThisOut@discussions.microsoft.com> wrote in
> message news:5E1D1354-7D53-4CA7-BB97-89CC9AD2E076@microsoft.com...
> > Dave, sorry. i just read that you already figured out how to get it to
> > run
> > automatically. my bad
> >
> > "greatbarrier86" wrote:
> >
> >> Dave,
> >>
> >> I can't help with the accuracy of those reg keys, but here is how you
> >> would
> >> get your application to run upon the next bootup.
> >>
> >> Add a RunOnce command to
> >> HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce.
> >>
> >> This will then execute the next time Vista is launched, i think. I
> >> don't
> >> think Vista's sysprep clears out RunOnce commands.
> >>
> >> After this process completes, Windows deletes that reg key, thus
> >> preventing
> >> it from executing again.
> >>
> >> "Dave R." wrote:
> >>
> >> > I've managed to put together a suitable Vista image, resealed and
> >> > ready
> >> > to distribute. It does everything I need it to except I can't seem
> >> > to
> >> > find a way to do these last two things:
> >> >
> >> > I need for Windows Automatic Updates to be turned off and for the
> >> > user
> >> > to not get bugged about it.
> >> > I need for Security Center notifications to be turned off, and the
> >> > tray
> >> > icon to not be displayed, for at least the first 3 users created.
> >> >
> >> > Please, don't tell me that I shouldn't be doing this, etc., - this
> >> > is
> >> > what I'm being directed to accomplish by management. I just need a
> >> > way
> >> > to automate it.
> >> >
> >> > Right now, when the system unseals it runs an app I wrote that
> >> > automates
> >> > a few things before the system auto logs in as the system
> >> > administrator
> >> > for a final piece of software to be installed. I'd like for my app
> >> > to
> >> > take care of those last two things instead of having the end users
> >> > perform them manually. I found a couple of registry keys/values
> >> > that
> >> > looked promising, but they don't work:
> >> >
> >> > In
> >> > HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
> >> > Update, AUOptions set to dword:1 and IncludeRecommendedUpdates set
> >> > to
> >> > dword:0 is the end result of selecting the option to turn off
> >> > Automatic
> >> > Updates when the wizard runs, but there must be something else I'm
> >> > missing as setting these values in my app doesn't prevent the
> >> > wizard
> >> > from running and prompting me to choose. Automatic Updates are
> >> > disabled, but I still have to select something (and it appears I
> >> > have to
> >> > actually change something in the wizard) and click OK for the
> >> > wizard and
> >> > the tray icon to go away.
> >> >
> >> > Similarly, setting the Security Center to not notify me and not
> >> > show the
> >> > icon, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security
> >> > Center\Svc\, I
> >> > find a key for my user SID that contains the values
> >> > EnableNotifications
> >> > set to dword:0 and EnableNotificationsRef set to dword:1. If I
> >> > have my
> >> > app create a new key for each of the 1st 3 user SIDs that will get
> >> > created, and populate it with these values, when the user logs in
> >> > they
> >> > still get the warning that there are security issues, and they have
> >> > to
> >> > manually go in and turn off notifications.
> >> >
> >> > I've verified that in both cases that these keys/values are being
> >> > set
> >> > properly in the registry, so I don't know what else it is I need to
> >> > do.
> >> > I'm sure it is something simple, but I'm not getting it. Please
> >> > help!
> >> >
> >> > Regards,
> >> >
> >> > Dave
> >> >
> >> >
> >> >
>
>
>
Back to top
Login to vote
Dave R.

External


Since: Jan 21, 2008
Posts: 7



(Msg. 6) Posted: Mon Feb 25, 2008 12:47 pm
Post subject: Re: How to automate two tasks when unsealing sysprepped image [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I haven't tried turning off the Windows Update service, but I did try
turning the Security Center service off since we really don't want any
Security Center notifications at all. Unfortunately, when I do that I
get a taskbar notification to the effect that the service isn't running,
with a button to start the service.

Dave

"greatbarrier86" <greatbarrier86.DeleteThis@discussions.microsoft.com> wrote in
message news:DD855EF8-0C80-4520-95F8-C9F48D682114@microsoft.com...
> Dave, I'll keep looking for you, but have you considered turning off
> the
> Windows Update and Security Center services? Or does this do more
> than you
> would prefer (eg: turn off notifications about firewall and virus
> updates)
>
> "Dave R." wrote:
>
>> No problem, I just hope someone can help me figure this out. Under
>> XP,
>> it was easy.
>>
>> Dave
>>
>> "greatbarrier86" <greatbarrier86.DeleteThis@discussions.microsoft.com> wrote in
>> message news:5E1D1354-7D53-4CA7-BB97-89CC9AD2E076@microsoft.com...
>> > Dave, sorry. i just read that you already figured out how to get it
>> > to
>> > run
>> > automatically. my bad
>> >
>> > "greatbarrier86" wrote:
>> >
>> >> Dave,
>> >>
>> >> I can't help with the accuracy of those reg keys, but here is how
>> >> you
>> >> would
>> >> get your application to run upon the next bootup.
>> >>
>> >> Add a RunOnce command to
>> >> HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce.
>> >>
>> >> This will then execute the next time Vista is launched, i think. I
>> >> don't
>> >> think Vista's sysprep clears out RunOnce commands.
>> >>
>> >> After this process completes, Windows deletes that reg key, thus
>> >> preventing
>> >> it from executing again.
>> >>
>> >> "Dave R." wrote:
>> >>
>> >> > I've managed to put together a suitable Vista image, resealed
>> >> > and
>> >> > ready
>> >> > to distribute. It does everything I need it to except I can't
>> >> > seem
>> >> > to
>> >> > find a way to do these last two things:
>> >> >
>> >> > I need for Windows Automatic Updates to be turned off and for
>> >> > the
>> >> > user
>> >> > to not get bugged about it.
>> >> > I need for Security Center notifications to be turned off, and
>> >> > the
>> >> > tray
>> >> > icon to not be displayed, for at least the first 3 users
>> >> > created.
>> >> >
>> >> > Please, don't tell me that I shouldn't be doing this, etc., -
>> >> > this
>> >> > is
>> >> > what I'm being directed to accomplish by management. I just need
>> >> > a
>> >> > way
>> >> > to automate it.
>> >> >
>> >> > Right now, when the system unseals it runs an app I wrote that
>> >> > automates
>> >> > a few things before the system auto logs in as the system
>> >> > administrator
>> >> > for a final piece of software to be installed. I'd like for my
>> >> > app
>> >> > to
>> >> > take care of those last two things instead of having the end
>> >> > users
>> >> > perform them manually. I found a couple of registry keys/values
>> >> > that
>> >> > looked promising, but they don't work:
>> >> >
>> >> > In
>> >> > HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
>> >> > Update, AUOptions set to dword:1 and IncludeRecommendedUpdates
>> >> > set
>> >> > to
>> >> > dword:0 is the end result of selecting the option to turn off
>> >> > Automatic
>> >> > Updates when the wizard runs, but there must be something else
>> >> > I'm
>> >> > missing as setting these values in my app doesn't prevent the
>> >> > wizard
>> >> > from running and prompting me to choose. Automatic Updates are
>> >> > disabled, but I still have to select something (and it appears I
>> >> > have to
>> >> > actually change something in the wizard) and click OK for the
>> >> > wizard and
>> >> > the tray icon to go away.
>> >> >
>> >> > Similarly, setting the Security Center to not notify me and not
>> >> > show the
>> >> > icon, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security
>> >> > Center\Svc\, I
>> >> > find a key for my user SID that contains the values
>> >> > EnableNotifications
>> >> > set to dword:0 and EnableNotificationsRef set to dword:1. If I
>> >> > have my
>> >> > app create a new key for each of the 1st 3 user SIDs that will
>> >> > get
>> >> > created, and populate it with these values, when the user logs
>> >> > in
>> >> > they
>> >> > still get the warning that there are security issues, and they
>> >> > have
>> >> > to
>> >> > manually go in and turn off notifications.
>> >> >
>> >> > I've verified that in both cases that these keys/values are
>> >> > being
>> >> > set
>> >> > properly in the registry, so I don't know what else it is I need
>> >> > to
>> >> > do.
>> >> > I'm sure it is something simple, but I'm not getting it. Please
>> >> > help!
>> >> >
>> >> > Regards,
>> >> >
>> >> > Dave
>> >> >
>> >> >
>> >> >
>>
>>
>>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Automate tasks in XP - I'm a photographer for a resort and take lots of pictures. I need an easy way to rotate pictures. Right now I have to open each one in photoshop, rotate and then save them. Can a macro be written to automatically do this? I would love to be able to..

help! How to convert bootable diskette image and bootable .. - Hi all, I am trying to upgrade my system and run some diagnostics of my memory. Both the BIOS upgrade and the memtest software needs to create bootable floppy diskette and/or bootable CD. They provided image file with suffix : "*.ima", How...

Automate IIS Installation - I would like to install IIS on a number of machines but do not want to go through the standard Windows Setup dialog box (add/remove programs - windows setup) If I put the IIS inf files and all other IIS files into a shared folder, how could I set it up....

How can I automate file property changes - Hello. I have used Microsoft's SyncToy utility for quick and dirty backups of files and that has worked great. I run SyncToy overnight to perform a lot of other files as well. SyncToy will not, however, back up encrypted files. Our workplace recently...

How to automate this reg delete process - can I automate this procedure with a .REG file? go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB Right click on that and click on "Permissions". In permissions click on the check mark called "Allow" to the right of "...
       Windows (Home) -> Setup & Installation All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
  Windows Forums
 Game Forums
 Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact