SOLVED

ADK for Windows 11 and ADK for Windows Server 2022: VAMT does not work anymore

%3CLINGO-SUB%20id%3D%22lingo-sub-2719842%22%20slang%3D%22en-US%22%3EADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2719842%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20both%20ADK%20post%202004%20version%20VAMT%203.1%20fails%20to%20connect%20to%20the%20SQL%20instance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20cannot%20connect%20to%20existing%20instance%20of%20SQL%20(2014)%3C%2FP%3E%3CP%3E-%20cannot%20connect%20to%20new%20database%20in%20above%20instance%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWorkaround%3A%3C%2FP%3E%3CP%3Euninstall%20ADK%20Windows%2011%20or%20Server%202022%20and%20install%20ADK%202004.%20Works%20immediately.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWho%20from%20Microsoft%20Team%20can%20help%20to%20triage%20and%20fix%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2719842%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eadk%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EManagement%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2745318%22%20slang%3D%22en-US%22%3ERe%3A%20ADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2745318%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F289393%22%20target%3D%22_blank%22%3E%40K_Wester-Ebbinghaus%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ETHANKS%20!!!%26nbsp%3B%3CBR%20%2F%3EI%20have%20spent%20xx%20hours%20on%20this%20problem%20and%20this%20posting%20probably%20save%20me%20xx%20hours%20more.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2749893%22%20slang%3D%22en-US%22%3ERe%3A%20ADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2749893%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F48787%22%20target%3D%22_blank%22%3E%40Raymond%20Andreassen%3C%2FA%3E%26nbsp%3Byou're%20welcome%20but%20it%20seems%20you%20are%20reporting%20an%20entirely%20different%20issue%20with%20activation.%20I%20said%20that%20the%20Database%20connection%20of%20VAMT%203.x%20does%20not%20work%20anymore.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2752512%22%20slang%3D%22en-US%22%3ERe%3A%20ADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2752512%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F78056%22%20target%3D%22_blank%22%3E%40Michael%20Reinders%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51043%22%20target%3D%22_blank%22%3E%40Mary%20Hoffman%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F48787%22%20target%3D%22_blank%22%3E%40Raymond%20Andreassen%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EHi%20there%20we%20are%20trying%20to%20setup%20Server%202022%20for%20production%20and%20VAMT%203.1%20is%20still%20a%20blocker%3C%2FP%3E%3CP%3EVAMT%203.1%20from%20Windows%202004%20ADK%20cannot%20import%20keys%20generic%20activation%20keys%20for%20Windows%20Server%202022%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EVAMT%203.1%20from%20Server%202022%20or%20Windows%2011%20ADK%20would%20be%20able%20but%20cannot%20open%20any%20database.%20Please%20let%20me%20know%20if%20this%20could%20be%20reproed%20(I%20can%20for%202%20customers)%20and%20you%20can%20bring%20hotfix%20for%20the%20VAMT%20%2F%20ADK%20Win%2011%20%2F%202022%20or%20I%20need%20to%20open%20a%20ticket.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20very%20much%20in%20advance.%20I%20have%20not%20caught%20this%20in%20the%20preview%20as%20there%20was%20no%20need%20for%20centralized%20management%20of%20KMS%20activation%20via%20ADBA.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kwesterebbinghaus_0-1631708914129.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F310567i0AA3446ECCBA3151%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22kwesterebbinghaus_0-1631708914129.png%22%20alt%3D%22kwesterebbinghaus_0-1631708914129.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2767994%22%20slang%3D%22en-US%22%3ERe%3A%20ADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2767994%22%20slang%3D%22en-US%22%3EHi%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20half%20internet%20read%2C%20I%20was%20able%20to%20correct%20this%20error%20with%20the%20instruction%20on%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.reddit.com%2Fr%2Fsysadmin%2Fcomments%2Foypsd8%2Fvamt_database_not_a_valid_vamt_database%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.reddit.com%2Fr%2Fsysadmin%2Fcomments%2Foypsd8%2Fvamt_database_not_a_valid_vamt_database%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20have%20to%20run%20the%20command%20in%20the%20VAMT%20database.%3CBR%20%2F%3E%3CBR%20%2F%3Ealter%20table%20base.GenuineStatusText%20alter%20column%20GenuineStatusText%20nvarchar(255)%20NULL%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2769722%22%20slang%3D%22en-US%22%3ERe%3A%20ADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2769722%22%20slang%3D%22en-US%22%3E%3CP%3EWhile%20this%20is%20no%20official%20solution%2C%20thank%20you%20very%20much%20for%20reporting%20a%20temporary%20workaround.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20hope%20the%20ADK%20team%20will%20bring%20an%20update%20that%20will%20care%20for%20that%2C%20so%20we%20don't%20have%20to%20rely%20on%20this%20manual%20workaround%20comparingly%20to%20the%20Office%202010%20KMS%20setup%2C%20that%20have%20not%20been%20fixed%20to%20support%20Windows%2010%20and%20Server%202016%20and%20later%20in%20the%20cscript%2C%20and%20needs%20manual%20intervention.%20Now%20this%20Office%20is%20out%20of%20support.%20ADK%20is%20not%2C%20so%20I%20have%20still%20some%20hope.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2786995%22%20slang%3D%22en-US%22%3ERe%3A%20ADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2786995%22%20slang%3D%22en-US%22%3E%3CP%3EOur%20Windows%20Server%202022%20Standard%20KMS%20keys%20from%20the%20VLSC%2C%20while%20are%20accepted%20and%20recognized%20by%20VAMT%20after%20doing%20the%20fix%20in%20this%20thread%2C%20still%20will%20not%20commit%20to%20Active%20Directory.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2821806%22%20slang%3D%22en-US%22%3ERe%3A%20ADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2821806%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1167164%22%20target%3D%22_blank%22%3E%40auRiSmith%3C%2FA%3E%26nbsp%3Bwhat%20you%20mean%20by%20do%20not%20commit%20to%20AD%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2821813%22%20slang%3D%22en-US%22%3ERe%3A%20ADK%20for%20Windows%2011%20and%20ADK%20for%20Windows%20Server%202022%3A%20VAMT%20does%20not%20work%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2821813%22%20slang%3D%22en-US%22%3Ecan%20confirm%20this%20works%20thank%20you%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1161264%22%20target%3D%22_blank%22%3E%40PColuna%3C%2FA%3E%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2F%40901C55C1A0F293EE80F6950FC9F5CCBB%2Femoticons%2F1f44d_1f3fb.png%22%20alt%3D%22%3Athumbs_up%3A%22%20title%3D%22%3Athumbs_up%3A%22%20%2F%3E%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2F%40901C55C1A0F293EE80F6950FC9F5CCBB%2Femoticons%2F1f44d_1f3fb.png%22%20alt%3D%22%3Athumbs_up%3A%22%20title%3D%22%3Athumbs_up%3A%22%20%2F%3E%3C%2FLINGO-BODY%3E
Regular Contributor

