Home Ubuntu


Windows 11 without secure boot and TPM in Virtual Box.
With multiple remote desktop sessions.

First you need to download a Windows 11 iso and use it to create a bootable USB stick that will bypass secure boot and TPM.
Virtual machines cannot find USB flash drives.
From that USB stick you have to create an ISO without that secure boot and TPM.
You can also burn that custom ISO to a DVD but an ISO itself is enough.


Install Virtual Box

Step 1) Update Package Index

Open the terminal and run following apt command to update package index

$ sudp apt update

Step 2) Configure Oracle VirtualBox Repository

VirtualBox package and its dependencies are available in the default Ubuntu 20.04 package repositories but that VirtualBox will not be the latest one.

So, to install latest VirtualBox, first we must configure official oracle VirtualBox package repository, run following command to import oracle virtualbox public keys

$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Run beneath command configure VirtualBox apt repository

$ echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | sudo tee -a /etc/apt/sources.list.d/virtualbox.list

Step 3) Install latest version of VirtualBox

Execute the following commands to install virtualbox with apt command,

$ sudo apt update
$ sudo apt install -y virtualbox-6.1

install-virtualbox-apt-command

Once VirtualBox and its dependencies are installed successfully then install VirtualBox extension pack.

Use below wget command to download the extension pack file,

$ wget https://download.virtualbox.org/virtualbox/6.1.26/Oracle_VM_VirtualBox_Extension_Pack-6.1.26.vbox-extpack

Use following VBoxManage command to install downloaded extension pack file

$ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.26.vbox-extpack

Above will command will prompt to Accept License terms and conditions, so type Y and hit enter.

Accept-VirtualBox-Extension-Pack-License-Terms-Conditions-Ubuntu

Perfect, above confirms that VirtualBox extension pack has been installed successfully.

Step 5) Access Oracle VirtualBox

Search VirtualBox from search dash and then click on its icon,

Access-VirtualBox-Ubuntu-20-04

Create a folder Win11
In this case on the desktop.


Start Virtualbox

Click on new

Browse to the folder Win11, click in the right uppercorner on open, and choose Version Other Windows.

Select 4500 MB internal memory




For Windows 11 you need minimal 64 GB. Select 75 GB.



Click on settings and left on system 4500 MB OK


Click on processor
The maximum is 8 CPUs
Change 1 in 4 and OK



Click on Start

You can choose to start from a Windows 11 DVD or an ISO

Install Windows 11 Pro (not Home) to avoid having to enter a mail address.

Set up for work or school


Click on Sign-in  Options.


Click on Domain join-Instead

Type Admin or another name.

You have to answer 3 questions
Choose question 1 and answer 1

Question 2 answer 2

Question 3 answer 3



On the VM !!

Type CMD in the searchbox and then ipconfig
You have internet but the ip-range is wrong.
It is 10.10....
Out of the ip-range from your network.

Network is standard NAT.
And than you get an IP adress 10.10.. that is out of the range from your network.
A remote desktop session in your network will not work.
The internet is full of solutions but they are of no use to you.
Searching is a waste of time but some people think they always know better.



The solution is simple.
Shut down the VM


Click on settings and then left on network



Change NAT in Bridged Adapter

Restart the VM

Check IP-adress


On the VM

Download and install 7zip 64 bit.

Dowload the Wrapper with the Windowsupdateshowhide tool, OOSU10 tool, Setup Chrome and Firefox.
In this download you will also find the Wrapper 6.2 with the update for version Windows 10-21H2-Windows 11

Put that file on the desktop
Extract that zip file.
Right mouse button on that file.



Click on Show more options

Click on 7-zip and then on Extract to Extra accounts


Open the downloaded Wrapper folder: 2- RDPWrap-v1.6.2 step 1 (21H1)





Click on install and run as administrator.
Then on update and run as administrator.
It may be that the VM is interrupted.
Click on install and update again as administrator.
Then click on RDPConf.



We have to change the Wrapper.ini File

First you need to give the permissions of the original rdpwrap file to everyone.
Go to C/ Program files/RDP wrapper/ rdpwrap and open the RDP wrap file. That is a notepad textfile

But first giving rights to everyone:

Browse to that folder C/ Program files/RDP wrapper/ rdpwrap and click on it with the right button


Click on Show more options.

Click on properties and then on security




Click on change




Click on advanced

Find now

Select Everyone in the list

OK



OK

Edit

And then full control

Open the original RDP wrap file and  delete the text.
Open the rdpwrap file in the folder that you downloaded.


And copy that text in the original file on C and save.

Restart the VM

Click again on RDPconf.




The wrapper has been modified for Windows 11.
But it may be that after an upgrade it no longer works.
Then you have to look for the latest version.
But you can also hide an upgrade.
For Microsoft it is then delivered and is no longer offered.
According to the information from GitHub, with this version no upgrade of that wrapper would be needed anymore.
More info about hiding

Create extra accounts for multiple remote desktop sessions
Go to control panel or settings and accounts.

Family & other users


Add another user. Add account


Do not have person sign-in information
 

Ad a user without a Microsoft account

Change Standard user to Administrator

Create more users if neccesary.
Sign out and, and then you see the new account(s) in the left under corner.
Log in at every user and complete account.

Activate network discovery
Type sharing in the search box.

Or click right on the network icon and go to network and internet settings



Manage advanced sharing settings


Turn on network discovery
Save changes and check that.
If it jumps back, you have to change 3 settings
Type: services.msc in the searchbox
There must be 3 services on automatic.
Probably they are on manual or disabled
1-
Function Discovery resource
2- SSDP discovery
3- UpNp device host
You have to set them to automatic and start it up.
Then check whether network discovery is on.

Remote Access
Type remote in the searchbox.

Remote desktop settings

Change off in on and confirm


Checklist
1 All necessary accounts have been created with a password.
2 You have logged on to all accounts to complete the desktop installations.
3 Remote desktop is enabled.
4 Network discovery is enabled.
5 The wrapper is listening

Reboot the VM!

Start another computer in the same network.
Type mstsc in the search box.
Typethe  ip adress from the VM.
Connect with username and password.

If the VM is logging off another account then you need to check those wrapper settings.
The accounts should be able to work at the same time.
You can use 1 VM to have multiple accounts working at the same time with other machines.