?
Solved

How to Change Registry Key Value using Java?

Posted on 2003-03-04
13
Medium Priority
?
366 Views
Last Modified: 2008-02-01
Without using regedit manually, using Java Code, I need to change the Registry Key Value . Pls tell me how to do that ?
0
Comment
Question by:subha_chennai_id
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
  • +1
13 Comments
 
LVL 8

Expert Comment

by:tncbbthositg
ID: 8071403
I may be wrong, but I dont think you can change reg-key values on the user machine.  That would be a bad thing.
0
 
LVL 4

Expert Comment

by:swinslow
ID: 8076604
It's VBscript instead of Java ....

http://www.ss64.demon.co.uk/wsh/

0
WatchGuard's M Series Appliances - Miecom Approved

WatchGuard's newest M series appliances were put to the test by Miercom.  We had great results and outperformed all of our competitors in both stateless and stateful traffic throghput scenarios! Ready to see how your UTM appliance stacked up? Download the Miercom Report!

 
LVL 8

Expert Comment

by:tncbbthositg
ID: 8077308
It's still not going to change a clients machine.  That's a security risk.
0
 
LVL 8

Expert Comment

by:tncbbthositg
ID: 8077350
0
 
LVL 17

Expert Comment

by:dorward
ID: 10371555
I would suggest that the points go to me (as all the other comments use different technologies). Its a shame that my references have died in the meantime.
0
 
LVL 4

Expert Comment

by:swinslow
ID: 10373359
I dissagree with dorward. He did not offer any solutions. The links that he has posted are dead links.
However, VBScript will work and the link I posted is live and gives a thorough reference guide on how to do it.

Soren
0
 
LVL 17

Expert Comment

by:dorward
ID: 10373547
(1) What exactly do you disagree about?
(2) There are no solutions to the question
(3) I said they are now dead links
(4) Java and VB Script have nothing whatsoever in common
(5) Solutions using Windows Scripting Host, as far as I know (I could be wrong about this), don't run from the web - and this is the Web Development topic

recommendation: PAQ, no refund.
0
 
LVL 4

Expert Comment

by:swinslow
ID: 10373673
1- I disagree that you didnt even hint to a resolution. But instead left dead links.
2- You are right there are not any "real" solutions posted, but at leat the link I left is live.
3- Yes, you did say that they are now dead. If you can post the code or solution to use. I will gladly conceed to you.
4- Yes, it is true that VBScript and JavaScript are completely different. So if one lanquage will not do the trick, you can use the other.
5- Yes, WSH can be run from the web. I have used it on several ocasions on our intranet to get computer names and user names of the people accessing some of the pages.
0
 
LVL 17

Expert Comment

by:dorward
ID: 10373747
1. Looking at the first URI I posted in the way back machine will prove that I did post a useful solution - however the code samples are not preserved, only the covering text, so it is no longer helpful.
4. JavaScript? Who mentioned JavaScript?

My recommendation standards - PAQ, no refund.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 10463254
PAQed - no points refunded (of 20)

GhostMod
Community Support Moderator
0

Featured Post

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question