In both ADK post 2004 version VAMT 3.1 fails to connect to the SQL instance.

 

- cannot connect to existing instance of SQL (2014)

- cannot connect to new database in above instance

 

Workaround:

uninstall ADK Windows 11 or Server 2022 and install ADK 2004. Works immediately. 

 

Who from Microsoft Team can help to triage and fix this?

 

 

20 Replies

@K_Wester-Ebbinghaus 

THANKS !!! 
I have spent xx hours on this problem and this posting probably save me xx hours more. 

 

However, when installed it refuses to accept 2022 key and upgrade ends (of course) with the same error. At least I can serve our current installations, but not 2022. Any info to share with this issue?

@Raymond Andreassen you're welcome but it seems you are reporting an entirely different issue with activation. I said that the Database connection of VAMT 3.x does not work anymore. 

@Michael Reinders @Mary Hoffman  @Raymond Andreassen 


Hi there we are trying to setup Server 2022 for production and VAMT 3.1 is still a blocker

VAMT 3.1 from Windows 2004 ADK cannot import keys generic activation keys for Windows Server 2022

VAMT 3.1 from Server 2022 or Windows 11 ADK would be able but cannot open any database. Please let me know if this could be reproed (I can for 2 customers) and you can bring hotfix for the VAMT / ADK Win 11 / 2022 or I need to open a ticket.

