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
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.
| Symptom | Cause | Fix |
|---|---|---|
| The specified database is not a valid VAMT database (creating the database) | The signed-in account doesn't have permissions to create the database | Sign 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 CSVLK | VAMT 3.1 doesn't contain the correct Pkconfig files to recognize this kind of key | Install 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 computers | No Windows Management Instrumentation (WMI) firewall exception, the exception only allows the local subnet, or UAC blocks remote administration on workgroup computers | Allow 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 computer | VAMT PowerShell cmdlets are only supported for x86 | Use 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 operations | Known VAMT 3.0 and 3.1 issues | Update the product status again; counts exist only for MAKs; wake targets from sleep or standby |
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:
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.
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.
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.
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:
C:\KB3058168.expand c:\KB3058168\Windows8.1-KB3058168-x64.msu -f:* C:\KB3058168\
expand c:\KB3058168\Windows8.1-KB3058168-x64.cab -f:pkeyconfig-csvlk.xrm-ms c:\KB3058168
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.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.
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):
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system create the DWORD LocalAccountTokenFilterPolicy with value data 1. To discover workgroup computers, enable network discovery on each client.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.
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.
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.
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.
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.
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.
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.
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.
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.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.