[windows2000] Re: Reg comand

  • From: "Sorin Srbu" <sorin.srbu@xxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 7 Feb 2006 13:14:25 +0100

windows2000-bounce@xxxxxxxxxxxxx <> wrote on Tuesday, February 07, 2006 1:09
PM:

I run it now as a startup script. What would the difference be if I ran it
as a login script instead? If I added it as a login script, wouldn't it need
the user who was loggin in to be admin or some such in order to add the
HKLM-key?

> Hi Sorin
>
> Could you do the reg file as a logon script instead? I sometimes add
> scripts to run at logon just to upload some registry changes. Just have
> to remember to take them off again at some point.
>
> Cheers
> Dan
>
>
>
> -----Original Message-----
> From: windows2000-bounce@xxxxxxxxxxxxx
> [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Sorin Srbu
> Sent: 07 February 2006 12:06
> To: Windows2000 Mailing List Windows2000 Mailing List
> Subject: [windows2000] Reg comand
>
> Hi all,
>
> I'm trying to deploy the Acrobat v7.0.5 update to our domain using a
> script and a GPO. After the deployment itself, I want to add certain
> registry keys to the computers that have had this update installed. The
> key below is an example (line may be wrapped):
>
> "%programfiles%\tools\reg" add "HKLM\SOFTWARE\Adobe\Acrobat
> Reader\7.0\FeatureLockdown" /v bEFIPrintMe /d 0x00000000 /t REG_DWORD /f
>
> Problem is that I get an error "To many command-line parameters.".
>
> How can it be too long??
>
> The "Tools"-folder on the local computer contains the reg.exe, but I get
> the same error. I also ried running the reg.exe command from the
> dfs-share and get the same error there.
>
> Am I hitting a hard-coded limit on the path-lenght or something here? If
> so, could you suggest any other way to do this?
>
> TIA.
>
>
> BW,
>
> Sorin
>
> # Sorin Srbu, Systems Engineer        Web: http://pharm.orgfarm.uu.se/pc/
> # Dept of Medicinal Chemistry,        Phone: +46 (0)18-4714482 >3 signals> GSM
> # Div of Org Pharm Chem,              Mobile Phone: +46 (0)701-718023
> # Box 574, Uppsala University,        Fax: +46 (0)18-4714474
> # SE-751 23 Uppsala, Sweden   Visit: BMC, Husargatan 3, D5:512b
> #
> # Public PGP key available on request.
> #
> # ()  ASCII ribbon campaign - Against html E-mail # /\ # # Harmless
> tagline follows:
> #
> # Bla bla bla...
>
>
> *****************************
> New Site from The Kenzig Group!
> Windows Vista Links, list options
> and info are available at:
> http://www.VistaPop.com
> *****************************
> To Unsubscribe, set digest or vacation
> mode or view archives use the below link.
>
> http://thethin.net/win2000list.cfm
>
>
>
> Visit the new FDL web - site designed to serve you better-
> http://www.fdl.co.uk This message has been sent from Fuerst Day Lawson Ltd
> and confirms that the email has been scanned and to the best of our
> knowledge is free from virus infection. The unauthorised use, disclosure,
> forwarding or copying of this message and any attachments is strictly
> prohibited. If you have received this message in error, please email
> moderator@xxxxxxxxx This message and any attachments, which are
confidential
> and may be privileged, are for the use of the addressee(s) only. The views
> and opinions expressed in this email message are the author's own and may
> not reflect the views and opinions of Fuerst Day Lawson Ltd.
>
> *****************************
> New Site from The Kenzig Group!
> Windows Vista Links, list options
> and info are available at:
> http://www.VistaPop.com
> *****************************
> To Unsubscribe, set digest or vacation
> mode or view archives use the below link.
>
> http://thethin.net/win2000list.cfm


*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options 
and info are available at:
http://www.VistaPop.com
***************************** 
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: