Share via


boot VM into safe mode

Question

Thursday, May 20, 2010 7:48 PM

Hi all,

Due to some files I can not delete and always show that file is in use, I need to boot the windows 2008 VM to the safe mode to delete these files.  Is there a way to boot the VM into the safe mode?

Thank you.

All replies (7)

Thursday, May 20, 2010 8:31 PM ✅Answered | 1 vote

Hi John,

you can configure this in "msconfig.exe" -> "Boot" -> Check "Safe Mode" and level.

Or you can use bcdedit via command line to set the parameter "/safeboot:minimal" at the end of the OS which you want to boot into safe mode. Do not have the full command handy for now but an "bcdedit /set /?" should help you here....

Hope that helps

Regards

Ramazan

 


Thursday, May 20, 2010 8:33 PM ✅Answered | 1 vote

+ did you had tried F8 immediately after the BIOS has initialized, this should also work.

Regards

Ramazan


Tuesday, February 25, 2014 8:13 PM

That worked for me. My issue is I cant log into VM. No method of CTRL+ALT+DEL (END) will launch the log in screen.


Thursday, May 19, 2016 4:38 AM

Pressing F8 did work for me, but initially the VM booted to fast to accept my keyboard input.

Solved the issue by inserting a boot CD in the host and configuring the VM to boot from the physical CD/DVD drive. The VM was now waiting for keyboard confirmation, so I simply by-passed the CD boot and selected to boot from the hard drive.

When the VM rebooted, I quickly pressed F8 and this time it worked.

(For the record: I used Hiren's boot CD).


Thursday, May 19, 2016 1:43 PM

why not just mount the VM VHD and delete the file


Wednesday, October 26, 2016 1:47 PM

After Restore machine goes to blue screen, as i am aware that need to change network setting in safe mode, but after hyper-v virtual machine start (windows 2008 R2) i try to press F8 without sucess. Let me know any option is there.


Wednesday, October 26, 2016 1:48 PM

After Restore machine goes to blue screen, as i am aware that need to change network setting in safe mode, but after hyper-v virtual machine start (windows 2008 R2) i try to press F8 without sucess. Let me know any option is there.