PC Review


Reply
Thread Tools Rate Thread

cannot add a value in registry entry, pls help

 
 
QuincyXiang@gmail.com
Guest
Posts: n/a
 
      2nd Jun 2006
Hi,

I just want to add a value to the registry entry via regedit /s, but
always failed and no error msg shown.

my reg file - aa.reg:
=====================================
REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RMIregistry\Parameters]

"Application"="C:\Program Files\Java\jre1.5.0_06\bin\rmiregistry.exe"
======================================

and I fire regedit /s aa.reg, then I checked the registry, it didn't
work, no entry was added.
For testing, I changed my reg file as below:
=====================================
REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RMIregistry\Parameters]

"Application"="C:\Program Files\Java\jre1.5.0_06\bin\rmiregistry.exe"
"Description"="for the use of RMI server registry"
======================================

and run again, this time I found the value "Detecription" is added but
not the "Application", why?
Is the format wrong?
any help is appreciate.

 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      2nd Jun 2006
Change it to;

"Application"="C:\\Program Files\\Java\\jre1.5.0_06\\bin\\rmiregistry.exe"

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

<(E-Mail Removed)> wrote:
| Hi,
|
| I just want to add a value to the registry entry via regedit /s, but
| always failed and no error msg shown.
|
| my reg file - aa.reg:
| =====================================
| REGEDIT4
|
|
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RMIregistry\Parameters]
|
| "Application"="C:\Program Files\Java\jre1.5.0_06\bin\rmiregistry.exe"
| ======================================
|
| and I fire regedit /s aa.reg, then I checked the registry, it didn't
| work, no entry was added.
| For testing, I changed my reg file as below:
| =====================================
| REGEDIT4
|
|
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RMIregistry\Parameters]
|
| "Application"="C:\Program Files\Java\jre1.5.0_06\bin\rmiregistry.exe"
| "Description"="for the use of RMI server registry"
| ======================================
|
| and run again, this time I found the value "Detecription" is added but
| not the "Application", why?
| Is the format wrong?
| any help is appreciate.
|


 
Reply With Quote
 
QuincyXiang@gmail.com
Guest
Posts: n/a
 
      5th Jun 2006
Yes, it works.
Thanks a million, Patrick.


Dave Patrick wrote:
> Change it to;
>
> "Application"="C:\\Program Files\\Java\\jre1.5.0_06\\bin\\rmiregistry.exe"
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> <(E-Mail Removed)> wrote:
> | Hi,
> |
> | I just want to add a value to the registry entry via regedit /s, but
> | always failed and no error msg shown.
> |
> | my reg file - aa.reg:
> | =====================================
> | REGEDIT4
> |
> |
> [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RMIregistry\Parameters]
> |
> | "Application"="C:\Program Files\Java\jre1.5.0_06\bin\rmiregistry.exe"
> | ======================================
> |
> | and I fire regedit /s aa.reg, then I checked the registry, it didn't
> | work, no entry was added.
> | For testing, I changed my reg file as below:
> | =====================================
> | REGEDIT4
> |
> |
> [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RMIregistry\Parameters]
> |
> | "Application"="C:\Program Files\Java\jre1.5.0_06\bin\rmiregistry.exe"
> | "Description"="for the use of RMI server registry"
> | ======================================
> |
> | and run again, this time I found the value "Detecription" is added but
> | not the "Application", why?
> | Is the format wrong?
> | any help is appreciate.
> |


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      5th Jun 2006
You're welcome.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

<(E-Mail Removed)> wrote:
| Yes, it works.
| Thanks a million, Dave.


 
Reply With Quote
 
QuincyXiang@gmail.com
Guest
Posts: n/a
 
      12th Jun 2006
I got another question: can I add a key to the registry via regedit /s?
boz now I can only add or modify value

my reg file:
=====================================
REGEDIT4

"[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MyRMIreg\Parameters]"
"Application"="C:\\Program Files\\Java\\jdk15004\\bin\\rmiregistry.exe"

======================================

There the key Parameters doesn't exist yet, I run this script and the
registry just add a value of "Application" under the entry MyRMIreg,
but what I want is to create a key "Parameters" under the entry
MyRMIreg and then add a value of "Application", any help?

Quincy


Dave Patrick wrote:
> You're welcome.
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> <(E-Mail Removed)> wrote:
> | Yes, it works.
> | Thanks a million, Dave.


 
Reply With Quote
 
QuincyXiang@gmail.com
Guest
Posts: n/a
 
      12th Jun 2006
Resolved already, it's due to the quota mark


(E-Mail Removed) wrote:
> I got another question: can I add a key to the registry via regedit /s?
> boz now I can only add or modify value
>
> my reg file:
> =====================================
> REGEDIT4
>
> "[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MyRMIreg\Parameters]"
> "Application"="C:\\Program Files\\Java\\jdk15004\\bin\\rmiregistry.exe"
>
> ======================================
>
> There the key Parameters doesn't exist yet, I run this script and the
> registry just add a value of "Application" under the entry MyRMIreg,
> but what I want is to create a key "Parameters" under the entry
> MyRMIreg and then add a value of "Application", any help?
>
> Quincy
>
>
> Dave Patrick wrote:
> > You're welcome.
> >
> > --
> >
> > Regards,
> >
> > Dave Patrick ....Please no email replies - reply in newsgroup.
> > Microsoft Certified Professional
> > Microsoft MVP [Windows]
> > http://www.microsoft.com/protect
> >
> > <(E-Mail Removed)> wrote:
> > | Yes, it works.
> > | Thanks a million, Dave.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Registry entry- jwiltsing Windows XP Performance 2 21st Apr 2008 06:44 PM
Registry Entry Run- =?Utf-8?B?Qlc=?= Windows XP General 2 31st Jul 2007 05:12 AM
Registry entry =?Utf-8?B?U2hheg==?= Windows XP Help 2 4th Sep 2006 02:39 AM
registry entry =?Utf-8?B?Smlt?= Windows XP Security 4 13th Jun 2005 02:02 AM
Re: Registry Entry Kevin Mattson Microsoft Windows 2000 Group Policy 0 24th Jul 2003 02:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:45 AM.