Door deze site te gebruiken, u gaat akkoord met de Privacybeleid.
Accepteren
OndernemingOndernemingOnderneming
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
    • Azuur
    • Configmgr/sccm
    • DPM
    • Orkestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Lezing: How to Migrate WSUS Database between two SQL Servers
Lettergrootte wijzigenAa
OndernemingOnderneming
Lettergrootte wijzigenAa
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
  • VENSTERS
  • SCCM-queryverzamelingslijst
Zoekopdracht
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
    • Azuur
    • Configmgr/sccm
    • DPM
    • Orkestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
SQL-server

How to Migrate WSUS Database between two SQL Servers

Gepubliceerd: Februari 18, 2024
3 Min. gelezen
DEEL

How to Migrate WSUS Database between two SQL Servers.

Inhoud
Solution 1. You have access to both SQL ServersSolution 2. You have files of WSUS Database

Solution 1. You have access to both SQL Servers

1. Loop Command Prompt as Admin on your server with WSUS Role;

2. Type and execute the next command:

net stop W3SVC && net stop wuauserv && net stop WsusService 

3. Run SQL Server Management Studio on the first (old) SQL-server;

4. Navigate to your WSUS Database (by default SUSDB). Right Click and select Tasks\Detach;

5. Copy your WSUS Database En Logs files to a new location;

6. Run the new SQL Management Studio and Attach copied Database;

7. On your WSUS Server run Registry Editor and change the key:

HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlServerNameStart

8. Change server name from old SQL Server to new;

9. Loop Command Prompt as Admin on your server with WSUS Role;

10. Typ de volgende opdracht:

net start W3SVC && net start wuauserv && net start WsusService

11. Test, by running WSUS Console.

Solution 2. You have files of WSUS Database

In case you can’t access to SQL Server instance with WSUS database with SQL Management Studio, but DB and Logs files are available.

1. Loop Command Prompt as Admin on your server with WSUS Role;

2. Type and execute the next command:

net stop W3SVC && net stop wuauserv && net stop WsusService 

5. Copy your WSUS Database En Logs files to new location;

6. Run SQL Management Studio on the new SQL Server and Attach copied Database;

7. Expand the Security, Right Click on Logins, and then select New Login;

8. Enter NT AUTHORITY\NETWORK SERVICE for the Login Name;

9. Klikken op User Mapping and confirm that the user has the dbo Default Schema granted on the SUSDB Database;

10. Klikken op OK to create the login;

11. Right Click on Logins, and then select New Login;

12. Enter {WSUS Server Name}\WSUS Administrators for the Login Name;

13. Klikken op User Mapping and confirm that the WSUS Administrators Group is granted access to the SUSDB Database;

14. Klikken op OK to create the login;

15. On your WSUS Server run Registry Editor and change key:

HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlServerNameStart

16. Change server name from old SQL Server to new;

17. Loop Command Prompt as Admin on your server with WSUS Role;

18. Typ de volgende opdracht:

net start W3SVC && net start wuauserv && net start WsusService

19. Test, by running WSUS Console.

GETAGD:Opdrachtprompt (CMD)IISMicrosoft SQL ServerMicrosoft Windows-serverWSUS
Vorig artikel Configuration Manager Task Sequence Error Code 0x800705AA
Volgend artikel All OUs in this domain should be protected from accidental deletion
Laat een reactie achter Laat een reactie achter

Laat een antwoord achter Antwoord annuleren

Uw e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd *

Deze site gebruikt Akismet om spam te verminderen. Ontdek hoe uw reactiegegevens worden verwerkt.

Vertaling

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
door Transposh - Vertaalplugin voor Wordpress

Populaire berichten

Systeemvereisten voor Windows Server 2016
Windows-server
Configuration Manager Queryverzamelingslijst
Configuration Manager Queryverzamelingslijst
ConfiguratieMgr
Gestructureerde/beheerde navigatie ingeschakeld op moderne pagina's in klassieke teamsites
Technologie
SCCM Kan DP-locaties niet ophalen als de verwachte versie van MP
ConfiguratieMgr

Recente berichten

Fail2ban installeren en configureren voor SSH-bescherming op Ubuntu 24.04
Linux
FirewallD inschakelen en configureren op AlmaLinux
Linux
Gebruikers aanmaken en SSH-sleutel instellen in AlmaLinux
Linux
Hoe het wachtwoord op AlmaLinux opnieuw in te stellen
Linux

© 2023 Onderneming

Ga naar mobiele versie
Welkom terug!

Log in op uw account

Gebruikersnaam of e-mailadres
Wachtwoord

Wachtwoord vergeten?