nunnik6 Posted February 2, 2008 Share Posted February 2, 2008 Ok, new to the site, so bare with me.... I have seen this subject out there, but I am having trouble. I have gotten a Windows XP Pro disk and I ran recovery with it. Hit r for repair, did not ask for a password, but immediately went to the command page. I then typed in...expand g(my CDROM drive):\i386\vgaoem.fo_c:\windows\system . I then got a "The path or file specified is not valid". I have tried a lot of different things to get this fixed, but now I am running into the statement in the command "access is denied". I got this by getting from c: to g:\i386 (my CDROM drive) and then I type expand g:\i386, etc, etc. Is there a place for a password so I can take care of this problem? or am I doing something wrong? Thanks! Link to comment Share on other sites More sharing options...
Arie Posted February 2, 2008 Share Posted February 2, 2008 When using the repair option you don't have rights to write to your Windows folder if I'm not mistaken. You would need to add a few registry keys first which enable you to use the... ehm, I believe it was the SET command... and then boot to the repair option, make your Windows folder writable and then it should work... But as you might have guessed by my reply, I have never used the repair function myself, instead I prefer to boot from a live CD and restore the file that way. I hope however that my reply will give you a hint in what direction to look. Link to comment Share on other sites More sharing options...
nunnik6 Posted February 2, 2008 Author Share Posted February 2, 2008 Ok, how do you boot from a live CD and repair the file that way? Link to comment Share on other sites More sharing options...
nunnik6 Posted February 2, 2008 Author Share Posted February 2, 2008 Ill tell you what I did.... I started the computer witht he XP CD in the drive.... it started through the CD. It went through it's downloads and the computer brought me to a light blue screen that either asked me if I wanted to download XP, repair/recover, or exit. I pressed "R" and it immediately brought me to a screen the said recovery/repair with a command prompt.I researched on the Internet and found a solution on Microsoft. It told me to type in "expand G(my CDROM drive):\i386\vgaoem.fo_c:\windows\system". I typed this in and it told me that the drive could not be found. Ive tried a few different things. I tried the above line with C:/, but when I try it with G:/, it says "access is denied"Am I doing something wrong? Please let me know! Link to comment Share on other sites More sharing options...
Arie Posted February 4, 2008 Share Posted February 4, 2008 Ok, how do you boot from a live CD and repair the file that way?Extract the file on a different machine and place it on a USB stick for example. Download a live distro such as Knoppix and replace the file. Link to comment Share on other sites More sharing options...
gosh Posted February 4, 2008 Share Posted February 4, 2008 In recovery console if you COPY a file it automatically expands itcopy vgaoem.fo_ c:\windows\system32-gosh Link to comment Share on other sites More sharing options...
nitroshift Posted February 6, 2008 Share Posted February 6, 2008 Actually the correct syntax is:expand g:\i386\vgaoem.fo_ c:\windows\system\vgaoem.fon Link to comment Share on other sites More sharing options...
Mijzelf Posted February 6, 2008 Share Posted February 6, 2008 (edited) In recovery console if you COPY a file it automatically expands itI *think* copy and expand are the same command, internally. Once I tried something likeexpand D:\i386\*.sy_ c:\windows\system32\driversand I got an errormessage: 'Copy does not support wildcards'. Edited February 6, 2008 by Mijzelf Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now