Jump to content

Creating Regisrty keys in LocalMachine Using Visual Basic

AgentEddie99

Hi forums,

 

I need some help creating some registry keys in the local machine folder in the registry using the coding language of Visual basic (I know is an old language, but I need to start somewhere). I'm trying to create a key that says "Model" in the OEM Information folder and set the value of that to "Gaming PC" for example. Below is the location of where I want the key to go, the main issue is that the permissions with writing to the local machine because the localmachine is the computer. I would like someone to help me get around the permissions issue.

 

KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation

 

Hope that made some sense?!:(

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×