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 15:25]
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:=== +
-Install and configure Veeam Backup & Replication Community Edition using an SMB share as the backup destination. +
- +
-  * Sign up for a quick Veeam account at [[https://www.veeam.com/free-signin.html|Veeam]] +
-  * Download [[https://www.veeam.com/downloads.html|Veeam Backup & Replication Community Edition]] +
-  * Mount the installation image using windows or Use ESXi to mount the installation image to the virtual machine. +
-  * Run the Setup.exe file from the ISO. +
-  * 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. +
-  * Read and accept the terms in the license agreement. +
-  * Click next to install the Community Edition. +
-  * 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: +
-  * Run Veeam Backup & Replication. +
-  * In the authentication window, click Connect. +
-  * In the inventory pane of the Backup Infrastructure view, right-click the Managed servers node and select Add Server+
-  * In the Add Server window, click VMware vSphere to launch the New VMware Server wizard. +
-  * At the Name step of the wizard, specify a DNS name or IP address of the server. +
-  * 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. +
- +
-To configure an SMB share backup repository: +
-  * 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. +
- +
- +
-FIXME Setup Email notifications +
  
-Create a Windows Agent Backup Policy (Note: May need to follow [[win:backup]] to allow access to a Windows 10 PC): +===Network Drives=== 
-  * On the Home tab, click the Backup Job button and select Windows Computer to launch the New Backup Job wizard. +  * NoteReplace the ''Arguments'' line in the following with:
-  * At the Job Mode step, in the Type field, select Workstation. +
-  * At the Name step, specify a name and description for the backup job. +
-  * At the Computers step, select the computer whose data you want to back up: +
-    * Click Add > Individual computer. +
-    * In the Add Computer window, in the Host name or IP address field, enter a full DNS name or IP address of the computer that you want to add to the job. +
-    * From the Credentials list, click Add on the right to add credentials for the computer, using the COMPUTER\USER format for the username. +
-  * At the Backup Mode step, select File level backup. +
-  * At the Objects step: +
-    * In the Choose directories to backup list, select the ''The following file system objects'' check box. +
-    * Click Add and type the path into the Add Object window for each of the following folders (Using ''%ProgramFiles%'' or ''%ProgramFiles(x86)%'' depending on the location of WoW and replacing ''<user>'' with the desired user).+
 <code> <code>
-%ProgramFiles%\World of Warcraft\_retail_\Interface +/c "net use W: "\\FileServer\Music" & net use X: "\\FileServer\Software" & net use Y: "\\FileServer\Downloads" & net use Z"\\FileServer\Dereks Backups""
-%ProgramFiles%\World of Warcraft\_retail_\Screenshots +
-%ProgramFiles%\World of Warcraft\_retail_\WTF +
-%ProgramData% +
-%Public%\Desktop +
-C:\Users\<user>+
 </code> </code>
-    * Once the folders have been added, click Advanced. +{{page>win:network_drives#setup&noheader}}
-    * Specify the following exclude masks: +
-<code> +
-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> +
-    * Click Next. +
-  * At the Destination step select Veeam backup repository. +
-  * At the Backup Server step review and change if necessary the name or IP address of the Veeam backup server on which you configure the Veeam Agent backup job. The specified DNS name or IP address must be accessible from Veeam Agent computers. +
-  * At the Storage step: +
-    * From the Backup repository list, select a backup repository where you want to store created backups. +
-    * Set ''Keep backups for'' to 14 days. +
-    * Click Advanced: +
-      * On the Backup tab, select the Create synthetic full backups periodically check box and click Days to schedule synthetic full backups on Friday. +
-      * On the Maintenance tab: +
-        * Select the Perform backup files health check check box  +
-        * Select Weekly on selected days and click Days to schedule the health check on Friday. +
-        * Select the Remove deleted items data after check box and set the number of days to 30. +
-      * In the Storage optimization section, select what type of backup target you plan to use: LAN target or WAN target. +
-  * At the Schedule step: +
-    * Select the ''Daily at'' check box for an appropriate time ''everyday'' +
-    * For the powered off action select ''Backup once powered on'' +
-    * Click Apply. +
-  * Review the settings and click Finish if it is satisfactory.+
  
 +  * Install [[https://www.rarlab.com/download.htm|WinRAR]]:
 +    * Download and open the [[https://www.rarlab.com/themes.htm|48x36 Classic Theme]]
 +    * Copy the licence key file into its install folder
 +    * Settings > Integration > Context menu items:
 +      * Deselect both email options
 +      * Deselect both Open with WinRAR options
 +  * Install [[https://www.sublimetext.com/3|Sublime Text 3]]
  
-Setup Backup Copy Job+  * Install [[https://www.apple.com/itunes/download/win64|iTunes Desktop]]: 
-  * FIXME+      * Deselect ''Use iTunes as the default player for audio files'' 
 +      * Deselect ''Automatically update iTunes and other Apple software'' 
 +      * ''Default iTunes language:'' > ''English (United Kingdom)'' 
 +      * Install 
 +      * Agree to restart Windows 
 +    * Run iTunes, agree to the licence agreement, agree to sharing details, and then close iTunes 
 +    * Take 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 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]]
  
-From: +  * Shutdown the VM 
-  * [[https://helpcenter.veeam.com/evaluation/backup/vsphere/en]] +  * 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
-  * [[https://helpcenter.veeam.com/docs/backup/agents]] +  * ''ESXI'' > ''Storage'' > ''Datastore Browser'': 
-  [[https://helpcenter.veeam.com/docs/backup/vsphere]]+    * 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
 +  Google backup for pictures
   * 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.1572967527.txt.gz · Last modified: 2024/09/22 19:51 (external edit)