Munfaqqiha

RDP Task

Dec 2nd, 2024 (edited)
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.57 KB | None | 0 0
  1. 01. Chromesetup: https://www.geocities.ws/munfaqqiha/etc/Chromesetup.exe
  2. 02. Multiple.reg: https://www.geocities.ws/munfaqqiha/etc/multiple.reg / http://pastebin.com/raw/Up5PxHUT dan ubah poweroption, dsb...
  3. 03. Install VirtIO-Win Drivers: virtio-win-gt-x64.msi & virtio-win-guest-tools.exe
  4. 04. Enable-NetFirewallRule -name RemoteDesktop-UserMode-In-TCP
  5. 05. Remote Desktop Settings: ms-settings:about ...atau pakai yang berikut:
  6.  
  7. Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value "0"
  8. Set-NetFirewallRule -Name "RemoteDesktop-In-TCP-WS" -Enabled True
  9. Get-NetFirewallRule | Where-Object Name -like 'RemoteDesktop*' | Set-NetFirewallRule -Enabled True
  10.  
  11. 06. gpedit.msc: Computer Configuration > Windows Settings > Security Settings > Account Policies > Account Lockout Policy > Account Lockout Threshold
  12. 07. gpedit.msc: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections > Restrict Remote Desktop...
  13. 08. gpedit.msc: Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections > Select network detection on the server: "Use both Connect Time Detect and Continuous Network Detect"
  14. 09. lusrmgr.msc: check "Password Never Expires".
  15.  
  16. ## MULAI: UNTUK WINSERVER ##############################################################################################################################
  17. a. via Server Manager, install & configure features.
  18. b. enable virtualization. check @ task manager
  19.    # C:\> dism /online /enable-feature /featurename:VirtualMachinePlatform /all
  20.    / check perintah.
  21.    # PS C:\> (gcim Win32_ComputerSystem).HypervisorPresent
  22.    # C:\> dism /online /Get-FeatureInfo /featurename:VirtualMachinePlatform
  23.    / check whether virtualization is enabled on Windows VM : bit.ly/497RQN0
  24.    # C:\> wmic cpu get VirtualizationFirmwareEnabled
  25. ## AKHIR: UNTUK WINSERVER ##############################################################################################################################
  26.  
  27. 08. Set-ExecutionPolicy Unrestricted
  28. 09. Invoke-WebRequest -UseBasicParsing https://cloudbase.it/downloads/CloudbaseInitSetup_Stable_x64.msi -OutFile cloudbaseinit.msi ; ./cloudbaseinit.msi
  29. 10. Khusus untuk Win XI:
  30.    # Get-AppxPackage -AllUsers *Microsoft.HEVCVi*
  31.    # Remove-AppxPackage -Package *Microsoft.HEVCVi* -AllUsers
  32.    PS C:\> Get-AppxPackage -AllUsers *Microsoft.HEVCVi* | Remove-AppxPackage
  33.  
  34. ## INFO ################################################################################################################################################
  35.  
  36. // unattend.xml https://pastebin.com/raw/Dz0vMSHL
  37.  
  38. https://ask.cloudbase.it/question/1011/updating-windows-imagesysprep-how-to-rearm-clouldbase-init
  39. // SEBELUM YG DI BAWAH, UBAH POWER OPTION KE HIGH... NONAKTIFKAN LIMIT SLEEP, DSB...
  40. reg delete "HKLM\SOFTWARE\Cloudbase Solutions" /f && reg delete "HKLMSOFTWARE\WOW6432Node\Cloudbase Solutions" /f
  41.  
  42. // #W11: test utk #W11: In the configuration options window, change the following settings:
  43. Username: Administrator
  44. Network adapter to configure: Red Hat VirtIO Ethernet Adapter
  45. Serial port for logging: COM1
  46. When the installation is done, in the Complete the Cloudbase-Init Setup Wizard window, select the Run Sysprep and Shutdown check boxes and click Finish.
  47. Wait for the machine shutdown.
  48.  
  49. // W10 image lite tak bisa driver virtio terbaru, pakelah virtio-win-0.1.215 https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.215-1
  50.  
  51.  
Add Comment
Please, Sign In to add comment