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 [2019/11/05 10:07]
derek
esxi:windows_server [2024/09/22 19:51] (current)
Line 1: Line 1:
 =====Windows Server===== =====Windows Server=====
  
 +====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 9: 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
       * Command Prompt       * Command Prompt
-      * Ubuntu 18.04 
       * PowerShell       * PowerShell
       * Registry Editor       * Registry Editor
       * Event Viewer       * Event Viewer
 +      * Server Manager
  
   * Explorer Folder options:   * Explorer Folder options:
Line 21: Line 26:
     * Expand to open folder     * Expand to open folder
  
-  * Install [[https://www.rarlab.com/download.htm|WinRAR]] and classic theme +  * Download [[https://docs.microsoft.com/en-us/sysinternals/downloads/autologon|Sysinternals AutoLogin]] and configure auto login 
-  * Install [[https://www.sublimetext.com/3|Sublime Text 3]]+  * ''Server Manager'' > ''Manage'' > ''Server Manager Properties'' > Enable ''Do not start Server Manager automatically at logon''
  
-===Veeam:=== +===Network Drives=== 
-Install and configure Veeam Backup & Replication Community Edition using an SMB share as the backup destination.+  * Note: Replace the ''Arguments'' line in the following with: 
 +<code> 
 +/c "net use W: "\\FileServer\Music" & net use X: "\\FileServer\Software" & net use Y: "\\FileServer\Downloads" & net use Z: "\\FileServer\Dereks Backups"" 
 +</code> 
 +> {{page>win:network_drives#setup&noheader}}
  
-  * Sign up for a quick Veeam account at [[https://www.veeam.com/free-signin.html|Veeam]] +  * Install [[https://www.rarlab.com/download.htm|WinRAR]]: 
-  * Download [[https://www.veeam.com/downloads.html|Veeam Backup & Replication Community Edition]] +    * Download and open the [[https://www.rarlab.com/themes.htm|48x36 Classic Theme]] 
-  Mount the installation image using windows or Use ESXi to mount the installation image to the virtual machine. +    Copy the licence key file into its install folder 
-  * Run the Setup.exe file from the ISO. +    Settings > Integration > Context menu items: 
-  On the splash screen, click the Install tile on the left to launch the Veeam Backup & Replication setup wizard. Alternatively, you can click the Veeam Backup & Replication tile on the right. +      Deselect both email options 
-  Read and accept the terms in the license agreement. +      Deselect both Open with WinRAR options 
-  Click next to install the Community Edition. +  * Install [[https://www.sublimetext.com/3|Sublime Text 3]]
-  * At the Program Features step of the wizard, keep the default settings. +
-  * At the System Configuration Check step of the wizard, install missing software components and enable missing features, if any. +
-  * At the Default Configuration step of the wizard, specify if you want to use default installation settings or specify installation settings on your own. If you have chosen to use default installations settings, click Install to begin installation. +
-  * Click Finish to close the wizard. +
-  * Close the setup window.+
  
-Connect the ESX(i) host that will be used as the source and the target for backup and replication+  * Install [[https://www.apple.com/itunes/download/win64|iTunes Desktop]]: 
-  Run Veeam Backup & Replication. +      * Deselect ''Use iTunes as the default player for audio files'' 
-  In the authentication windowclick Connect. +      * Deselect ''Automatically update iTunes and other Apple software'' 
-  In the inventory pane of the Backup Infrastructure view, right-click the Managed servers node and select Add Server+      * ''Default iTunes language:'' > ''English (United Kingdom)'' 
-  In the Add Server window, click VMware vSphere to launch the New VMware Server wizard+      Install 
-  * At the Name step of the wizardspecify DNS name or IP address of the server+      Agree to restart Windows 
-  At the Credentials step of the wizard, specify credentials for the user account with administrator permissions to the added server: click Add on the right of the Credentials field and specify the user name and password to connect to the added server. Click OK, then Finish.+    * Run iTunes, agree to the licence agreementagree to sharing details, and then close iTunes 
 +    Take a snapshot of the ''Music'' share in XPEnology 
 +    * Delete the ''%USERPROFILE%\Music\iTunes'', and ''%APPDATA%\Apple Computer\MobileSync'' folders 
 +    * Run the following in cmd.exe (Change target locations as needed) 
 +      ''MKLINK /D "%USERPROFILE%\Music\iTunes" "W:\iTunes"'' 
 +      * ''MKLINK /D "%APPDATA%\Apple Computer\MobileSync" "Z:\MobileSync"'' 
 +    * Run iTunes and verify it is using the wanted library 
 +    * Account > Sign in 
 +    * 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 ondelayed by 30 seconds 
 +        * Daily at 12:01PM, delayed up to 30 mins 
 +      * 3 Start 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
  
-To configure an SMB share backup repository: +  Install and set up [[esxi:backup_server|Veeam backup]]
-  Open the Backup Infrastructure view. +
-  * Right-click the Backup Repositories node in the inventory pane and select Add Backup Repository to launch the New Backup Repository wizard. +
-  * Select Network attached storage. +
-  * At the Name step of the wizard, specify a name for the added backup repository. +
-  * At the Type step of the wizard, select Shared folder. +
-  * Specify a UNC path to the shared folder that will be used as a backup repository and enter credentials of an account with administrative privileges on the share. +
-  * At the Repository step of the wizard, click next. +
-  * Click Populate to see how much space is available on the backup repository. +
-  * Follow next steps of the wizard. At the last step of the wizard, click Finish.+
  
-Create a Windows Agent Backup Policy+  * 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
  
-<code> +TODO
-+"C:\Program Files\World of Warcraft\_retail_\Interface" +  Google backup for pictures
-+"C:\Program Files\World of Warcraft\_retail_\Screenshots" +
-+"C:\Program Files\World of Warcraft\_retail_\WTF" +
-+"\%ProgramData%" +
-+"C:\Users\Public\Desktop" +
-+"C:\Users\<user>" +
--"C:\Users\<user>\AppData\Local\Temp" +
--"C:\Users\<user>\AppData\Local\Google\Chrome\User Data\Default\Cache" +
--"C:\Users\<user>\AppData\Local\CrashDumps" +
--"\%ProgramData%\Microsoft\Network\Downloader" +
--"\%ProgramData%\Microsoft\Search\Data" +
--"\%ProgramData%\Microsoft\Windows Defender" +
--"\%ProgramData%\Microsoft\Windows\WER" +
--".tmp" +
--".temp" +
-</code> +
- +
-From [[https://helpcenter.veeam.com/evaluation/backup/vsphere/en/getting_started.html]] +
- +
-**TODO**+
   * Install/copy win only utilities   * Install/copy win only utilities
   * WSL?   * WSL?
-  * Possibly map other desired shares 
   * Bulk Rename Utility   * Bulk Rename Utility
   * Install [[https://codecguide.com/download_other.htm#mediainfo|MediaInfo Lite]]   * Install [[https://codecguide.com/download_other.htm#mediainfo|MediaInfo Lite]]
   * Install [[https://www.dbpoweramp.com/dmc.htm|dBpoweramp Music Converter]]   * Install [[https://www.dbpoweramp.com/dmc.htm|dBpoweramp Music Converter]]
   * Install [[https://www.dbpoweramp.com/codec-central-utility.htm|Replay Gain Codec]]   * Install [[https://www.dbpoweramp.com/codec-central-utility.htm|Replay Gain Codec]]
-  * Install [[https://www.fosshub.com/Avidemux.html|Avidemux Win64 Installer]] 
-    * Paste saved config files to ''%APPDATA%\avidemux\'' 
  
 +====Update====
 +  * FIXME
 +  * Install Windows Updates
 +  * Update iTunes
 +  * Veeam:{{page>esxi:backup_server#Update&noheader&inline}}
  
-===Ports:===+ 
 +====Ports====
 <code> <code>
 433/TCP Windows Admin Center 433/TCP Windows Admin Center
-?? Veeam +</code>
-<\code>+
esxi/windows_server.1572948452.txt.gz · Last modified: 2024/09/22 19:51 (external edit)