Total Updates in WID: 7280


1. Stop-Service WsusService (Validate in Services)
2. Stop Website: WSUS Administration
3. Stop WsusPool
4. Open WID in SSMS(open as Administrator) - Connect to WID Instance: \\.\pipe\MICROSOFT\tsql\query\
5. Detach 'SUSDB' - Choose 'Drop Connections'
6. Copy (SUSDB.mdf & SUSDB_log.ldf ) from the following location to a location in SQL Server (E:\):
	- C:\Windows\WID\Data
***********************************************************************
** Done by SQL Team - CAB **
7. From SQL Server - Attach SUSDB.mdf
***********************************************************************

***********************************************************************
8. Run the ReIndex Script on SUSDB on SQL Server
	https://gallery.technet.microsoft.com/scriptcenter/6f8cde49-5c52-4abd-9820-f1d270ddea61
9. Goto IIS: Start WsusPool / 'WSUS Administration' Website0
10. Start-Service WsusService
11. Remove-WindowsFeature -name UpdateServices-WidDB
12. Add-WindowsFeature -name UpdateServices-DB 
13. Run WsusUtil.exe to point to SQL database: CD "C:\Program Files\Update Services\Tools"
14. .\WsusUtil.exe postinstall SQL_INSTANCE_NAME="PSQL027.ccx.carecentrix.com" CONTENT_DIR="E:\WSUS"
