Boot to remote desktop

24,070

Solution 1

well - you can use modified knoppix or other live distro and run rdesktop which is linux client for RDP protocol. remastering live distro was time consuming for me, but it's definitively doable.

info about remastering knoppix: here. and yes, it can boot from an usb pendrive.

your another option is boot over network - with pxe and then nfs - even less costs, and more centralized management.

PS: this looks even beter.

Solution 2

I was researching this today and found 3 solutions that may work:

Solution 3

I really spent a lot of time doing this so finally sharing it so that other people can save some time for themselves. This needs a booted up windows 7 Ent machine.

Steps include the following.

  1. Install ADK 8.1
  2. copype.cmd amd64 f:\temp\work
  3. f:\temp\work>dism /mount-wim /wimfile:F:\temp\work\media\sources\boot.wim /index:1/mountdir:F:\temp\boot (where boot is a the directory where we are mounting the wim file)
  4. Copy the following files from a windows 7 c:\windows\system32, and place it inside mounted wim's c:\windows\system32

mstsc.exe d3d10.dll d3d10_1.dll d3d10_1core.dll d3d10core.dll d3d10level9.dll d3d10warp.dll dxgi.dll msacm.dll msacm32.dll mstscax.dll msacm32.drv

  1. Copy the following files from a windows 7 c:\windows\system32\en-us, and place it inside mounted wim's c:\windows\system32\en-us

en-US\msacm32.dll.mui en-US\msacm32.drv.mui en-US\mstsc.exe.mui en-US\mstscax.dll.mdui

  1. Additionally you can delete bootfix.bin from winpe so that it will not ask you for "to press from CD/DVD, press any key.."

  2. Create a file called as winpeshl.ini and paste following contents in it:

[LaunchApp] AppPath = %SYSTEMDRIVE%\windows\system32\mstsc.exe

save it under c:\windows\system32 of mounted boot.wim

  1. Commit the changes in boot.wim dism /unmount-wim /mountdir:F:\temp\boot /commit

  2. Make a media out of it: makewinpemedia /iso f:\temp\work f:\temp\rdp.iso

  3. Boot a VM from this rdp.iso.

PS: don't try these steps with a windows 8/8.1 machine as somehow it never work.

Solution 4

Also, you can use the Windows AIK to make a WinPE image, copy the MSTSC.exe (et al) files from a Windows 7 computer into the image and use that. It can be PXE booted, live or RAM / CD or USB, installed to a HD.

The required files (relative to %systemroot%\System32) are:

mstsc.exe
d3d10.dll
d3d10_1.dll
d3d10_1core.dll
d3d10core.dll
d3d10level9.dll
d3d10warp.dll
dxgi.dll
msacm.dll
msacm32.dll
mstsax.dll
msacm32.drv
en-US\msacm32.dll.mui
en-US\msacm32.drv.mui
en-US\mstsc.exe.mui
en-US\mstscax.dll.mdui

Note: The reference computer the files are copied from must match the version of WinPE you're creating, 32-bit or 64-bit. 64-bit WinPE has no ability to run 32-bit programs and vice-versa.

You may also want to include setres, a free program to set the resolution from the command line/scripts/etc. The WinPE default is 800x600 with no built-in way to change it.

Share:
24,070

Related videos on Youtube

user41951
Author by

user41951

Updated on September 17, 2022

Comments

  • user41951
    user41951 over 1 year

    I'm trying to find out what existing options there are out there to boot a machine into a remote desktop (RDP). Ideally the user would have a USB key and just plug it into the machine and boot via it establishing an RDP connection to their virtualised enviroment (stored on a server).

    Essentially the anticipated flow will be Power On -> Boot sequence -> Remote Desktop Login screen.

  • user41951
    user41951 almost 14 years
    thinstation looks perfect for the job