VAMT: The Specified Database Is Not a Valid VAMT Database (and Other VAMT Setup Errors)

VAMT says the specified database is not a valid VAMT database? The account cannot create the SQL database: sign in as local admin or grant SQL rights. Plus the VAMT 3.1 CSVLK error, WMI firewall and x86 PowerShell module fixes.

Home › Guides › VAMT database is not valid

Last updated 23 November 2026

Quick answer

If the Volume Activation Management Tool shows "The specified database is not a valid VAMT database." when you try to create its database, Microsoft (KB 2755159) says the account you signed in with doesn't have permissions to create the database. Sign in to the computer as the local administrator and create the database again. If it still fails, install SQL Server Management Studio and grant yourself the relevant permissions on the SQL Server instance. The KB was written for VAMT 3.0 on Windows 8 and Windows Server 2012; current VAMT (3.1, installed from the Windows ADK) still stores its data in a SQL Server Express or full SQL Server database that it creates from the Database Connection Settings window, so the same permission check applies. Other common VAMT problems: a Windows 10 KMS host key (CSVLK) that VAMT 3.1 won't accept (install it with slmgr.vbs /ipk instead, or add the updated pkconfig file), clients VAMT can't reach (WMI firewall exception, LocalAccountTokenFilterPolicy on workgroup computers) and a VAMT PowerShell module that only loads in x86 PowerShell.

Which VAMT problem do you have?

SymptomCauseFix
The specified database is not a valid VAMT database (creating the database)The signed-in account doesn't have permissions to create the databaseSign in as the local administrator and try again; otherwise grant yourself permissions with SQL Server Management Studio
VAMT 3.1 (version 10.0.10240.0) shows an error when you add a Windows 10 CSVLK or a Windows Server 2012 R2 for Windows 10 CSVLKVAMT 3.1 doesn't contain the correct Pkconfig files to recognize this kind of keyInstall the CSVLK on the KMS host with slmgr.vbs /ipk, or copy pkeyconfig-csvlk.xrm-ms from KB 3058168 into the VAMT3\pkconfig folder and restart VAMT
VAMT can't discover or manage remote computersNo Windows Management Instrumentation (WMI) firewall exception, the exception only allows the local subnet, or UAC blocks remote administration on workgroup computersAllow WMI through Windows Firewall (and widen its scope), create LocalAccountTokenFilterPolicy = 1 on workgroup clients, enable network discovery
Import-Module .\VAMT.psd1 fails on a 64-bit computerVAMT PowerShell cmdlets are only supported for x86Use Windows PowerShell (x86) from C:\Windows\SysWOW64\WindowsPowerShell\v1.0\
No edition shown after opening an old CIL file; no remaining activation count for a key; slow remote operationsKnown VAMT 3.0 and 3.1 issuesUpdate the product status again; counts exist only for MAKs; wake targets from sleep or standby

"The specified database is not a valid VAMT database"

KB 2755159 describes the symptom on a computer running Windows 8 or Windows Server 2012 with VAMT 3.0: you try to create a database and get

The specified database is not a valid VAMT database.

The cause is that the account you use to sign in to the computer doesn't have permissions to create the database. Microsoft's resolution:

  1. Sign in to the computer as the local administrator, then try to create the database again.
  2. If the issue still occurs, install SQL Server Management Studio (the KB names SQL Server 2008 R2 Management Studio Express, SSMSE; current downloads are simply called SQL Server Management Studio, SSMS) and grant yourself the relevant permissions.

Microsoft doesn't list specific SQL Server roles in the KB; it points to the SQL Server security documentation. Also check the privileges VAMT itself needs: Microsoft's install article says VAMT requires local administrator privileges on all managed computers, that you should start VAMT with elevated privileges if you manage the local host without administrator privileges, and that for Active Directory-based activation it works best when you're signed in as a domain administrator. If you need Microsoft support, the KB asks you to collect data with the TSS toolset for deployment-related issues.

Create the VAMT database the supported way

VAMT is installed as part of the Windows Assessment and Deployment Kit (ADK). Microsoft's current requirements for the VAMT host: Windows Server with Desktop Experience, internet access (for the main VAMT console) and all updates applied; the latest Windows ADK; and any supported SQL Server Express version (the latest is recommended) or any supported full SQL Server instance. The network needs WMI (TCP/IP) to the remote computers and HTTPS to the Microsoft Activation Web Service on the internet.

  1. SQL Server Express: run the package, choose the Basic installation type, accept the license terms and the install location. On the Installation Has completed successfully! page, note the INSTANCE NAME; you need it for VAMT.
  2. VAMT: download the latest ADK. If an older ADK is installed, Microsoft recommends uninstalling it first; existing VAMT data is maintained in the VAMT database. In the installer, on Select the features you want to install, select Volume Activation Management Tool (VAMT) and install.
  3. Connect: from the Start menu under Windows Kits, open Volume Activation Management Tool 3.1. The Database Connection Settings window opens. Next to Server: enter the instance name (if SQL Server is remote, use its FQDN), next to Database: enter a name for the database, select Connect and then Yes to create the database.

The database-creation step at the end is where the "not a valid VAMT database" error appears when the account can't create databases on that instance. The VAMT console snap-in ships as an x86 package.

VAMT 3.1 won't accept a Windows 10 KMS host key (CSVLK)

Microsoft's VAMT known issues: when you add a Windows 10 KMS host key (CSVLK), or a Windows Server 2012 R2 for Windows 10 CSVLK, to VAMT 3.1 (version 10.0.10240.0), you get an error, because VAMT 3.1 doesn't contain the correct Pkconfig files to recognize this kind of key. Two workarounds:

Method 1: don't add the CSVLK to VAMT. Install it on the KMS host with Slmgr instead, where <CSVLK> is the key:

slmgr.vbs /ipk <CSVLK>

Method 2: on the KMS host computer:

  1. Download the hotfix from the July 2016 update rollup for Windows 8.1 and Windows Server 2012 R2.
  2. In Windows Explorer, right-click 485392_intl_x64_zip and extract the hotfix to C:\KB3058168.
  3. Extract the update:
    expand c:\KB3058168\Windows8.1-KB3058168-x64.msu -f:* C:\KB3058168\
  4. Extract the pkconfig file from the cab:
    expand c:\KB3058168\Windows8.1-KB3058168-x64.cab -f:pkeyconfig-csvlk.xrm-ms c:\KB3058168
  5. From the C:\KB3058168\x86_microsoft-windows-s..nent-sku-csvlk-pack_31bf3856ad364e35_6.3.9600.17815_none_bd26b4f34d049716 folder, copy pkeyconfig-csvlk.xrm-ms into C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\VAMT3\pkconfig.
  6. Restart VAMT.

If Windows 10 clients then fail against a Windows Server 2012 R2 KMS host with 0xC004F015, see activation errors 0xC004F050, 0xC004F014, 0xC004F00F, 0xC004F035 and 0xC004F015.

VAMT can't reach client computers

Microsoft's client configuration article lists two changes VAMT needs on every client (and suggests putting them in the master Windows image if you use VAMT widely):

Domain clients can get the WMI exception by Group Policy (Computer Configuration > Windows Settings > Security Settings > Windows Firewall with Advanced Security > Inbound Rules), a script or the image. Microsoft notes this opens an additional port and should be done on computers protected by a network firewall.

VAMT PowerShell module: use x86 PowerShell

The VAMT cmdlets do the same work as Vamt.exe, but Microsoft says they're only supported for x86: on a 64-bit computer you must use Windows PowerShell (x86), run as administrator, to import the module.

C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
cd "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\VAMT3"
Import-Module .\VAMT.psd1
get-help get-VamtProduct -examples

Import-Module loads the module only into the current session; add it to a PowerShell profile for all sessions. update-help isn't supported for VAMT cmdlets; use get-help <cmdlet name> -online instead.

Other VAMT known issues and moving VAMT data

To move data between VAMT hosts, use Export list and Import list in the Actions pane; data goes into a .cilx XML file. Microsoft warns that editing a .cilx file with anything other than VAMT can corrupt it. The export option Export proxy activation data only contains only the licensing information the proxy web service needs, with no personally identifiable information.

Related tools and guides

Look up Security-SPP activation events in the Windows Event ID Lookup, copy the slmgr lines from the PowerShell Cheat Sheet, pull error codes out of exported Application logs with the Regex Tester, plan the WMI firewall scope for client subnets with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify network adapters on discovered clients with the MAC Vendor Lookup. Related guides: activation errors 0xC004F050, 0xC004F014, 0xC004F00F and 0xC004F035, KMS activation errors 0xC004F038 and 0xC004F042, ADBA clients not activating and common Windows activation and KMS errors.

VAMT is set up and the clients have no internet access? See VAMT proxy activation and the MAK remaining activation count.

Every Windows activation and KMS error code and event in one place: common Windows activation and KMS errors.

FAQ

What causes The specified database is not a valid VAMT database?

Microsoft (KB 2755159) says the account you signed in with doesn't have permissions to create the database. Sign in as the local administrator and try again, or grant yourself the permissions with SQL Server Management Studio.

Which database does VAMT need?

A SQL Server database: any supported SQL Server Express version (the latest is recommended) or a full SQL Server instance. VAMT creates it from the Database Connection Settings window using the instance name and a database name.

Why can't VAMT 3.1 add my Windows 10 KMS host key?

VAMT 3.1 (10.0.10240.0) lacks the Pkconfig files for that CSVLK. Install the key on the KMS host with slmgr.vbs /ipk, or copy pkeyconfig-csvlk.xrm-ms from KB 3058168 into the VAMT3 pkconfig folder and restart VAMT.

Why can't VAMT reach my client computers?

VAMT uses WMI. Allow Windows Management Instrumentation through the client firewall (the default exception only covers the local subnet) and, on workgroup computers, set LocalAccountTokenFilterPolicy to 1 and enable network discovery.

Why does Import-Module VAMT.psd1 fail?

The VAMT cmdlets are only supported for x86. On a 64-bit computer open Windows PowerShell (x86) as administrator from the SysWOW64 folder, change to the VAMT3 folder and import the module there.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.