Useful Shit
User/Group Manager - lusrmgr.msc
Bypass OOBE - OOBE\BYPASSNRO
Access CMD in OOBE - Shift+F10
Change Hostname/Domain - sysdm.cpl
Add-MailboxFolderPermission -Identity "user@test.com:\Calendar" -User "target@viewer.com" -AccessRights Reviewer
Add printer as admin - rundll32 printui.dll,PrintUIEntry /il
Clear Spooler - del %systemroot%\System32\spool\printers\* /Q
Force Install Windows Update CMD - wuauclt.exe /updatenow
INSTALL OFFICE NO ACCOUNT - Download office deployment tool from MS then use CMD to run: setup.exe /configure configuration-Office365-x64.xml
ADSync: Start-ADSyncSyncCycle -PolicyType Delta
EZ passwords: https://www.dinopass.com/
OneDrive Site User ID Mismatch - https://learn.microsoft.com/en-us/answers/questions/908524/onedrive-site-user-id-mismatch
Debloat Win10 (Powershell): iwr -useb https://git.io/debloat|iex
Force Win10 Pro activate (Disconnect internet):
VK7JG-NPHTM-C97JM-9MPGT-3V66T
Ineo Printer Password: 12345678
Technical chat email: 92ebc27a.pnors.com@apac.teams.ms
Add printer as admin: rundll32 printui.dll,PrintUIEntry /il
Unlock AD User via CMD: NET USER loginname /DOMAIN /ACTIVE:YES
Using AD to Add an Alias to an Office 365 Email Account: https://blog.netwrix.com/2017/02/02/using-ad-to-add-an-alias-to-an-office-three-six-five-email-acco…
chris.brackley@ideasanvil.com - manager of UK team
Assign tickets to Charlie, Cristian and Andrew by setting to assigned - p5 - no time & date
Sync DC's - Repadmin /syncall /AdeP
Restart ScreenConnect (Powershell): Get-Service ScreenConnect* | Restart-Service
Renew IP in 1 command: ipconfig /release && ipconfig /renew
Clear up WinSXS: CMD ADMIN, then dism.exe /online /cleanup-image /startcomponentcleanup /resetbase (takes a long time)
Get HP Product Number via Powershell: Get-WmiObject win32_computersystem | Select-Object SystemSKUNumber
Clear saved credentials file explorer
Open an elevated command prompt and type in:
net use \\server\share /delete
then type in:
klist purge
Shutdown immediately: shutdown /s /t 0
Disable "Try the new Outlook" in Outlook GUI
reg add "HKCU\SOFTWARE\Microsoft\Office\16.0\Outlook\Options\General" /v HideNewOutlookToggle /t REG_DWORD /d 1 /f
Remove from pinned taskbar/start menu:
get-appxpackage *microsoft.OutlookForWindows* | remove-appxpackage
Download link to classic outlook: https://support.microsoft.com/en-au/office/you-can-t-open-classic-outlook-on-a-new-windows-pc-5c949…
connect to exchange online powershell: Connect-ExchangeOnline -UserPrincipalName EMAIL
command to install windows 11 via cmd: setupprep.exe /product server