Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
2000
active_directory
advanced_server
applications
cmdprompt.admin
developer
dns
enable
fax
file_system
games
general
group_policy
hardware
msi
multimedia
netware
networking
new_user
printing
ras_routing
registry
security
setup
setup_deployment
setup_upgrade
termserv.apps
termserv.clients
windows_update
  
 
date: 1 Jun 2006 23:41:08 -0700,    group: microsoft.public.win2000.registry        back       


cannot add a value in registry entry, pls help   
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.
date: 1 Jun 2006 23:41:08 -0700   author:   unknown

Re: cannot add a value in registry entry, pls help   
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

 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.
|
date: Fri, 2 Jun 2006 03:36:38 -0600   author:   Dave Patrick

Re: cannot add a value in registry entry, pls help   
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
>
>  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.
> |
date: 4 Jun 2006 22:41:35 -0700   author:   unknown

Re: cannot add a value in registry entry, pls help   
You're welcome.

-- 

Regards,

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

 wrote:
| Yes, it works.
| Thanks a million, Dave.
date: Mon, 5 Jun 2006 08:08:21 -0600   author:   Dave Patrick

Re: cannot add a value in registry entry, pls help   
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
>
>  wrote:
> | Yes, it works.
> | Thanks a million, Dave.
date: 11 Jun 2006 23:53:54 -0700   author:   unknown

Re: cannot add a value in registry entry, pls help   
Resolved already, it's due to the quota mark :(


QuincyXiang@gmail.com 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
> >
> >  wrote:
> > | Yes, it works.
> > | Thanks a million, Dave.
date: 12 Jun 2006 02:57:17 -0700   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us