473,657 Members | 2,572 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Editing the registry on a different partition

2 New Member
Hi everyone,
I am trying to write a program that can make some changes into a windows XP registry. My program works great when it is working on the local registry. What I want to do is to be able to make changes into a registry that resides on another partition or harddrive, not over a network.

Basically, I want to plug in a second hard drive and patch THAT registry without booting off of it. I tried something like this below but clearly this isn't it.
Expand|Select|Wrap|Line Numbers
  1.         Dim regKey As RegistryKey, regSubKey As RegistryKey
  2. regKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "F:\windows")
  3.  
Naturally, "F:\Windows " is not a valid machine name since it is not a network name.

Any ideas? I've hunted around for the last couple of days and I can't find anything like this anywhere. I got LOTs of pages about remote editing and good 'ol registry editing but not like this. Any help you can provide would be REALLY appreciated. Thanks!

I should mention that this is in VB.2005.

Rod

[edited to include version of VB]
Dec 20 '07 #1
2 2038
Dököll
2,364 Recognized Expert Top Contributor
Hi everyone,
I am trying to write a program that can make some changes into a windows XP registry. My program works great when it is working on the local registry. What I want to do is to be able to make changes into a registry that resides on another partition or harddrive, not over a network.

Basically, I want to plug in a second hard drive and patch THAT registry without booting off of it. I tried something like this below but clearly this isn't it.
Expand|Select|Wrap|Line Numbers
  1.         Dim regKey As RegistryKey, regSubKey As RegistryKey
  2. regKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "F:\windows")
  3.  
Naturally, "F:\Windows " is not a valid machine name since it is not a network name.

Any ideas? I've hunted around for the last couple of days and I can't find anything like this anywhere. I got LOTs of pages about remote editing and good 'ol registry editing but not like this. Any help you can provide would be REALLY appreciated. Thanks!

I should mention that this is in VB.2005.

Rod

[edited to include version of VB]
I could not find anything for you good buddy.

Do stay tuned though just in case other experts have some good ideas:-)

In a bit!

Dököll
Dec 21 '07 #2
rodpolako
2 New Member
Dököll,

I don't mean to sound rude, but your response doesn't appear to be helpful at all. What I have seen is that since you have made a reply, my question does not show up under "view unanswered questions" any longer, making the possibility of finding someone who can answer my query even more remote.

I have been browsing this forum for some time now and I have seen some quality posts and replies from others on this forum in the past. This is why I joined this forum and posted this unusual question. I have to say that, so far, I am disappointed with the lack of any response to a valid question while other, off-topic posts are getting a lot of attention (for example: http://www.thescripts. com/forum/thread748199.ht ml)

Is there anyone here able to at least point me in the right direction if an answer is unavailable?

Rod
Dec 24 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
7464
by: sandeep G | last post by:
I've a table which has a number & a blob column, both of which are NOT NULL type. This table is composite partitioned using range & hash on the same column. Each partition is sub partitioned into two. Now if I try to move the partitions to a different tablespace I get an oracle error sayiing that ERROR: ORA_14257 cannot move partition other than a Range or Hash partition Now is there any other way to move the partition to another
3
2466
by: jcgeorge | last post by:
I have a Windows DPF (v8.2.2) environment. 2 Nodes 5 Partitions Server1 - Cat (0) Data (1) Data (2) Server2 - Data (3) Data (4) I want to use block-based IO, but I do not want the same size block area of the bufferpool in each partition, I want a smaller value in the catalog partition - because the bufferpool size is much smaller.
1
2173
by: thomasb | last post by:
When setting up federation between two databases on the same instance everything works fine. When trying to do the same between two databases on different instances on the same machine I get into trouble. SQL1013N The database alias name or database name "UDB" could not be found. SQLSTATE=42705
8
5482
by: Al Kaufman | last post by:
I have a simple console app that uses: regSubKey = <some registry key> Dim reg As RegistryKey = Registry.ClassesRoot.OpenSubKey(regSubKey) Dim path As String path = CStr(reg.GetValue(""))
5
1498
by: Bob Stearns | last post by:
I have a table t1(id, other stuff) with 4 dependent (unrelated) tables ta(id, date, other stuff a), tb(id, date, other stuff b), tc(id, date, other stuff c), td(id, date, other stuff d). Any or all of the dependent tables may have rows associated with a given id from t1. What I would like to do is create a result set with at least 1 row for each row in t1, and with, maximally, the number number of rows the same as the largest number of...
49
66567
by: indiauday | last post by:
Hello friends, I am new user to this community. My problem is when I try to open registry editor by start> run > regedit, it displays this message. "Registry editing has been disabled by your administrator" I logon with administrator administrator account, then why it gives this message. Thank you for reading my post.
5
6505
by: gbngrg | last post by:
I have no idea with what i got infected. But i lost my task manager (got that fixed but), Registry editing has been disabled, run tab and shutdown tab in the start menu is missing. Now even though i get the task manager the shutdown option in that too is disabled or missing. I use a Windows XP SP2 OS. Can anyone help me???
3
4015
by: Rafath | last post by:
Hello iam new to this forum but i hope this will help me in solving the case The error iam getting is "Registry editing has been disabled please contact your system administrator" mines is a standalone computer and there is noh policy mentioned as iam sure of. and also have symantec antivirus software so i think it may be the prob. with the malware infection. would you please kindly guide me how to enable the registry editing again. ...
4
2846
AnuSumesh
by: AnuSumesh | last post by:
Hi, One of our customer has following requirement: When user login to web site, some key should be added to client side registry and when he logs off, then that key should be deleted from registry. I know that editing client side registry is not safe but our client has this requirement. Can anyone please help me how can we edit client registry? Regards,
0
8425
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8326
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8845
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8743
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8622
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5647
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2745
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.