Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System



Reply
 
LinkBack Thread Tools
  #1  
Old 11-24-2009, 08:21 AM
Registered User
 
Join Date: Nov 2009
Posts: 7
squirrel is on a distinguished road
Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent help needed...

Hi,
Please help me...

Out of curiosity I swapped the naming of \DosDevices\C: and \DosDevices\D: at HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices in the registry. After that the drive letters changed (as viewed from ‘My Computer’) but during login in the system via telnet the prompt was showing D:\WINNT\Profiles\Administrator> instead of C:\WINNT\Profiles\Administrator>. Seeing this I reverted back the naming of \DosDevices\C: and \DosDevices\D: at HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices. but after that during login in the system via telnet the prompt was showing G:\WINNT\Profiles\Administrator and at ‘My Computer’ G: was showing to have the disk of C: (disk label and size of C). Then I renamed \DosDevices\G with \DosDevices\C. After that the login problem arose. As soon as I login, the windows show applying your settings, saving your settings and logs off automatically without logging in. I can't even login in safe mood.

Please help me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 11-24-2009, 08:21 AM
  #2  
Old 11-24-2009, 09:00 AM
John John - MVP
Newsgroup Contributor
 
Posts: n/a
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgenthelp needed...

From your remote computer can you access the administrative shares on
the bungled machine? \\ComputerName\c$ or \\ComputerName\d$ , etc?

If yes you can use Regedit to load the remote system hive of the bungled
machine. If you cannot remotely connect to the registry you will have
to mount the disk in another machine or use a PE disk with a registry
editor plug-in to try to fix this.

John

undisclosed wrote:
> Hi,
> Please help me...
>
> Out of curiosity I swapped the naming of \DosDevices\C: and
> \DosDevices\D: at HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices in the
> registry. After that the drive letters changed (as viewed from ‘My
> Computer’) but during login in the system via telnet the prompt was
> showing D:\WINNT\Profiles\Administrator> instead of
> C:\WINNT\Profiles\Administrator>. Seeing this I reverted back the naming
> of \DosDevices\C: and \DosDevices\D: at
> HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices. but after that during login
> in the system via telnet the prompt was showing
> G:\WINNT\Profiles\Administrator and at ‘My Computer’ G: was showing to
> have the disk of C: (disk label and size of C). Then I renamed
> \DosDevices\G with \DosDevices\C. After that the login problem arose. As
> soon as I login, the windows show applying your settings, saving your
> settings and logs off automatically without logging in. I can't even
> login in safe mood.
>
> Please help me
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3  
Old 11-24-2009, 09:00 AM
John John - MVP
Newsgroup Contributor
 
Posts: n/a
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgenthelp needed...

or you can do it the long tortuous way:

http://support.microsoft.com/kb/307545
How to recover from a corrupted registry that prevents Windows XP from
starting

John

John John - MVP wrote:
> From your remote computer can you access the administrative shares on
> the bungled machine? \\ComputerName\c$ or \\ComputerName\d$ , etc?
>
> If yes you can use Regedit to load the remote system hive of the bungled
> machine. If you cannot remotely connect to the registry you will have
> to mount the disk in another machine or use a PE disk with a registry
> editor plug-in to try to fix this.
>
> John
>
> undisclosed wrote:
>> Hi, Please help me...
>>
>> Out of curiosity I swapped the naming of \DosDevices\C: and
>> \DosDevices\D: at HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices in the
>> registry. After that the drive letters changed (as viewed from ‘My
>> Computer’) but during login in the system via telnet the prompt was
>> showing D:\WINNT\Profiles\Administrator> instead of
>> C:\WINNT\Profiles\Administrator>. Seeing this I reverted back the naming
>> of \DosDevices\C: and \DosDevices\D: at
>> HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices. but after that during login
>> in the system via telnet the prompt was showing
>> G:\WINNT\Profiles\Administrator and at ‘My Computer’ G: was showing to
>> have the disk of C: (disk label and size of C). Then I renamed
>> \DosDevices\G with \DosDevices\C. After that the login problem arose. As
>> soon as I login, the windows show applying your settings, saving your
>> settings and logs off automatically without logging in. I can't even
>> login in safe mood.
>> Please help me
>>
>>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4  
Old 11-24-2009, 09:20 AM
Anteaus
Newsgroup Contributor
 
