Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Is it possible to remotely reboot a PC with dual boot and pick OS?

4 Weeks Ago   #1
Basil

Win 7 Pro 64 Bit
 
 
Is it possible to remotely reboot a PC with dual boot and pick OS?

I have a remote PC on my home (wired) network dual booting XP and Win 7 pro. I use Remote Desktop to view the PC from others on this network. Is it possible to reboot the Xp / Win7 PC remotely and choose which OS loads? I suspect not as until it boots into the OS I believe Remote desktop doesn't run. Any workarounds please? Thanks


My System SpecsSystem Spec
.
4 Weeks Ago   #2
samuria

win 8 32 bit
 
 

It is possblebut not simple and needs other software ftp://ftp.wayne.edu/ldp/en/Remote-Bo...te-Boot-3.html
My System SpecsSystem Spec
4 Weeks Ago   #3
johnhoh

Win7 pro x64
 
 

Your dual boot details, including what is the default boot drive, are contained within the Boot Configuration Data File which can be viewed and/or modified with bcdedit.exe which comes with windows.

To do what you are saying just create a batch file and put it on the remote computer. Call it bootOS1.cmd. It will set your boot OS then re-boot into that OS. The batch file should contain two lines, like this:

bcedit /default {identifiercodedetails}
shutdown /r

where the identifier code corresponds to the OS you want to boot. You obtain the identifier code using the bcdedit command (wthout arguments) as shown in this video.

How to set an Operating System as default (bcdedit, Windows) - YouTube.

Make two such batch files, bootOS1.cmd and bootOS2.cmd where they each have one identifier code, the code for the OS you want to boot from next. Then all you have to do is click on one or the other file and it will modify the BCD to change the default boot drive, then do a restart using shutdown /r. I'm assuming you can use teamviewer to remotely click on these batch files. But you don't really need teamviewer because you could just use psexec which is part of pstools

PsTools - Windows Sysinternals | Microsoft Docs

the command to execute on your primary machine to execute the batch file on the remote machine is

psexec \\remotecomputername c:\path\bootOS1.cmd
My System SpecsSystem Spec
.

3 Weeks Ago   #4
Basil

Win 7 Pro 64 Bit
 
 

Thanks, looks a nightmare to a simpleton like myself, I'll run upstairs and reboot manually I think.... I believe I could get myself in a whole heap of grief attempting to add this stuff, but many thanks for the info johnho!
My System SpecsSystem Spec
3 Weeks Ago   #5
johnhoh

Win7 pro x64
 
 

That makes sense, plus the stairs are better for your health. No doubt, repeatedly editing the Boot Configuration Data File using remotely executed batch files is a deep-level hack not advisable for anyone but those willing and able to get way down into the weeds, but when an OP's question reads so much like google search I like to spell out the answer for those others down the road who may want to take on the challenge and will see your question as the first hit of their search.
My System SpecsSystem Spec
Reply

 Is it possible to remotely reboot a PC with dual boot and pick OS?




Thread Tools




Similar help and support threads
Thread Forum
Dual Boot - Windows 7x64 UEFI Install BSOD on Reboot 0x0000007e
Hi all, So I got a new laptop its a Lenovo Y700-15ISK, UEFI Bios. I am trying to get the machine to dual boot Windows 7 and Windows 10. I installed Windows 10 first, no problem. Windows 7x64 is just not working. My windows 10 was a fresh install, slipstreamed updates and drivers from Lenovo...
Installation & Setup
dual boot system (XP & Win 7-64) 7 reboot corrupts disk
Help! I have a dual boot system (XP & Win 7-64) with the Win 7 installed 2nd. I set it up to migrate away from XP. When I reboot the system from Win 7 it restarts and then immediately upon log-on I get a series of errors that the disk is corrupt (most applications trying to load & error 55 in...
General Discussion
Can I change someone's boot sequence remotely?
I live 600 miles aware from my Dad and use TeamViewer to connect and fix issues for him. I want to change his boot sequence to boot from USB stick. Is there a solution?
General Discussion
BIOS lists SATA HD's but won't let me pick them in Boot Order??
My Samsung SATA SSD + 3 HD's list during boot up and show in ASUS BIOS in the Hard Disk Drives boot order, but in the "Boot Device Priority" I do not get an option for my SATA CD-Roms, USB and Floppy. Everything was working fine until I performed a software reboot. Windows 7 64bit, Asus...
General Discussion
How to reboot Windows 7 remotely from RDP Login Screen?
How to reboot Windows 7 remotely from RDP Login Screen? Guys, If I RDP to a system older than Windows 7 OS, the CTRL-ALT-END works on the RDP log in screen to bring up the Windows Security window to reboot. But it doesn't work for Windows 7 system!!!!! I have a Windows 7 Ultimate system...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:30.
Twitter Facebook