Run Windows’ own licensing check first, because “Invalid OS License” may come from the baccarat application rather than Windows itself.
1. Check Windows’ actual license state
Open Start, type cmd, right-click Command Prompt, select Run as administrator, and run:
slmgr.vbs /dli
slmgr.vbs /xpr
slmgr.vbs /dlv
-
/dlidisplays the current license information. -
/xprreports whether activation is permanent or has an expiration date. -
/dlvdisplays detailed activation information, including the license channel and any error code.^1^
Do not publish the full /dlv output without obscuring identifiers and partial keys.
If Windows reports “Licensed” and permanently activated: Windows activation is not the failing component. Capture the exact baccarat application message and timestamp, then have the application provider or your corporate casino-technology team check its own OS-validation mechanism. An application-generated “Invalid OS License” message cannot be corrected by entering another Windows key.
2. If Windows is not activated
The required action depends on the Description or Product Key Channel shown by /dlv.
Corporate volume or KMS license
If /dlv mentions VOLUME_KMSCLIENT, the computer normally activates through the organization’s Key Management Service (KMS). Send the /dlv result and activation error code to NCLH corporate IT and ask them to confirm that this shipboard computer can reach the corporate activation infrastructure.
After corporate network or VPN connectivity is available, an administrator can request activation with:
slmgr.vbs /ato
slmgr.vbs /dli
/ato initiates activation; for a system with a generic volume license key, it attempts KMS activation.^1^ Volume activation can also be examined through /dlv, Windows licensing events, or the organization’s Volume Activation Management Tool.^2^
Do not buy a personal retail key for a corporate-managed machine unless corporate IT explicitly authorizes it.
OEM or retail license
Windows 7 normally requires its original 25-character key. For a preinstalled copy, inspect the computer case—including beneath the battery on applicable devices—for a Certificate of Authenticity sticker. For a separately purchased copy, check its box or key card. Microsoft advises contacting the computer manufacturer when a preinstalled Windows 7 key is missing.^3^
If neither the organization, manufacturer, nor original purchase records provide a valid license, the existing installation cannot legitimately be activated merely by extracting a key from the system. Windows activation requires a valid product key or applicable license; for a pre-owned machine without the original media and key, Microsoft’s guidance is to obtain a new key or Windows copy.^4^
3. Offline activation when a valid license already exists
Offline activation is useful only when the installed license is legitimate but online activation fails; it does not create or replace a missing license.
- Open Command Prompt and run:
slmgr.vbs /dti - Record the displayed Installation ID.
- On another connected device, open Microsoft’s Product Activation Portal and select Activate a Microsoft Product → Windows → Windows 7.
- Submit the Installation ID to obtain a Confirmation ID.
- On the Windows 7 computer, run:
slmgr.vbs /atp CONFIRMATION-ID-WITHOUT-HYPHENS slmgr.vbs /dli
Microsoft documents this Installation ID/Confirmation ID procedure specifically for Windows 7.^5^
Replacement planning
Windows 7 support ended on January 14, 2020, so it no longer receives standard security updates.^5^ Because this computer runs operational casino software, arrange with corporate IT and the application supplier to validate the application on a supported Windows device before migrating. Preserve the existing machine or make an approved backup until compatibility, peripherals, and application licensing have been tested.
References
- Slmgr.vbs options for obtaining volume activation information
- Monitor activation
- Find your Windows product key | Microsoft Support
- Why can't I activate Windows? | Microsoft Support
- [Windows 7](https://support.microsoft.com/windows/activation/activate-windows-online-or-offline-using-installation-and-confirmation-id)