Posts: n/a
RE: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent


Boot from a windows 98 disk and do 'fdisk /mbr'

"undisclosed" wrote:

>
> Hi,
> Please help me...
>
> Out of curiosity I swapped the naming of \DosDevices\C: and
> \DosDevices\D: at HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices in the
> registry. After that the drive letters changed (as viewed from ‘My
> Computer’) but during login in the system via telnet the prompt was
> showing D:\WINNT\Profiles\Administrator> instead of
> C:\WINNT\Profiles\Administrator>. Seeing this I reverted back the naming
> of \DosDevices\C: and \DosDevices\D: at
> HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices. but after that during login
> in the system via telnet the prompt was showing
> G:\WINNT\Profiles\Administrator and at ‘My Computer’ G: was showing to
> have the disk of C: (disk label and size of C). Then I renamed
> \DosDevices\G with \DosDevices\C. After that the login problem arose. As
> soon as I login, the windows show applying your settings, saving your
> settings and logs off automatically without logging in. I can't even
> login in safe mood.
>
> Please help me
>
>
> --
> squirrel
> .
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5  
Old 11-24-2009, 09:30 AM
John John - MVP
Newsgroup Contributor
 
Posts: n/a
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent

A very good idea, that would be one of the easiest way around the problem!

John

Anteaus wrote:
> Boot from a windows 98 disk and do 'fdisk /mbr'
>
> "undisclosed" wrote:
>
>> Hi,
>> Please help me...
>>
>> Out of curiosity I swapped the naming of \DosDevices\C: and
>> \DosDevices\D: at HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices in the
>> registry. After that the drive letters changed (as viewed from ‘My
>> Computer’) but during login in the system via telnet the prompt was
>> showing D:\WINNT\Profiles\Administrator> instead of
>> C:\WINNT\Profiles\Administrator>. Seeing this I reverted back the naming
>> of \DosDevices\C: and \DosDevices\D: at
>> HKEY_LOCAL_MACHINE\\SYSTEM\\MountedDevices. but after that during login
>> in the system via telnet the prompt was showing
>> G:\WINNT\Profiles\Administrator and at ‘My Computer’ G: was showing to
>> have the disk of C: (disk label and size of C). Then I renamed
>> \DosDevices\G with \DosDevices\C. After that the login problem arose. As
>> soon as I login, the windows show applying your settings, saving your
>> settings and logs off automatically without logging in. I can't even
>> login in safe mood.
>>
>> Please help me
>>
>>
>> --
>> squirrel
>> .
>>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6  
Old 11-25-2009, 12:01 AM
Registered User
 
Join Date: Nov 2009
Posts: 7
squirrel is on a distinguished road
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent help needed...

Hi,
Thanks for the reply...
@John: Yes I can access \\ComputerName\d$ but I cannot access \\ComputerName\c$. Also I can load the registry via "connect network registry". What I see after loading the registry is, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon userinit is having address c:\winnt\system32\userinit.exe but in HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices there is no \DosDevices\C: . In my machine C: and D: generally have almost same data with some exceptions.


Please see the snapshots. Please help...

@Anteaus: I don't have any privilege to reinstall or doing any recovery with installation disk. So, it will be a problem. But I have the administrator access.
Please help..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7  
Old 11-25-2009, 12:02 AM
Registered User
 
Join Date: Nov 2009
Posts: 7
squirrel is on a distinguished road
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent help needed...

Also to be specific its a windows server 2003 machine.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8  
Old 11-25-2009, 12:08 AM
Registered User
 
Join Date: Nov 2009
Posts: 7
squirrel is on a distinguished road
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent help needed...

Please see the attachments for the snapshots.
Attached Images
File Type: jpg userinit.JPG (63.9 KB, 0 views)
File Type: jpg mounted_devices.JPG (84.0 KB, 0 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9  
Old 11-25-2009, 06:10 AM
John John - MVP
Newsgroup Contributor
 
Posts: n/a
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgenthelp needed...

We can't see these images without creating an account and logging on to
the site, something that many of us here will not be inclined to do.

John

undisclosed wrote:
> Please see the attachments for the snapshots.
>
>
> +-------------------------------------------------------------------+
> |Filename: mounted_devices.JPG |
> |Download: http://www.technologyquestions.com/t...achmentid=142|
> +-------------------------------------------------------------------+
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10  
Old 11-25-2009, 06:30 AM
John John - MVP
Newsgroup Contributor
 
Posts: n/a
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgenthelp needed...

Save the registry key HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices to an
accessible location, just in case that you might want to restore it and
try different things if this suggested fix doesn't work.

Delete *all* the contents of the
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices key, do not delete the key
itself. *DO* NOT* change the userinit value at the Winlogon key!

Deleting all the entries at the MountedDevices key will force the Mount
Manager to reenumerate all the devices, the first active partition on
the disc will or should be assigned drive letter C: and the system
should boot normally. You will then have to redo your other drive
letters and reassign them to your liking.

John

PS. I don't know what this "PreventCyclicReb..." key is for, might be
perfectly legit but I haven't seen this type of value in the
MountedDevices key before. for my own curiosity what is the full name
of the value?



undisclosed wrote:
> Hi,
> Thanks for the reply...
> @John: Yes I can access \\ComputerName\d$ but I cannot access
> \\ComputerName\c$. Also I can load the registry via "connect network
> registry". What I see after loading the registry is, in
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
> userinit is having address c:\winnt\system32\userinit.exe but in
> HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices there is no \DosDevices\C: . In
> my machine C: and D: generally have almost same data with some
> exceptions.
> [image:
> http://picasaweb.google.com/meowcat0...7635681147874]
> [image:
> http://picasaweb.google.com/meowcat0...7636237192498]
> Please see the snapshots. Please help...
>
> @Anteaus: I don't have any privilege to reinstall or doing any recovery
> with installation disk. So, it will be a problem. But I have the
> administrator access.
> Please help..
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #11  
Old 11-25-2009, 11:15 PM
Registered User
 
Join Date: Nov 2009
Posts: 7
squirrel is on a distinguished road
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent help needed...

Hi,
Thanks a lot for the answers and \\ComputerName\d$ concept. I was able to find a backup of the registry mounted devices in \\ComputerName\d$ (although i saved it previously in c:) and tried to restore with it's information. As \DosDevices\C: and \DosDevices\G: were missing, I just created these two keys with values taking from the backup. The backup was taken after some changes were made in the registry so it was not the backup of the original registry. After that, The system is letting me to login. But the problem that still exists now is that, default prompt in command prompt (or when i'm logging via telnet) is showing D:\WINNT\Profiles\Administrator> instead of C:\WINNT\Profiles\Administrator>. So, I think still I might need to swap the values of C: and D: from mounted devies. But, I was suspicious and thought I would take your suggestions about this.
And, John, I was in a hurry and I got your reply after I have done the changes. I think, I should also try your showed steps of
deleting all the contents of the
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices key. Please suggest me what should I do in such current situation.

And, as you requested, I got this in the registry. Sorry, I don't know what is this for.
Value 30
Name: PreventCyclicReboot
Type: REG_DWORD
Data: 0
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12  
Old 11-26-2009, 07:50 AM
John John - MVP
Newsgroup Contributor
 
Posts: n/a
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgenthelp needed...

Personally I would have deleted all the entries in the MountedDevices
key, this should have done the trick.

*BUT* .... being that this is a server and being that I have no
knowledge of your hard disks and their configurations, and being that I
don't know what the PreventCyclicReboot is for, perhaps we should take a
more cautious approach.

Swap the letters at the \DosDevices\C: and \DosDevices\D: values. To
release the drive letter C assign the \DosDevices\C: another unused
letter, like Z, the letter C will be released and you will then be able
to assign it to the incorrect \DosDevices\D:, after you do this the D
letter will be released and you will then be able to swap it with the Z
letter that you assigned earlier. To save the changes don't forget to
unload the hive after you're done!

John

undisclosed wrote:
> Hi,
> Thanks a lot for the answers and \\ComputerName\d$ concept. I was able
> to find a backup of the registry mounted devices in \\ComputerName\d$
> (although i saved it previously in c:) and tried to restore with it's
> information. As \DosDevices\C: and \DosDevices\G: were missing, I just
> created these two keys with values taking from the backup. The backup
> was taken after some changes were made in the registry so it was not the
> backup of the original registry. After that, The system is letting me to
> login. But the problem that still exists now is that, default prompt in
> command prompt (or when i'm logging via telnet) is showing
> D:\WINNT\Profiles\Administrator> instead of
> C:\WINNT\Profiles\Administrator>. So, I think still I might need to swap
> the values of C: and D: from mounted devies. But, I was suspicious and
> thought I would take your suggestions about this.
> And, John, I was in a hurry and I got your reply after I have done the
> changes. I think, I should also try your showed steps of deleting all
> the contents of the
> HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices key. Please suggest me what
> should I do in such current situation.
>
> And, as you requested, I got this in the registry. Sorry, I don't know
> what is this for.
> Value 30
> Name: PreventCyclicReboot
> Type: REG_DWORD
> Data: 0
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13  
Old 11-26-2009, 02:23 PM
Registered User
 
Join Date: Nov 2009
Posts: 7
squirrel is on a distinguished road
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent help needed...

Hi,
Thanks for the help and patience.
Yes, I have swapped the letters at the \DosDevices\C: and \DosDevices\D: and it worked...
Surely I would try the other process (deleting all entries in mountdevices) in my personal computer ... thanks it is a good learning.

And, would you please tell me why at the very first time when I swapped the naming of \DosDevices\C: and \DosDevices\D: the prompt was showing D:\WINNT\Profiles\Administrator> instead of C:\WINNT\Profiles\Administrator>?... Do I need to change any other parameters in any places or is it normal to show the inverted prompt.
Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #14  
Old 11-26-2009, 07:00 PM
John John - MVP
Newsgroup Contributor
 
Posts: n/a
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgenthelp needed...

You're welcome, thanks for the follow up. I'm not sure why switching
the letters around the first time didn't work. You said that at that
point the system was unexpectedly assigned drive letter G:, I can only
surmise that you probably changed the drive letter on the wrong partition.

If the SET USERPROFILE and SET SYSTEM commands return the expected
information on the C:\ drive you need not change anything else as far as
the operating system and user profiles are concerned. Of course you
will have to see if your other partitions kept their original drive
letters. If the letters of your other partitions are not consistent
with their previous assignment you may have problems with some of your
scripts and drive mappings.

John


undisclosed wrote:
> Hi,
> Thanks for the help and patience.
> Yes, I have swapped the letters at the \DosDevices\C: and
> \DosDevices\D: and it worked...
> Surely I would try the other process (deleting all entries in
> mountdevices) in my personal computer ... thanks it is a good learning.
>
> And, would you please tell me why at the very first time when I swapped
> the naming of \DosDevices\C: and \DosDevices\D: the prompt was showing
> D:\WINNT\Profiles\Administrator> instead of
> C:\WINNT\Profiles\Administrator>?... Do I need to change any other
> parameters in any places or is it normal to show the inverted prompt.
> Thanks.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #15  
Old 11-29-2009, 09:35 AM
Registered User
 
Join Date: Nov 2009
Posts: 7
squirrel is on a distinguished road
Re: Login problem after changing HKLM\\SYSTEM\\MountedDevices.. Urgent help needed...

Hi John,
Sorry, I'm so late to post this reply. I think I have changed the drive letters correctly. Anyway, if the system does not change the default prompt should I change the prompt by these SET USERPROFILE and SET SYSTEM commands or should I go back to original configuration and again take another attempt to change the drive letters?
Thanks a lot.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
urgent help needed mandisb8 Windows Vista 2 09-23-2007 01:40 PM
JPEG wierd problem! Urgent Help Needed! Praneet Windows Media 0 07-21-2007 05:10 AM
URGENT help needed-spyware on system Editor/Peggy Desktop Computers 5 02-06-2007 04:44 PM
URGENT - Help Needed with TOTAL System Restore Desperate Windows XP 5 01-21-2007 12:30 PM
How to find this entry (HKLM\SYSTEM....) Jacky Windows XP 4 01-08-2007 03:00 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 12:40 PM.


2003 - 2010 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0