Dark Developments Where Knowledge Meets Power


WSUS – Move WSUS Database Files to a Different Volume

Posted by Dark#Basics

WSUS - Move WSUS Database Files to a Different Volume

  1. Launch SQL Server Management Studio Express console as an administrator. It is located under Start > Programs > Microsoft SQL Server 2005 > SQL Server Management Studio Express.
  2. Fill in the following information and then click Connect
    • Server type: Database Engine
    • Servername: \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
    • Authentication: Windows Authentication


  3. Expand Databases and right-click on SUSDB and select Tasks > Detach... from the context menu.
  4. clip_image006

  5. Select the "Drop Connection" checkbox and click OK. It is possible that you receive an error message that the database can't be detached. This is because the services IIS Admin Server and Update Services are still running. Make sure that the services are stopped and try to detach the SQL database again.
  6. clip_image008

  7. Open explorer and move the C:\WSUS\SUSDB folder to the <new drive>:\WSUS directory.
  8. To reattach the database, right-click on Database and select Attach… from the context menu.
  9. clip_image010

  10. On the Attach Databases page select the Addbutton.
  11. clip_image012

  12. Browse to the new location of the SUSDB.mdf database and select OK twice to complete the move.




D#B Backup&Recovery Notes [PART4]: WSUS, WDS & TS

Posted by Dark#Basics

Windows Server Update Services (WSUS) provides a software update service for Microsoft Windows operating systems and other Microsoft software. WSUS is a locally managed system that works with the public Microsoft Update website to give system administrators more control. By using Windows Server Update Services, administrators can manage the distribution of Microsoft hotfixes and updates released through Automatic Updates to computers in a corporate environment.

WSUS - Backup
A backup from the configuration can be made from within the CLI. The CLI-tool itself exports all the metadata of the service. It isn't possible to make a backup of the updatefiles, update-approvals and the other settings. If you really want to make a backup of these files it's possible by using the Windows Server Backup-role.

wsusutil.exe export <location>.cab

WSUS - Restore
Recovery of the WSUS-settings can be done with wsusutil, this will load the settings into the service.

wsusutil.exe import <localtion>.cab


Windows Deployment Services is a technology from Microsoft for network-based installation of Windows operating systems. It is the successor to Remote Installation Services. WDS is intended to be used for remotely deploying Windows Vista, Windows 7 and Windows Server 2008, but also supports other operating systems because unlike its predecessor RIS, which was a method of automating the installation process, WDS uses disk imaging, in particular the Windows Imaging Format (WIM). WDS is included as a Server Role in all 32-bit and 64-bit versions of Windows Server 2008, and is included as an optionally installable component with Windows Server 2003 Service Pack 2.

WDS - Backup
Backup of the WDS-settings is not possible with GUI or console. It is possible to preform a backup from the WDS-images with for ex. Robocopy.

WDS - Recovery
Recovery of the images can be done through the Windows Deployement Services Snap-in and choosing the Add Image Group option.

Remote Desktop Service, formerly known as Terminal Services, is one of the components of Microsoft Windows (both server and client versions) that allows a user to access applications and data on a remote computer over a network, using the Remote Desktop Protocol (RDP). Terminal Services is Microsoft's implementation of thin-client terminal server computing, where Windows applications, or even the entire desktop of the computer running terminal services, are made accessible to a remote client machine. The client can either be a fully-fledged computer, running any operating system as long as the terminal services protocol is supported, or a barebone machine powerful enough to support the protocol (such as Windows FLP). With terminal services, only the user interface of an application is presented at the client. Any input to it is redirected over the network to the server, where all application execution takes place. This is in contrast to appstreaming systems, like Microsoft Application Virtualization, in which the applications, while still stored on a centralized server, are streamed to the client on-demand and then executed on the client machine. Microsoft changed the name from Terminal Services to Remote Desktop Services with the release of Windows Server 2008 R2 in October 2009. RemoteFX is being added to Remote Desktop Services as part of Windows Server 2008 R2 SP1.

TS - Backup
Just like WSUS there isn't an available method to export the important data. In case of Terminal Services the important data is the database of the license server. In the license server, as the name says, the lincenses of the published applications are stored.

The best way for Terminal Services is the use of the Windows Server Backup and selecting the System State and the TS Licensing database.

TS - Recovery
When there is a System State backup available with the TS Licensing database it is possible to restore this service with System Recovery or even a Bare Metal recovery.

Source :