[windows2000] Re: Reg comand

  • From: "Schneider, Robert @ ILEX" <Robert.Schneider@xxxxxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 7 Feb 2006 09:19:22 -0500

Sorin,
Sorry for any confusion, the placement of the quotes. See the string I use
below, shows the placement that works for me.
Bob
 
Bob Schneider 
L3 Communications/ILEX Systems 
IAVA Support 
732-530-8444 x3503 
mailto:robert.schneider@xxxxxxxxxx <mailto:robert.schneider@xxxxxxxxxx> 
 
 
 
-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx]On Behalf Of Sorin Srbu
Sent: Tuesday, February 07, 2006 9:13 AM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: Reg comand
 
How do you mean incorrect? They look the same to me. Or do you mean they're
in an incorrect place?
 
 
-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx]On Behalf Of Schneider, Robert @
ILEX
Sent: Tuesday, February 07, 2006 2:22 PM
To: 'windows2000@xxxxxxxxxxxxx'
Subject: [windows2000] Re: Reg comand
Reg command, 
 It looks like the quotes are incorrect. The below batch strings are what I
have been using successfully. 
Check at the command prompt: reg /? Or reg add /? For help. 
I hope this helps.. 
Good luck 
Bob 
----------------------------------------------------------------------------
-------------------------------- 
@echo off 
setlocal 
set PATHTOFILES=%temp%\Project_scripts\Config 
REM *** NoNameReleaseOnDemand Enable ******** 
%PATHTOFILES%\reg add
"HKLM\System\CurrentControlSet\Services\NetBT\Parameters" /v
NoNameReleaseOnDemand /t REG_DWORD /d 1 /f
----------------------------------------------------------------------------
----------------------------------------------------------------
Bob Schneider 
L3 Communications/ILEX Systems 
IAVA Support 
732-530-8444 x3503 
mailto:robert.schneider@xxxxxxxxxx <mailto:robert.schneider@xxxxxxxxxx>  
 
 -----Original Message----- 
From:   windows2000-bounce@xxxxxxxxxxxxx [
mailto:windows2000-bounce@xxxxxxxxxxxxx
<mailto:windows2000-bounce@xxxxxxxxxxxxx> ]  On Behalf Of Sorin Srbu 
Sent:   Tuesday, February 07, 2006 7:06 AM 
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/
<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 <http://www.VistaPop.com>  
***************************** 
To Unsubscribe, set digest or vacation 
mode or view archives use the below link. 
http://thethin.net/win2000list.cfm <http://thethin.net/win2000list.cfm>  

Other related posts: