cannot locate drive from command prompt

glasshalffull

Distinguished
Apr 21, 2010
210
0
18,680
from the command prompt I see this:

x:\windows\system32>

if I type in C: , I get this:

"The system cannot find the drive specified."

If i mount this C: drive to another computer, I can see/open this drive as E:

How do I locate the drive from command prompt and change its letter back to C: ?

Windows 10 on this desktop pc is stuck in bootloop which is limiting what I can do.
 
Actulaly if this is the PE Recovery environment then it reassigns your drive letters in the environment only so it will show your C: drive as X: because it makes C: the temporary mount for the PE recovery environment.

Thus your drive letters are not the issue.

Have you tried doing a repair install of windows?
 

glasshalffull

Distinguished
Apr 21, 2010
210
0
18,680


Repair install does not work, after a few minutes it takes me to the advanced troubleshooting page
 

glasshalffull

Distinguished
Apr 21, 2010
210
0
18,680


So I should try Bootrec.exe and use the /FixBoot option?
 

jovcenaum

Distinguished
May 1, 2008
30
0
18,540
There are few useful commands within Diskpart.
First is: list volume. So, what is the list?
Eg. the letter C for Windows partition is not relevant, that partition must be active.
 

glasshalffull

Distinguished
Apr 21, 2010
210
0
18,680


when i type Diskpart> list volume into cmd prompt, nothing happens