Thank you very much in advance. I have not caught this in the preview as there was no need for centralized management of KMS activation via ADBA.

kwesterebbinghaus_0-1631708914129.png

 

best response confirmed by K_Wester-Ebbinghaus (Regular Contributor)
Solution
Hi

After half internet read, I was able to correct this error with the instruction on 

https://www.reddit.com/r/sysadmin/comments/oypsd8/vamt_database_not_a_valid_vamt_database/



You have to run the command in the VAMT database.

alter table base.GenuineStatusText alter column GenuineStatusText nvarchar(255) NULL

While this is no official solution, thank you very much for reporting a temporary workaround.

I hope the ADK team will bring an update that will care for that, so we don't have to rely on this manual workaround comparingly to the Office 2010 KMS setup, that have not been fixed to support Windows 10 and Server 2016 and later in the cscript, and needs manual intervention. Now this Office is out of support. ADK is not, so I have still some hope.

Our Windows Server 2022 Standard KMS keys from the VLSC, while are accepted and recognized by VAMT after doing the fix in this thread, still will not commit to Active Directory. 

hi @auRiSmith what you mean by do not commit to AD?

can confirm this works thank you @PColuna 👍🏻👍🏻
I'm starting to think not a single on-premise management/deployment tool has been updated for Windows 11 / WS 2022.
MDT is missing new OSes within "Install roles and features" step.
VAMT crashes (but I'm not sure if it has been updated since 2012 R2 tbh).
I need to check MECM for OSD/Bitlocker management features.
do not use VAMT from Windows Server Features, it should be uninstalled and installed via latest ADK. Upgrade is not possible, local or remote DB will be retained.

@Alban1999 

The design decision is intentional to not update any on premises inbox tools in Windows Server.
Example: Server Manager will not have filtering options for 2019 or 2022, even though it is a PowerShell oneliner, very unfortunately.

Print Management console is still missing in context menu in Server Manager,

File Explorer will still miss the VSS config on ReFS volumes on context menu in Explorer. All dev energy flowing into Windows Admin Center.

I hoped that some low hanging fruit regression could have been fixed, and could be still fixed with a CU without breaking anything else.


@Mary Hoffman on the topic do you have any news for an ETA on this VAMT fix? The workaround seems to work, but as I do not understand the DB structure cannot tell if this could be done in a new ADK version or something else needs to be changed. 

if you have the time I would of course appreciate some BI Reports for the other mentioned feature requests and fixed brought up in Insider Dev and repeated here offtopic to Alban.


This is a known issue and is being investigated. I'm sorry, I don't have any further details for you at this time.
Thank you Mary for taking the time to confirm and reply!
I have no problems with not updating on premise tools, if there is a good enough alternative for each feature.
Windows Admin Center is promising but still missing key features from numerous MMC. I do not expect this tool to be able to replace all other management tools until a few years at least (if ever).
I bet for 5 years. And that can be frustrating as neither the old not nor the new Tools are complete or working as intended anymore.

Original install has a "-" in the DB Name. 2022 ADK VAMT won't allow the "-" in the DB Name

The DB issue fix should have been present in Build 22509 which was released to Insiders on 11/24. The VAMT issue is still pending a fix.

Hi @Mary Hoffman thanks for the follow-up. Can we expect the fixes will be released to the GAC of Windows Server 2022 after testing in Insider?

Fixes get validated first in the version that is being actively developed and then backported to released versions and released in one of the upcoming cumulative updates. Since we don't have a fix yet for the entire problem, I can't speak to what that schedule might be.