Netway Networks

Speed up a computer

clean temp via powershell

$profiles = Get-ChildItem 'C:\Users' | Where-Object {
    $_.PSIsContainer -and
    $_.Name -notin @('All Users', 'Default', 'Default User', 'Public', 'desktop.ini')
}

 

foreach ($profile in $profiles) {
    $tempPath = Join-Path -Path $profile.FullName -ChildPath 'AppData\Local\Temp'
    if (Test-Path $tempPath) {
        try {
            Write-Host "Cleaning: $tempPath"
            Get-ChildItem -Path $tempPath -Recurse -Force -ErrorAction SilentlyContinue | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue
        } catch {
            Write-Warning "Failed to clean: $tempPath - $_"
        }
    }
}

run perfmon /rel

run perfmon /report

run cleanmgr for disk cleanup

sysdm.cpl > advanced > setings > advanced > change virtual memory

image.png

CrowdStrike Alerts

Generic help for the platform and be able to respond to basic alerts

*Escalate to Liam for assistance*

Setting up a New Teams Phone User

Log into https://admin.microsoft.com/AdminPortal/Home#/homepage

Log into https://www.sasboss.com.au/

Austunnel example: 

Momentum software solutions example: (Admin Centre license/group steps are the same)

Return to Admin Centre

Setting up Access4 Phone Extension

General Offboarding

  1. Check for company specific procedures in IT Glue
  2. Log into Microsoft 365 with the client's Netway admin credentials
  3. Admin > Show All > Exchange > Mailboxes
  4. Search for the user
  5. Convert to Shared Mailbox from Regular Type / User Mailbox
  6. Go back to Exchange Admin Centre > Users > Active Users
  7. Search for the user 
  8. Check the sync status
    1. Synced from on premises means they have hybrid AD (one way sync), changes must be made on the ad server
      1. log on to the ad server
      2. disable the account
      3. wait 30 minutes or perform a manual AD sync via PowerShell as admin Start-ADSyncSyncCycle -PolicyType Delta (AD Sync may be installed on another server)
      4. verify sign in disabled in 365 tenant
    2. in cloud means 365 only
  9. Licenses and Apps > Remove licenses (unless inherited from a parent group)
  10. Log into Converge and deduct 1 license quantity
  11. Screenshots to cover yourself
  12. if required, disable VPN account via sonic wall 
    1. log in
    2. device (top) > users (left) > Local users and groups
    3. Search for the user > Delete the user

Shared mailboxes are free permanently

We convert the mailbox to a shared mailbox before removing the license, otherwise the mailbox data will be delete

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

Mailbox Full

See #1666613

New Device Setup

Setup

Access CMD in OOBE: Shift+F10
start ms-cxh:localonly

Create a local account 

Automate commands:

net user Netway lkFfIwCH0acBhN0z!UWIE1Y7 /add

net localgroup administrators Netway /add

C:\Windows\System32>net localgroup administrators Netway /add 
There is no such global user or group: Netway.

More help is available by typing NET HELPMSG 3783.

net user

C:\Windows\System32>net user 

User accounts for \\

-------------------------------------------------------------------------------
Administrator            DefaultAccount           defaultuser0             
Guest                    Vaishali                 WDAGUtilityAccount       
The command completed with one or more errors.

net user Netway /add

C:\Windows\System32>net user Netway /add 
The command completed successfully.

net user Netway lkFfIwCH0acBhN0z!UWIE1Y7

C:\Windows\System32>net user Netway lkFfIwCH0acBhN0z!UWIE1Y7 
The command completed successfully.

net localgroup administrators Netway /add

C:\Windows\System32>net localgroup administrators Netway /add 
The command completed successfully.

C:\Windows\System32>net user Netway lkFfIwCH0acBhN0z!UWIE1Y7 /add 
The password entered is longer than 14 characters.  Computers
with Windows prior to Windows 2000 will not be able to use
this account. Do you want to continue this operation? (Y/N) [Y]: 

Killed after 150000 milliseconds.