Last active
September 7, 2024 23:51
-
-
Save oliviano/10a2d65d7e941042e0b2edca21aba4f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SYSADMIN NOTES # | |
### OVERVIEW ### | |
- Create Unattened Install Aka a "Solution File" ( Pre-set Image with computer name, account name, install options etc..) | |
- Customize Install ( Windows 11 in particular ) with handy dandy PS Tools. | |
- Winget ( Windows builtin package manager to silently install basic packages / software from powershell) | |
- ToDO: Script for Network Config, AE / C4D / Ue Tools & Presets, python ven's etc. | |
## UNATENDED INSTALL ## | |
Use the link to create a xml file, place it anywhere ( root is good ) of the USB disk.\ | |
[WebWizard Unattended Generator ](https://schneegans.de/windows/unattend-generator/) | |
## TWEAK INSTALL / REMOVE BLOAT ## | |
Check out the utility : [Winutil](https://github.com/ChrisTitusTech/winutil) | |
Usage ( run from PowerShell as Admin):\ | |
`irm "https://christitus.com/win" | iex` | |
& Tweak away :) | |
## WINGET ## | |
winget is a great pacakge manager for windows install from: [Microsoft page](https://learn.microsoft.com/en-us/windows/package-manager/winget/)\ | |
Run Power Shell as admin | |
``` | |
winget list | |
winget search packagename | |
winget install -e --id packageID --scope=machine | |
winget install -e --id Python.Python.3.9 --scope machine #Install as all user | |
``` | |
Libraries: https://winget.run/ & https://winstall.app\ | |
Tools: https://winget.pro/ | |
### Install ### | |
- ##### Method via AppStore ##### | |
Install via Microsoft App Store [link](https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget) | |
- ##### Method via AppStore ##### | |
With PS Script [link to winget-install repo](https://github.com/asheroto/winget-install), | |
- Open PowerShell as Administrator and type: | |
``` | |
Install-Script winget-install -Force | |
``` | |
- Use newley installed winget-install to install winget: | |
``` | |
winget-install | |
``` | |
### Use Winget ### | |
#### Examples: #### | |
Basic package list [package list snippet](https://snippets.cacher.io/snippet/26649d3cd15d7969c663) | |
#### Notes ### | |
for `--scope machine` command to work, one need to run powershell as Admin | |
ffmpeg and yt-dl for example are install and linked via: | |
`C:\Program Files\WinGet\Links` | |
# USEFULL COMMANDS # | |
### file as path ### | |
`dir /b /s > myfilename.txt` # recursive(/s) list of files\ | |
`dir /b > myfilename.txt` | |
# SYNOLOGY - ENABLE HYBRID RAID # | |
on XS modeles, hybrid raid is disabled by default.\ | |
-Added tweaks on Cobalt. | |
As per [Reddit](https://www.reddit.com/r/synology/comments/rzyamz/possible_to_enable_shr_on_ds1621xs_on_dsm_7/) & this [post](https://xpenology.club/enable-shr-in-dsm-6/). | |
in `synoinfo.conf` (in `etc.defaults`): | |
`support_syno_hybrid_raid ="yes`\ | |
`supportraidgroup="no"` | |
## Links & other bits ## | |
https://github.com/ChrisTitusTech/winutil | |
https://github.com/memstechtips/UnattendedWinstall | |
https://schneegans.de/windows/unattend-generator/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment