Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)1223 359900
E: sales@precedence.co.uk
Linton-StaffLeaving

Jump to CustomersLinton > Linton > StaffLeaving

Staff Leaving

Account changes

  • Disable the user's account
  • Set a reminder to remove the account in 1 month's time
  • Change administrator password
    • Record in the supportal and xemdata

Office365

  • Run AzureAD sync
Invoke-Command -ComputerName AADC -ScriptBlock { Import-Module ADSync; Start-ADSyncSyncCycle -PolicyType Delta }

G-Suite

  • Remove ownership from the Google Project which facilitates user sync
  • Run G-Suite sync
Invoke-Command -ComputerName GADS -ScriptBlock { & 'C:\Program Files\Google Apps Directory Sync\sync-cmd.exe' --config C:\Config\lvc.xml --apply } -ErrorAction SilentlyContinue
  • If getting sync errors, add a -f to the actual sync command to flush the local cache
Invoke-Command -ComputerName GADS -ScriptBlock { & 'C:\Program Files\Google Apps Directory Sync\sync-cmd.exe' --config C:\Config\lvc.xml --apply -f } -ErrorAction SilentlyContinue
  • Check account is disabled at https://gsuite.google.com/. It may not be depending on the sync settings. If this is the case, manually suspend or delete the account.
  • Remove from AD group Access-GoogleApps (the group matched as part of the sync rules)

Fix scheduled tasks for the administrator account:

  • Find them all (I'm sure there is a smarter way than this which would also incorporate changing the password)
for /f "delims=, tokens=2" %x in ('schtasks /query /fo csv /v ^| findstr /i "james.payne linton\\administrator"') do echo %x
  • Ignoring the Author and Start Menu tasks, you get the list of what needs the new administrator password
xencore:
    "\Backup SQL"
pvscore:
    "\Computer Shutdown"
    "\Computer Shutdown (forced)"
    "\PVS Startup"
    "\VDI update"
dc01:
    "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup"
pvs01:
    "\PVS export disks"
sims:
    "\Export for Oliver"
    "\Export PPI report"
    "\Inventory"
    "\MSSQL backup"
    "\MSSQL backup"
gladstone:
    "\MSSQL backup"

Test accounts

  • Change the password for any test accounts
    • teststaff
    • teststudent
    • testuser
  • Record the changes in xemdata and \\resources\itsupport$\Test Accounts.txt

Shared accounts

  • Disable all exam accounts (were all enabled)
  • Disable all visitor accounts (already disabled)
  • Disable invigilator account (has an easy to remember password so the lady who does the POP testing can remember it - she needs to be given a new one)
  • Change password on supply accounts (send them to Alison Miners)

Papercut

  • Check for delegated admin rights on Papercut web interface

Ticketing System

Phone System

  • Everyone is sharing Jackie Bailey's login, so everyone would need to know the new password, or stop using Jackie Bailey's login.

UniFi controllers

© Copyright Precedence Technologies 1999-2025
Page last modified on December 12, 2017, at 10:50 AM by sborrill