Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pub:windows_setup_-_oobe [2022/02/23 04:07] – [hk CHT only users] derek | pub:windows_setup_-_oobe [2023/04/05 09:36] (current) – [rename computer, join domain] derek | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | == windows setup - oobe |
| - | ==== windows setup - oobe ==== | + | |
| - | ==== oobe ==== | ||
| - | === win10 home create local account at OOBE === | + | === check hardware info |
| - | * **DO NOT connect to internet** during OOBE | + | |
| - | * if already connected, try restart the computer or turn off the wifi | + | |
| - | * if must login, use '' | + | |
| - | + | ||
| - | === check hardware info === | + | |
| <code powershell> | <code powershell> | ||
| - | Get-CimInstance -ClassName Win32_BIOS | + | Get-CimInstance -ClassName Win32_BIOS |
| - | Get-CimInstance -ClassName Win32_Processor | Select-Object | + | Get-CimInstance -ClassName Win32_Processor | Format-List |
| + | Get-Ciminstance -ClassName " | ||
| + | Get-CimInstance Win32_LogicalDisk | where{$_.DriveType -eq ' | ||
| + | | Select DeviceID, DriveType, | ||
| + | @{N=' | ||
| + | ft -AutoSize | ||
| + | # | ||
| </ | </ | ||
| - | === create local admin user === | ||
| - | Create users / change account name/type | ||
| - | control userpasswords | + | === uninstall vendor bloatware, antivirus, office, etc |
| - | + | ||
| - | Command line add user | + | |
| - | + | ||
| - | net user /add Owner | + | |
| - | net localgroup administrators Owner /add | + | |
| - | + | ||
| - | === uninstall vendor bloatware, antivirus, office, etc === | + | |
| start appwiz.cpl | start appwiz.cpl | ||
| - | === rename computer, join domain | + | === rename computer, join domain |
| SystemPropertiesComputerName.exe | SystemPropertiesComputerName.exe | ||
| start sysdm.cpl | start sysdm.cpl | ||
| + | |||
| + | # Rename-Computer -NewName " | ||
| # Rename-Computer -NewName " | # Rename-Computer -NewName " | ||
| - | rename computer | ||
| - | username-YYYY | + | add domain user to local administrator |
| - | + | ||
| - | add domain user to local | + | |
| control userpasswords2 | control userpasswords2 | ||
| Line 53: | Line 42: | ||
| restart-computer | restart-computer | ||
| - | === connect to server & printers | + | === connect to server & printers |
| - | | + | * map network drive |
| - | * connect printers | + | * connect printers |
| batch file to connect server | batch file to connect server | ||
| Line 66: | Line 55: | ||
| </ | </ | ||
| - | === enable System Protection | + | === enable System Protection |
| SystemPropertiesProtection.exe | SystemPropertiesProtection.exe | ||
| - | === regional | + | ==== regional |
| - | control intl.cpl | ||
| - | control timedate.cpl | ||
| - | control input.dll | ||
| - | == US-only users / Server == | + | === multi-monitor users - set left right position |
| - | + | ||
| - | <code powershell> | + | |
| - | Set-TimeZone -Name "China Standard Time" | + | |
| - | Set-Culture -CultureInfo en-US | + | |
| - | Set-WinSystemLocale -SystemLocale en-US | + | |
| - | Set-WinHomeLocation -GeoId 224 # set location to US | + | |
| - | Set-WinLanguageBarOption | + | |
| - | $UserLanguageList = New-WinUserLanguageList -Language en-US | + | |
| - | Set-WinUserLanguageList -Force -LanguageList $UserLanguageList | + | |
| - | Copy-UserInternationalSettingsToSystem -WelcomeScreen $True -NewUser $True | + | |
| - | # | + | |
| - | </ | + | |
| - | + | ||
| - | == hk EN-only users == | + | |
| - | + | ||
| - | <code powershell> | + | |
| - | Set-TimeZone -Name "China Standard Time" | + | |
| - | Set-Culture -CultureInfo en-HK | + | |
| - | Set-WinSystemLocale -SystemLocale en-US | + | |
| - | Set-WinHomeLocation -GeoId 104 # set location to hk | + | |
| - | Set-WinLanguageBarOption | + | |
| - | $UserLanguageList = New-WinUserLanguageList -Language en-US | + | |
| - | Set-WinUserLanguageList -Force -LanguageList $UserLanguageList | + | |
| - | Copy-UserInternationalSettingsToSystem -WelcomeScreen $True -NewUser $True | + | |
| - | # | + | |
| - | </ | + | |
| - | + | ||
| - | == hk EN+CHT users == | + | |
| - | + | ||
| - | <code powershell> | + | |
| - | Set-TimeZone -Name "China Standard Time" | + | |
| - | Set-Culture -CultureInfo en-HK | + | |
| - | Set-WinSystemLocale -SystemLocale en-HK | + | |
| - | Set-WinHomeLocation -GeoId 104 # set location to hk | + | |
| - | Set-WinLanguageBarOption | + | |
| - | $LangList = New-WinUserLanguageList -Language en-US | + | |
| - | $LangList.Add(" | + | |
| - | $LangList[1].Handwriting = $True | + | |
| - | $LangList[1].InputMethodTips.Clear() | + | |
| - | $LangList[1].InputMethodTips.Add(" | + | |
| - | $LangList[1].InputMethodTips.Add(" | + | |
| - | Set-WinUserLanguageList -Force -LanguageList $LangList | + | |
| - | # | + | |
| - | Restart-Computer | + | |
| - | </ | + | |
| - | + | ||
| - | === hk CHT only users === | + | |
| - | + | ||
| - | <code powershell> | + | |
| - | Set-TimeZone -Name "China Standard Time" | + | |
| - | Set-Culture -CultureInfo en-HK | + | |
| - | Set-WinSystemLocale -SystemLocale zh-HK | + | |
| - | Set-WinHomeLocation -GeoId 104 # set location to hk | + | |
| - | Set-WinLanguageBarOption | + | |
| - | $LanguageList = New-WinUserLanguageList -Language zh-HK | + | |
| - | $LanguageList[0].Handwriting = $True | + | |
| - | $LanguageList[0].InputMethodTips.Clear() | + | |
| - | $LanguageList[0].InputMethodTips.Add(" | + | |
| - | $LanguageList[0].InputMethodTips.Add(" | + | |
| - | Set-WinUserLanguageList -Force -LanguageList $LanguageList | + | |
| - | start-process PowerShell -verb runas Copy-UserInternationalSettingsToSystem -WelcomeScreen $True -NewUser $True | + | |
| - | Restart-Computer | + | |
| - | </ | + | |
| - | === multi-monitor users - set left right position | + | |
| start desk.cpl | start desk.cpl | ||
| - | === keep the model and serial number | + | === keep the model and serial number |
| - | * register warranty after 7 days | + | * register warranty after 7 days |
| - | * take photo to my TG group | + | * take photo to my TG group |