PC Review


Reply
Thread Tools Rate Thread

How change a registry key-name from XP-MS-DOS ?

 
 
michelratipho@mail.com
Guest
Posts: n/a
 
      19th Oct 2007
Hi,

How can I change from a ms-dos batch-file the key-name of a 1 registry
entry keeping the value intact. REG.EXE doesn't seem to have a
solution for this.
-----------regdump--------------
.....
"\\DosDevices\\D:"=hex:4c,03,4d,03,00,e0,c5,52,07,00,00,00
"\\DosDevices\\C:"=hex:4c,03,4d,03,00,7e,00,00,00,00,00,00
.....
-------------------------------------------
I need to be able to change D: with C: and C: with D:

PS: For who wants to know why: Using this +altering the
partitionnumber in BOOT.INI I can make a clone copy of the first
partition with SelfImage and boot from it without XP trying to start
the hidden NTFS 1e partition ;-) Off course I need to change it back
after cloning before booting the 1e original XP again...

Thanks.

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      19th Oct 2007
You probably have to do a three-step dance:
1. Extract the two values from the registry and save them.
2. Delete them from the registry.
3. Re-insert them under the new drive letter.

I think your scheme is rather fragile. Sooner or later the
registry will get out of step with boot.ini, which will result
in a looping logon process. A proper boot loader would
be much more robust. Also note that MS-DOS is an
operating system that went out of fashion many years
ago. WinXP has a Command Prompt that bears some
resemblance to MS-DOS but it certainly is not MS-DOS.


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> How can I change from a ms-dos batch-file the key-name of a 1 registry
> entry keeping the value intact. REG.EXE doesn't seem to have a
> solution for this.
> -----------regdump--------------
> ....
> "\\DosDevices\\D:"=hex:4c,03,4d,03,00,e0,c5,52,07,00,00,00
> "\\DosDevices\\C:"=hex:4c,03,4d,03,00,7e,00,00,00,00,00,00
> ....
> -------------------------------------------
> I need to be able to change D: with C: and C: with D:
>
> PS: For who wants to know why: Using this +altering the
> partitionnumber in BOOT.INI I can make a clone copy of the first
> partition with SelfImage and boot from it without XP trying to start
> the hidden NTFS 1e partition ;-) Off course I need to change it back
> after cloning before booting the 1e original XP again...
>
> Thanks.
>



 
Reply With Quote
 
John John
Guest
Posts: n/a
 
      20th Oct 2007
You are dealing with two completely separate and independent registries.
What is in one registry when it is inactive matters nothing at all to
the other active registry. Changes made in Registry A will not make any
difference when you boot and use Registry B and vice-versa.

John

(E-Mail Removed) wrote:

> Hi,
>
> How can I change from a ms-dos batch-file the key-name of a 1 registry
> entry keeping the value intact. REG.EXE doesn't seem to have a
> solution for this.
> -----------regdump--------------
> ....
> "\\DosDevices\\D:"=hex:4c,03,4d,03,00,e0,c5,52,07,00,00,00
> "\\DosDevices\\C:"=hex:4c,03,4d,03,00,7e,00,00,00,00,00,00
> ....
> -------------------------------------------
> I need to be able to change D: with C: and C: with D:
>
> PS: For who wants to know why: Using this +altering the
> partitionnumber in BOOT.INI I can make a clone copy of the first
> partition with SelfImage and boot from it without XP trying to start
> the hidden NTFS 1e partition ;-) Off course I need to change it back
> after cloning before booting the 1e original XP again...
>
> Thanks.
>

 
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 Tip of The Day - How to Change The Windows 2008 Terminal Services Licensing Mode Using The Registry Jon Wallace Microsoft Windows 2000 Registry 0 4th Oct 2008 07:06 PM
Registry Change Not Seen DC Microsoft Windows 2000 Registry Archive 4 23rd Nov 2004 10:03 PM
registry change dpwclk Windows XP Security 1 6th Jul 2004 07:12 AM
Registry change Rajesh_rana@hotmail.com Microsoft Windows 2000 2 18th Mar 2004 01:25 PM
unwanted registry change to change home page Mike L Windows XP Internet Explorer 1 15th Aug 2003 01:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 AM.