Windows Server 2012 R2 iso silent install with Remote Desktop Enabled

9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVER_EVAL_EN-US-IRM_SSS_X64FREE_EN-US_DV5.ISO
Create 10GB fixed image:
vbox-img createbase --filename image1.vhd --size 10240000000 --format VHD --variant Fixed
Create 40GB standart image:
vbox-img createbase --filename image1.vhd --size 40960000000 --format VHD --variant Standard
Reset VirtualBox:
rm -rf ~/VirtualBox\ VMs
rm -rf ~/.config/VirtualBox
Create Windows Server 2012 R2 machine "server2012r2":
vboxmanage createvm --name server2012r2 --ostype Windows2012_64 --register
Set memory for "server2012r2":
vboxmanage modifyvm server2012r2 --memory 768 --vram 27
Create a nat rule to RDP port:
VBoxManage modifyvm server2012r2 --natpf1 "RDP from localhost,tcp,127.0.0.1,3389,,3389"
VBoxManage modifyvm server2012r2 --natpf1 "non-secure LDAP,tcp,127.0.0.1,389,,389"
VBoxManage modifyvm server2012r2 --natpf1 delete "non-secure LDAP"
VBoxManage modifyvm server2012r2 --natpf1 "secure LDAPs,tcp,,636,,636"
Create disk:
VBoxManage createhd --filename ~/VirtualBox\ VMs/server2012r2/server2012r2.vhd --size 40960 --format VHD --variant Standard
Add storage controller:
VBoxManage storagectl server2012r2 --name "SATA Controller" --add sata --bootable on
Add disk to controller:
VBoxManage storageattach server2012r2 --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium ~/VirtualBox\ VMs/server2012r2/server2012r2.vhd
or with vdi:
VBoxManage storageattach server2012r2 --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium ~/VirtualBox\ VMs/server2012r2/server2012r2.vdi
VBoxManage storagectl server2012r2 --name "IDE Controller" --add ide
Add iso:
VBoxManage storageattach server2012r2 --storagectl "IDE Controller" --port 0  --device 0 --type dvddrive --medium ~/iso/next.iso
Shutdown (aggressive):
vboxmanage controlvm server2012r2 poweroff
Start VirtualMachine:
vboxheadless -s server2012r2 & exit
Record video:
vboxheadless -s server2012r2 --capture --width 1024 --height 768 --filename ~/server2012r2.webm  & exit
Connect through RDP:
apt-get install freerdp
xfreerdp /u:'domain\user' /p:'password' /v:x.y.z.q:3389
Related:
https://www.oracle.com/technical-resources/articles/it-infrastructure/admin-manage-vbox-cli.html
https://www.windowsafg.com/server2012r2.html

1 comment:

  1. Windows Server 2012 R2 Iso Silent Install With Remote Desktop Enabled >>>>> Download Now

    >>>>> Download Full

    Windows Server 2012 R2 Iso Silent Install With Remote Desktop Enabled >>>>> Download LINK

    >>>>> Download Now

    Windows Server 2012 R2 Iso Silent Install With Remote Desktop Enabled >>>>> Download Full

    >>>>> Download LINK SZ

    ReplyDelete