[gptalk] Re: GP startup scripts

  • From: "Dave Palombi" <dave.palombi@xxxxxxxxx>
  • To: gptalk@xxxxxxxxxxxxx
  • Date: Thu, 28 Feb 2008 08:43:09 -0500

This is what is in my cmd file

regedit /s \\bluewater\netlogon\pointclickcareRoot.reg

On Wed, Feb 27, 2008 at 5:33 PM, Nelson, Jamie R <
Jamie.Nelson@xxxxxxxxxxxxxxxxxxx> wrote:

>  You may also need to make sure you are correctly referencing the location
> of the .reg file in your .cmd script. Assuming all the registry entries
> you're making are in HKLM, make sure you are running this as a startup
> script (under Computer Configuration > Windows Settings > Scripts > Startup)
> and not as a user logon script. If you have user based entries you are
> making in HKCU those will need to be in a separate .reg file and imported
> via a second .cmd script that runs at user logon (User Configuration >
> Windows Settings > Scripts > Logon).
>
>
>
> What kind of registry entries are you making? Have you already checked to
> make sure you can't do the same with native Administrative Template settings
> in a GPO?
>
>
>
> Regards,
>
>
>
> *Jamie Nelson* | Systems Engineer | Systems Support, Information
> Technology | *I N T E G R I S* *Health* | Phone 405.552.0903 | Fax
> 405.553.5687 | http://www.integrisok.com
>
>
>
> *From:* gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] *On
> Behalf Of *Nelson, Jamie R
> *Sent:* Wednesday, February 27, 2008 4:20 PM
> *To:* gptalk@xxxxxxxxxxxxx
> *Subject:* [gptalk] Re: GP startup scripts
>
>
>
> You need to use the /s switch on the regedit command in you .cmd file so
> that it runs silently.
>
>
>
> regedit /s Settings.reg
>
>
>
> *Jamie Nelson* | Systems Engineer | Systems Support, Information
> Technology | *I N T E G R I S* *Health* | Phone 405.552.0903 | Fax
> 405.553.5687 | http://www.integrisok.com
>
>
>
> *From:* gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] *On
> Behalf Of *Dave Palombi
> *Sent:* Wednesday, February 27, 2008 3:26 PM
> *To:* gptalk@xxxxxxxxxxxxx
> *Subject:* [gptalk] GP startup scripts
>
>
>
> Hello,
>
> I have a startup script that is going to import a lot of reg keys to the
> computer.  I have setup a GP and set it so that in the start up script I
> have a .cmd file to run a reg key from the netlogon folder.  When I log into
> the computer with the account I get a prompt that says would you want to add
> the information in ........ to the registry.  When you click yes it then
> gives me an error saying cannot import ...... error accessing the registry.
>
> I do not know what I did wrong.
>
> Dave
>  ------------------------------
>
> This e-mail may contain identifiable health information that is subject to
> protection under state and federal law. This information is intended to be
> for the use of the individual named above. If you are not the intended
> recipient, be aware that any disclosure, copying, distribution or use of the
> contents of this information is prohibited and may be punishable by law. If
> you have received this electronic transmission in error, please notify us
> immediately by electronic mail (reply).
>
>
>  ------------------------------
>
> This e-mail may contain identifiable health information that is subject to
> protection under state and federal law. This information is intended to be
> for the use of the individual named above. If you are not the intended
> recipient, be aware that any disclosure, copying, distribution or use of the
> contents of this information is prohibited and may be punishable by law. If
> you have received this electronic transmission in error, please notify us
> immediately by electronic mail (reply).
>  ------------------------------
> This e-mail may contain identifiable health information that is subject to
> protection under state and federal law. This information is intended to be
> for the use of the individual named above. If you are not the intended
> recipient, be aware that any disclosure, copying, distribution or use of the
> contents of this information is prohibited and may be punishable by law. If
> you have received this electronic transmission in error, please notify us
> immediately by electronic mail (reply).
>
>
> ------------------------------
> This e-mail may contain identifiable health information that is subject to
> protection under state and federal law. This information is intended to be
> for the use of the individual named above. If you are not the intended
> recipient, be aware that any disclosure, copying, distribution or use of the
> contents of this information is prohibited and may be punishable by law. If
> you have received this electronic transmission in error, please notify us
> immediately by electronic mail (reply).
>

Other related posts: