User Tools

Site Tools


esxi:windows_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
esxi:windows_server [2020/07/01 16:34]
derek
esxi:windows_server [2024/09/22 19:51] (current)
Line 3: Line 3:
 ====Setup==== ====Setup====
   * Install Windows Server 2019 FIXME   * Install Windows Server 2019 FIXME
 +  * In ESXi:
 +    * 2 Cores, 5GB Memory, 50GB+ Hard disk on an NVME controller
 +    * Add a sound card
  
   * Update & Security > For Developers > Developer mode   * Update & Security > For Developers > Developer mode
Line 10: Line 13:
     * View > Small icons     * View > Small icons
     * Move Recycle Bin to corner     * Move Recycle Bin to corner
 +    * Click on the audio icon on the taskbar and then enable the audio service
     * Pin to taskbar:     * Pin to taskbar:
       * Resource monitor       * Resource monitor
Line 23: Line 27:
  
   * Download [[https://docs.microsoft.com/en-us/sysinternals/downloads/autologon|Sysinternals AutoLogin]] and configure auto login   * Download [[https://docs.microsoft.com/en-us/sysinternals/downloads/autologon|Sysinternals AutoLogin]] and configure auto login
 +  * ''Server Manager'' > ''Manage'' > ''Server Manager Properties'' > Enable ''Do not start Server Manager automatically at logon''
  
 ===Network Drives=== ===Network Drives===
Line 40: Line 45:
  
   * Install [[https://www.apple.com/itunes/download/win64|iTunes Desktop]]:   * Install [[https://www.apple.com/itunes/download/win64|iTunes Desktop]]:
-    * Deselect ''Use iTunes as the default player for audio files'' +      * Deselect ''Use iTunes as the default player for audio files'' 
-    * Deselect ''Automatically update iTunes and other Apple software'' +      * Deselect ''Automatically update iTunes and other Apple software'' 
-    * ''Default iTunes language:'' > ''English (United Kingdom)'' +      * ''Default iTunes language:'' > ''English (United Kingdom)'' 
-    * Install +      * Install 
-    * Agree to restart Windows +      * Agree to restart Windows 
-  * Run iTunes, agree to the licence agreement, agree to sharing details, and then close iTunes +    * Run iTunes, agree to the licence agreement, agree to sharing details, and then close iTunes 
-  * Take a snapshot of the ''Music'' share in XPEnology +    * Take a snapshot of the ''Music'' share in XPEnology 
-  * Delete the ''%USERPROFILE%\Music\iTunes'', and ''%APPDATA%\Apple Computer\MobileSync'' folders +    * Delete the ''%USERPROFILE%\Music\iTunes'', and ''%APPDATA%\Apple Computer\MobileSync'' folders 
-  * Run the following in cmd.exe (Change target locations as needed) +    * Run the following in cmd.exe (Change target locations as needed) 
-    * ''MKLINK /D "%USERPROFILE%\Music\iTunes" "W:\iTunes"'' +      * ''MKLINK /D "%USERPROFILE%\Music\iTunes" "W:\iTunes"'' 
-    * ''MKLINK /D "%APPDATA%\Apple Computer\MobileSync" "Z:\MobileSync"'' +      * ''MKLINK /D "%APPDATA%\Apple Computer\MobileSync" "Z:\MobileSync"'' 
-  * Run iTunes and verify it is using the wanted library +    * Run iTunes and verify it is using the wanted library 
-  * Account > Sign in +    * Account > Sign in 
-  * Open Task Scheduler and add an entry to start iTunes at log on, delayed by 30 seconds+    * Open Task Scheduler and import the [[https://github.com/Archer4499/Configs/blob/master/Server/Windows/Daily%20restart%20iTunes.xml|Daily restart iTunes.xml]] file; which mainly does the following things: 
 +      * Triggers: 
 +        * At log on, delayed by 30 seconds 
 +        * Daily at 12:01PM, delayed up to 30 mins 
 +      * 3 Start a program actions in this order: 
 +        * ''taskkill /im itunes.exe'' (Gracefully shuts iTunes down as long as it's not syncing or a dialog box is up) 
 +        * ''timeout /t 20 /nobreak'' (Waits 20 seconds to make sure it shutdown properly) 
 +        * ''C:\Program Files\iTunes\iTunes.exe'' 
 +      * Conditions: 
 +        * Start the task only if idle for 5 mins 
 +        * Start only if any network connection is available 
 +  * Setup WiFi sync: 
 +    * Connect an iPhone via USB to the server 
 +    * ''ESXi'' > ''Windows Server VM'' > ''Edit'' > ''Add other device'' > ''USB device'' > ''USB Device 1'' > Select ''Apple iPhone'' > ''Save'' 
 +    * Enter your password into the iPhone to Trust the computer 
 +    * ''iTunes'': 
 +      * Navigate to the iPhone > ''Summary'': 
 +        * ''Backups'' > ''Automatically Back up'' > Select ''This Computer'' > Enable ''Encrypt local backup'' 
 +        * ''Stop'' the backup that is automatically started 
 +        * ''Options'': 
 +          * Enable ''Automatically sync when this iPhone is connected'' 
 +          * Enable ''Sync with this iPhone over Wi-Fi'' 
 +        * ''Apply'' 
 +    * iPhone: 
 +      * Disconnect the iPhone's cable 
 +      * ''Settings'' > ''General'' > ''iTunes Wi-Fi Sync'' > ''Start now'' 
 +    * Repeat for any other iPhones/Devices 
 + 
 +  * Install and set up [[esxi:backup_server|Veeam backup]] 
 + 
 +  * Shutdown the VM 
 +  * In ESXI try disabling the ''Lock the guest operating system when the last remote user disconnects'' option for this VM, if this doesn't work try: 
 +  * ''ESXI'' > ''Storage'' > ''Datastore Browser'': 
 +    * Navigate to this VM 
 +    * Download the ''.vmx'' file 
 +    * Edit the file to change ''tools.guest.desktop.autolock = "TRUE"'' to ''= "FALSE"'' 
 +    * Upload the file back to the datastore 
 +  * Start the VM
  
 TODO: TODO:
esxi/windows_server.1593621288.txt.gz · Last modified: 2024/09/22 19:51 (external edit)