WSUS Setup uses Microsoft SQL Server to perform the
installation. This problem occurs because the user who is running WSUS Setup
does not have System Administrator permissions in SQL Server.
To resolve this problem, grant System Administrator
permissions to a user account or to a group account in SQL Server 2000 or in
SQL Server 2005. To do this, use one of the following methods, and then rerun
WSUS Setup.
Note You must have System Administrator permissions to use the
following methods.
Method 1: Grant System Administrator permissions in SQL Server by using the osql utility
To use the osql utility to grant permissions to a new user account
or to a new group account in SQL Server 2000 or in SQL Server 2005, follow
these steps:
Start Notepad, and then copy the following text into
Notepad.
EXEC sp_grantlogin '<ServerName>\<Login>'
Go
EXEC sp_addsrvrolemember '<ServerName>\<Login>', 'sysadmin'
Go
Note If you are granting permissions to an existing user account or
group account, copy the following text into Notepad.
EXEC sp_addsrvrolemember '<ServerName>\<Login>', 'sysadmin'
Go
Replace occurrences of <ServerName> with the name of
your instance of SQL Server.
Replace occurrences of <Login> with the name of the
user account or with the name of the group account.
Save the file as GrantPermission.sql.
Click Start, click Run,
type cmd, and then click OK.
At the command prompt, type the following command, and then
press ENTER.
osql -E -i C:\path\GrantPermission.sql
Note Substitute the correct directory location for
path.
Method 3: Grant System Administrator permissions by using Enterprise Manager in SQL Server 2000
To grant permissions to a new user account or to a new group
account, follow these steps:
Click Start, point to All
Programs, point to Microsoft SQL Server, and then
click Enterprise Manager.
Expand Microsoft SQL Servers, and then
expand SQL Server Group.
Expand (local), and then expand
Security.
Right-click Logins, and then click
New Login.
In the SQL Server Login Properties - New
Login dialog box, click the General Tab, and then
select a domain from the Domain list.
Click Browse, and then select the user
name or the group account name that you want to use from the
Name list.
Click Add, and then click
OK.
Click the Server Roles tab, click to
select the System Administrators check box on the
Server Roles list, and then click
OK.
To grant permissions to an existing user account or to an
existing group account, follow these steps:
Click Start, point to All
Programs, point to Microsoft SQL Server, and then
click Enterprise Manager.
Expand Microsoft SQL Servers, and then
expand SQL Server Group.
Expand (local), and then expand
Security.
Click Logins.
In Logins, double-click the user name or
the group account name that you want to use.
In the SQL Server Login Properties - New
Login dialog box, click the Server Roles tab, click
to select the System Administrators check box on the
Server Roles list, and then click
OK.