Adding a Windows 8/2012 KMS key to a 2008 R2 KMS server.

Hello,
I have my KMS keys for Windows 8/2012.  Can these be added to a 2008 R2 KMS server or is there a document that details this?
Shawn

yes, There is a separate hotfix for Win 8.1 and 2012 R2.
kb#2885698
I have been successful install the hotfix, rebooting, and then adding the 2012 r2 key. I am still unsuccessful adding the windows 8/8.1 keys. Receiving the error: 
kb#2752119
which tells me that it doesn't like the hotfix... but you can give it a shot! 
Other forums say that that the 2012 r2 key will activation windows 8.1, but i am still unsuccessful in activating my workstation.
The WS2012R2 KMShost product key *will* successfully issue activations for Win8.1, but note that you must have 25 KMSclients communicating to a KMShost, for a "Client" OS edition to KMS-activate.
You cannot install the Win8.1 KMShost product key on a Windows Server OS - you must use the Windows Server KMShost product key if your KMShost OS is Windows Server.
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Similar Messages

  • Server 2012 R2 cannot update from 2008 R2 WSUS server

    Our WSUS server is on a 2008 R2 VM.  Updates for all 2008 R2 and lower servers, and Windows 7 clients work fine.  I have one Server 2012 R2 in production and it cannot check for updates.  It gets 800b0001 as the error code.  I can
    click on check for updates from Microsoft, then it does reach out to the Internet, download and install updates.
    I also tried from my Win 8.1 laptop and I get error 8024402C.  Any idea's?

    I found in another thread the fix.
    In regedit go to HKLM\Software\Microsoft\Update Services\Server\Setup and change "wYukonInstalled"
    from a 1 to a 0.
    Installer succeeds.
    However now the Update Services console does not work.  I get a connection error.  
    It's one thing after another with these things.  I don't understand why Microsoft can't ever make something simple.  IISReset did not cure this either.
    The WSUS administration console was unable to connect to the WSUS Server via the remote API.
    Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
    The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
    Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
    System.IO.IOException -- The handshake failed due to an unexpected packet format.
    Source
    System
    Stack Trace:
    at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
    at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
    at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
    at System.Net.ConnectStream.WriteHeaders(Boolean async)
    ** this exception was nested inside of the following exception **
    System.Net.WebException -- The underlying connection was closed: An unexpected error occurred on a send.
    Source
    Microsoft.UpdateServices.Administration
    Stack Trace:
    at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
    at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
    at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
    at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.GetUpdateServer(PersistedServerSettings settings)
    at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
    at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.get_ServerTools()

  • Cannot install KMS key in VAMT for KMS clients

    Dear Sir / Madam,
    I have some technical problems about setup the KMS host and KMS clients.
    OS of the KMS host: Windows Server 2012 Standard
    OS of the KMS client: Windows 7 Professional (32bit)
    Question 1:
    I want to use KMS host server to handle KMS keys and activations for KMS clients. Which type of KMS key need to install in KMS host ?
    Would I need to install Windows 7 Professional KMS key or
    Windows Server 2012 Standard KMS key in the Volume Activation Management Tool (VAMT) ?
    Question 2:
    I found that I cannot installed the Windows 7 Professional KMS key in the Volume Activation Management Tool (VAMT), it pop-up an error message said that the KMS key invalid. How can I fix the problem?
    Thanks for your help!

    Hi Siu Wai,
    You can also follow these steps:
    1. Select a computer that you want to be your KMS host:
    2. Install Windows Server.
    3. At cmd prompt type the following:
    Slmgr.vbs /ipk  <your KMS KEY from MVLS>
    The /ipk installs your MVLS key.  Note if you need to change your key. For example change from a KMS_B to KMS_C key you must restart the Software Licensing service.
    4. At cmd prompt type the following:
    Slmgr.vbs /ato
    The /ato activates the KMS host with Microsoft. You must activate the KMS host.
    5. Restart the Software Licensing service.
    6. Install the KMS client computers by using volume license media. You should not be prompted for cdkey during installation
    7. By default these KMS client computers will query DNS and locate your KMS host and activate
    KMS Client Setup Keys
    To reset computers to be KMS clients type the following at elevated command prompt:
    Slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    Where xxxxx-xxxxx-xxxxx-xxxxx-xxxxx is the generic VL key from the following link.
    http://technet.microsoft.com/en-us/library/ee355153.aspx#EFAA
    Refer to:
    Is it possibile to host multiple KMS Keys
    on a single KMS server?
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to activate Windows 8.1 on a Windows 2008 R2 KMS server when I don't have Windows 2012 R2 kms host key

    I only have windows 8.1 kms host key but I can't add a client OS kms key to Windows 2008 R2 kms server. And I don't have Windows 2012 R2 license either. Is there any way I can activate Windows 8.1 using my existing kms server? Thanks.

    I would like a yes no clarification answer. So does this mean that EVEN WITH THE PATCH. My Server 2012 Standard edition that currently hosts KMS VA for clients running Win7, Win 8, Office15, Server 2008, Server 2012. Will not be able to host windows 8.1?
    I will have to install 8.1 and use as a host? 
    if you have a KMShost product key for WS2012R2, you can patch a down=level Server and be fine.
    (the OP didn't renew SA or otherwise has no KMShost pkey for WS2012R2)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)
    I'm having similar issues and have a similar question that doesn't seem to be answered:
    My KMS server is Windows 2008 R2 (Also is my domain controller). I want to activate Windows 2012 R2 and Windows 8.1 machines off this KMS server. I can install the 2012 R2 key just fine but receive error 0xC004F015 (The Software Licensing Service reported
    that the license is not installed) when I try to install my 8.1 KMS key.
    What I'm gathering from this thread is that I have to set up a Windows 8.1 host and set it up to be a KMS server exclusively for activating Windows 8.1. Is this correct? If so, Microsoft needs to fix that. I have a SERVER for activations for a reason: it
    is a server, not a client. If I am mis-understanding, how do I get my Windows 2008 R2 server to accept the Windows 8.1 KMS key for activating 8.1 clients?
    Thanks!
    You don't need Windows 8.1 KMS key. Your 2012 R2 KMS key will be able to activate your Windows 8.1 machines. So your current set up is fine, no need to set up another Windows 8.1 KMS host.
    My problem is I don't have 2012 R2 KMS key as I didn't buy any Windows 2012 R2 license. So I can't use 2012 R2 KMS key to activate my Windows 8.1.
    Oh that's interesting. I guess I need to play around more because my 8.1 test machine isn't activating. I'll start a new thread for that if needed. Sorry for the confusion.

  • Install Windows 2008 R2 KMS Key Error "0xC004F050 The software licensing service reported that the product key is invalid"

    My KMS server is running on Windows Server 2012 R2 and activated by Server 2012 KMS Key. 
    I would like to use the KMS server to activate many Windows 2008 R2 server, however, Error message "0xC004F050 The software licensing service reported that the product key is invalid" is appear when adding Windows Server 2008R2 KMS Key. The Windows
    Server 2008 R2 KMS key is confirmed and validated by Microsoft Telephone service.
    Command used:
    slmgr /ipk <Windows Server 2008 R2 KMS Key>
    Anyone can help? thanks.  

    Hi Samson,
    Based on my research, we need to choose associated KMS key based on the highest product being deployed in the product grouping hierarchy.
    To choose the right Volume License key, please refer to this article:
    How to Choose the Right Volume License Key for Windows
    Please type the cmd "slmgr /dlv" on KMS Host and check if it has been activated successfully.
    After configure KMS host, By default these KMS client computers will query DNS and locate your KMS host and activate 
    KMS Client Setup Keys 
    To reset computers to be KMS clients type the following at elevated command prompt: 
    Slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx 
    Where xxxxx-xxxxx-xxxxx-xxxxx-xxxxx is the generic VL key from the following link. 
    https://technet.microsoft.com/en-us/library/jj612867.aspx
    For more detailed information to activate KMS client, please refer to the article below:
    Installing KMS Hosts
    Configuring KMS Clients
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Windows 2012 Activation from Windows 2008 R2 KMS server

    Hello,
    We have 2 KMS servers in our Domain. One has server has KMS key for Windows 2012 KMS installed and other not.
    I have joined first windows 2012 server to domain and its been 3 hours the server is still not activated from KMS server.
    When client contacts KMS server for Windows 2012 licnese, if key is not installed on first KMS server, will it automatically contact second one? Do I need to change sonmething?
    One more question:
    Is it possible to have Windows 2012 key installed on the same KMS server, which is already acting as KMS sertver for Windows 2008R2? and Windows 2003 R2? or wil this cause any issues?
    Mahi

    Hello,
    Once a KMS host is activated, it will publish it's record to DNS.  KMS clients attempting to activate will query DNS to get a KMS host, if there is more than one, they will use the first one they get.  The DNS server should be rotating which records
    it hands out.
    If they activate, they will cache that record and attempt to use it when they renew, if they fail to renew or activate, they will query DNS for the KMS host again.
    Since this is a new KMS host it will need at least 5 KMS clients to contact it meet the count needs for Server.
    What version of Windows is the other KMS host machine is it Windows Server 2008, Windows Server 2008 R2 or is it Windows Server 2003 R2?
    Thanks, Darrell Gorter [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

  • Windows 2008 R2 KMS server not activating Windows 8.1

    We have a 2008 R2 server running VAMT 3.1 and with KB2757817 installed. I added our Windows Server 2012 and Windows 2012 R2 KMS product keys to the KMS host as well as our Windows 8.1 KMS key, and restarted the system.
    So that when I look at the list of Product Keys I see the following keys:
    Windows Server 2012 RTM ServerDataCenter;ServerStandard;ServerMultiPointStandard;ServerMultiPointPremium Volume:CSVLK
    Win 8.1 RTM Enterprise;EnterpriseN;Professional;ProfessionalN Volume:CSVLK
    Windows Server 2012 R2 RTM ServerDataCenter;ServerStandard Volume:CSVLK
    Windows Server 2008 R2 RTM Std and Ent Volume:CSVLK (KMS_B)
    Windows 7 All Volume Editions Volume:CSVLK
    I then go to one of our Windows 8.1 systems and run the following commands:
    cscript c:\windows\system32\slmgr.vbs /skms <servername>
    cscript C:\windows\system32\slmgr.vbs /ato
    and I get the following error message:
    "Error: 0xC004F074 The Software Licensing Service reported that the computer could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information."
    Meanwhile Windows 7 clients still activate without a problem.
    On the KMS host I run slmgr /dlv and get the following:
    Name: Windows Server(R), ServerStandard edition
    Description: Windows Operating System - Windows Server(R), VOLUME_KMS_R2_B channel
    Activation ID: xxxx
    Application ID: xxx
    Extended PID: xxx
    Installation ID: xxx
    Processor Certificate URL:
    http://go.microsoft.com/fwlink/?LinkID=88342
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
    Product Key Certificate URL:
    http://go.microsoft.com/fwlink/?LinkID=88344
    Partial Product Key: xxxx
    License Status: Licensed
    Remaining Windows rearm count: 3
    Trusted time: 3/26/2014 9:56:25 AM
    I've seen in other articles that the description should be
    "VOLUME_KMS_2012-R2" channel instead of "VOLUME_KMS_R2_B channel"
    My question is how do I get the 2008 R2 KMS host to activate Windows 8.1 clients?
    Did I miss a step in adding the 2012 R2 KMS key, and if I did what step did I miss?

    We have a 2008 R2 server running VAMT 3.1 and with KB2757817 installed. I added our Windows Server 2012 and Windows 2012 R2 KMS product keys to the KMS host as well as our Windows 8.1 KMS key, and restarted the system.
    So that when I look at the list of Product Keys I see the following keys:
    Windows Server 2012 RTM ServerDataCenter;ServerStandard;ServerMultiPointStandard;ServerMultiPointPremium Volume:CSVLK
    Win 8.1 RTM Enterprise;EnterpriseN;Professional;ProfessionalN Volume:CSVLK
    Windows Server 2012 R2 RTM ServerDataCenter;ServerStandard Volume:CSVLK
    Windows Server 2008 R2 RTM Std and Ent Volume:CSVLK (KMS_B)
    Windows 7 All Volume Editions Volume:CSVLK
    I then go to one of our Windows 8.1 systems and run the following commands:
    cscript c:\windows\system32\slmgr.vbs /skms <servername>
    cscript C:\windows\system32\slmgr.vbs /ato
    and I get the following error message:
    "Error: 0xC004F074 The Software Licensing Service reported that the computer could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information."
    Meanwhile Windows 7 clients still activate without a problem.
    On the KMS host I run slmgr /dlv and get the following:
    Name: Windows Server(R), ServerStandard edition
    Description: Windows Operating System - Windows Server(R), VOLUME_KMS_R2_B channel
    Activation ID: xxxx
    Application ID: xxx
    Extended PID: xxx
    Installation ID: xxx
    Processor Certificate URL:
    http://go.microsoft.com/fwlink/?LinkID=88342
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
    Product Key Certificate URL:
    http://go.microsoft.com/fwlink/?LinkID=88344
    Partial Product Key: xxxx
    License Status: Licensed
    Remaining Windows rearm count: 3
    Trusted time: 3/26/2014 9:56:25 AM
    I've seen in other articles that the description should be
    "VOLUME_KMS_2012-R2" channel instead of "VOLUME_KMS_R2_B channel"
    My question is how do I get the 2008 R2 KMS host to activate Windows 8.1 clients?
    Did I miss a step in adding the 2012 R2 KMS key, and if I did what step did I miss?
    It's not possible to add Windows Vista/7/8.0/8.1 KMShost pkeys into a WindowServer OS - they will not install, because the KMShost pkey must activate the host OS as well as perform KMShost functions, and, a WindowsClientOS pkey will never be accepted on
    a WindowsServerOS.
    Similarly, you can't install multiple Windows pkeys - only the last (acceptable) pkey will be kept - all previous pkeys will be displaced/removed (last in wins).
    Your slmgr output clearly shows that you have the WS2008R2 KMShost pkey, in place. You need to install the WS2012R2 KMshost pkey to get your 8.1 KMSclients to activate.
    KMShost pkeys are "cumulative", i.e. WS2012R2 KMShost pkey will activate all lower versions of both WindowsServer and WindowsClient OS.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to backup a Windows 2008 R2 KMS to prevent reactivation in case of failure?

    Hi all,
    I'd like to know if there is a solution to backup a Windows 2008 R2 KMS configuration to prevent reactivation of the KMS in case of reinstallation.
    I just want to not being limited by the number of KMS activation with the same key.
    Thx in advance for your help.

    Hi,
    Thanks for your posting.
    You do not need to backup a KMS host.
    You only need to replace the failed KMS host with a new KMS host using the same configuration and ensure that its SRV resource record is added to DNS, if you are using DNS auto-discovery. The old SRV record is deleted eventually, if record scavenging is
    implemented for DNS, or you can delete it manually. The new KMS host then begins collecting renewal requests and KMS clients begin activating as soon as the KMS activation threshold is met.
    Regards.
    If you have any feedback on our support, please click
    here
    Vivian Wang

  • How do I install multiple KMS keys on one server?

    I currently am working at Phelps County Regional Medical Center in Rolla, MO and my question is: How do I install multiple KMS keys onto one server? This is very urgent and I have the KMS activating Windows 7 but, I also need all my Office keys, Windows
    8, and Windows 8.1  to be activated via KMS. the current KMS is a Windows Server 2008 R2 server. Please help me out and thank you for your time! :)

    you need to apply the following update (http://support.microsoft.com/kb/2885698)to your KMS server so you can license up to Windows 8.1.  From there your key for 8.1/2012R2 will license everything
    downwards and then you can also install your Office KMS key without issue.  If its Office 2013 then you need to download the files here (http://www.microsoft.com/en-us/download/details.aspx?id=35584) 
    Be kind and Mark as Answer if I helped.

  • How do I update my Office 2010 KMS key?

    I renewed our EES contract with Microsoft and in turn got a new Office 2010 key. Our current clients are saying I have 30 days to activate so I would like to update the KMS key on the server with the new one so they'll pick it up. I haven't found any solid
    instructions anywhere so am posting a new question. How do I update the KMS key for Office 2010? What commands do I need to run?
    Thanks in advance for any help.

    Thanks for the reply. That got me a little further. I updated my EES agreement this summer and got new keys, so thought maybe that was the issue with Office giving me the "This copy of Microsoft Office is not activated." when launching any Office
    product. I installed and activated the new key now but am still getting the same error in Office. The error code it gives me is 0xc004f074. Looking into that error it looks like a KMS issue. These were activating fine last year and I haven't made any changes
    except just updating the key today, but it was doing this before that.
    Here is what was returned before updating the key:
    Name: Microsoft Office 2010, KMSHost edition
    Description: Microsoft Office 2010 KMS, VOLUME_KMS channel
    Activation ID: 
    Application ID: 
    Extended PID: 
    Installation ID: 
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
    Partial Product Key: (last 5 of old key)
    License Status: Licensed
    Remaining Windows rearm count: 4
    Trusted time: 8/14/2014 12:29:28 PM
    Key Management Service is enabled on this machine
        Current count: 4
        Listening on Port: 1688
        DNS publishing enabled
        KMS priority: Normal
    Key Management Service cumulative requests received from clients
        Total requests received: 21779
        Failed requests received: 3
        Requests with License Status Unlicensed: 0
        Requests with License Status Licensed: 19665
        Requests with License Status Initial grace period: 304
        Requests with License Status License expired or Hardware out of tolerance: 1783
        Requests with License Status Non-genuine grace period: 0
        Requests with License Status Notification: 24
    Here is what was returned after:
    Name: Microsoft Office 2010, KMSHost edition
    Description: Microsoft Office 2010 KMS, VOLUME_KMS channel
    Activation ID: 
    Application ID: 
    Extended PID: 
    Installation ID: 
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
    Partial Product Key: (last 5 of new key)
    License Status: Licensed
    Remaining Windows rearm count: 4
    Trusted time: 8/14/2014 12:53:57 PM
    Key Management Service is enabled on this machine
        Current count: 4
        Listening on Port: 1688
        DNS publishing enabled
        KMS priority: Normal
    Key Management Service cumulative requests received from clients
        Total requests received: 21785
        Failed requests received: 9
        Requests with License Status Unlicensed: 0
        Requests with License Status Licensed: 19665
        Requests with License Status Initial grace period: 304
        Requests with License Status License expired or Hardware out of tolerance: 1783
        Requests with License Status Non-genuine grace period: 0
        Requests with License Status Notification: 24
    I appreciate your willingness to help me with this issue and if you can offer any further insight I would greatly appreciate it.
    Thanks!
    EDIT: I removed all of the ID numbers as I don't know if they mean anything to anyone else or not.

  • Error install software on Windows Sever 2012

    Hello!
    I'm using a VPS Cloud. used OS Windows Sever 2012.
    I can not install any
    software on it. Simple as firefox, error: Cloud not find...runtime or adobe flash player...ect.
    Please help me install.
    Thank you
    Regards
    Danny |

    So, if I understand correctly, you have cloud hosted servers (Server 2012) and you're trying to manage via ConfigMgr 2012 (install software etc).
    1. Are these servers part of your domain?
    2. What connectivity is there to the servers?
    3. Have you created a boundary for the servers and added to a boundary group?
    4. Have you successfully installed a ConfigMgr client and it is reporting correctly? 
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Windows 7 Home and Windows Sever 2012 Mulit-boot

    Hello i am currently running a windows 7 home premium just wondering if there's any way i can run my trial version of windows sever 2012 but keeping my windows 7 as well?
     

    Hi,
    Yes, for the Mulit-boot configuration, please take a look at the article below:
    Install more than one operating system (multiboot)
    Please note, we must install the older operating system first, and then install the more recent operating system. If you don't (for example, if you install Windows Vista on a computer already running Windows 7), you can render your system
    inoperable. This can happen because earlier versions of Windows don't recognize the startup files used in more recent versions of Windows and can overwrite them.
    If we installed the newer version fist, and then the older version, then we might try to configure the boot entries to make it work in mulit-boot. More information, please take a look at the link below:
    Adding Boot Entries
    Hope this may help
    Best regards
    Michael Shao
    TechNet Community Support

  • Differnce Between MAK key & KMS key

    I need the difference between MAK key & KMS key under volume licensing/

    Hi
    MAK allows you to activate multiple machines over the Internet with that one key, the total is dependant on the licensing program with which you acquired the product key.
    KMS activation allows you to activate your machine internally against a KMS host which you set up on your internal network.
    Ref: http://louwrentius.com/understanding-windows-kms-and-mak-volume-license-activation.html
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/a74c0e24-d97b-41ce-897c-18afa2284b6f/kms-vs-mac-activation
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Adding a window to container error

    I have this table that I want to add to a my main program.
    The table works but when I add the table module to the main program I get an error.
    Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a window to a container
    This is the table program
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.io.*;
    public class TableSave extends JFrame
         private JTable table;
         public TableSave()
              String[] columnNames = { "Depth", "Density"};
              Object[][] data =
              table = new JTable(data, columnNames)
                   //  Returning the Class of each column will allow different
                   //  renderers to be used based on Class
                   public Class getColumnClass(int column)
                        return getValueAt(0, column).getClass();
              table.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );
              //  Save table to file button.
              //  Actually the code only prints out the data,
              //  its up to you to modify the code to write it to a file
              JButton button2 = new JButton( "Save Table to File" );
              button2.addActionListener( new ActionListener()
                  JFileChooser fc=new JFileChooser(System.getProperty("user.dir"));
                        //show dialog
                   public void actionPerformed(ActionEvent e)
                        int rows = table.getRowCount();
                        int columns = table.getColumnCount();
                        //  Write out the Column Headers
                        TableColumnModel header = table.getColumnModel();
                        for (int k = 0; k < columns; k++)
                             TableColumn column = header.getColumn(k);
                             String value = (String)column.getHeaderValue();
                             //System.out.print( value );
                             //System.out.print( "|" );
                        //System.out.println();
                        //  Write out the table data
                   try{
                        int fd = fc.showSaveDialog(TableSave.this);
                       if(fd==JFileChooser.APPROVE_OPTION){
                             FileOutputStream fo=new FileOutputStream(fc.getSelectedFile());
                             PrintStream ps=new PrintStream(fo);
                        for (int j = 0; j < rows; j++)
                             for (int k = 0; k < columns; k++)
                                  Object value = table.getModel().getValueAt(j, k);
                                  ps.println(value.toString() );
                                  //System.out.print( value.toString() );
                                  //System.out.print( "|" );
                          }//System.out.println();
                     }catch(Exception ex){}
              getContentPane().add(button2, BorderLayout.SOUTH);
         public static void main(String[] args)
              TableSave frame = new TableSave();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible(true);
    }then I add it to the main program as follows
    public void actionPerformed (ActionEvent event)
            // Determine which object was the source of the event.
            Object source = event.getSource ();
          else if (source == menuSheet)
              count2++;
              JInternalFrame f = new JInternalFrame("mass/Density"+count2);
                f.setResizable(true);
              f.setClosable(true);
              f.setMaximizable(true);
              f.setIconifiable(true);
              f.setSize(270,420);
              f.setLocation(count2*15,count2*15);
              f.addInternalFrameListener(this);
              f.setVisible(true);
              frame.getContentPane().add(f);
                tablesave = new TableSave();
                Container pane = f.getContentPane ();
            pane.setLayout (new BorderLayout());
            pane.add (tablesave, BorderLayout.CENTER);
    Help me resolve this or offer a solution to this problem.
    regards,
    moi

    Hi there,
    Both Internal Frames and Jframe are containers.
    Jframe is a heavy weight component which you are trying to add in a lightweight internal Frame component, hence the error.
    You try having the table implementation which is just a JTable and not a Jframe (You are currently extending from JFrame), then it will work out.
    Cheers
    Ravi Sinha

  • Adding a window to a container: Error

    Hello there,
    Im facing a problem with my program.My program is about a Car Rental System and I am using GUI for the interface. From the main(CarRental) program,when user click one of the menu, there is another interface will appear for user to enter details.The problem is,my main (CarRental)program is running,click the first menu,then another interface open,but wen user enter details n click buttons , it is not even working. Below is my program:
    //This is main menu program
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    import javax.swing.JFrame;
    public class CarRental extends JFrame implements ActionListener{
         JFrame f;
         JLabel l1,l2,l3,choice;
         JPanel p1,p2,p3,p4,p5,p6,p7,p8,p9;
         JButton btnA,btnB,btnC,btnD,btnE,btnF;
         Connection conn;
         Statement stmt;
         ResultSet rs;
         public CarRental(){
              p1=new JPanel();p2=new JPanel();p3=new JPanel();
              p4=new JPanel();p5=new JPanel();p6=new JPanel();
              p7=new JPanel();p8=new JPanel();p9=new JPanel();
              f=new JFrame("New Rental Record");
              l1=new JLabel("........::: Car Rental System :::.........");
              l2=new JLabel("*******************************************************");
              choice=new JLabel("Please select your option:");
              btnA=new JButton("[1] New Rental Record");
              btnB=new JButton("[2] Update Rental Record");
              btnC=new JButton("[3] Search Rental Record");
              btnD=new JButton("[4] Delete Rental Record");
              btnE=new JButton("[5] Display Rental record");
              btnF=new JButton("[6] Exit");
              l3=new JLabel("*******************************************************");
              f.setLayout(new GridLayout(10,1));
              f.pack();
              f.setVisible(true);
              f.setSize(350,500);
              f.setBackground(Color.white);
              p1.add(l1);f.add(p1);
              p2.add(l2);f.add(p2);
              p3.add(choice);f.add(p3);
              p4.add(btnA);f.add(p4);
              p5.add(btnB);f.add(p5);
              p6.add(btnC);f.add(p6);
              p7.add(btnD);f.add(p7);
              p8.add(btnE);f.add(p8);
              p9.add(btnF);f.add(p9);
              btnA.addActionListener(this);
              btnB.addActionListener(this);
              btnC.addActionListener(this);
              btnD.addActionListener(this);
              btnE.addActionListener(this);
              btnF.addActionListener(this);
         f.addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e)
                        {System.exit(0);}});
              public void actionPerformed(ActionEvent e){
                        if(e.getSource()== btnA)
                        {     NewRecord nr=new NewRecord();}
                         else if(e.getSource()== btnB)
                        {     updateRecord ur=new updateRecord();}
                        else if(e.getSource()== btnC)
                        {     searchRecord sr=new searchRecord(); }
                        else if(e.getSource()== btnD)
                        {     deleteRecord dr=new deleteRecord(); }
                        else if(e.getSource()== btnE){
                             try{
                                  Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                             catch(ClassNotFoundException e3) {
                                  JOptionPane.showMessageDialog(null,"ERROR:"+e3.getMessage());
                             try{
                                  conn=DriverManager.getConnection("Jdbc:Odbc:Car Rental", "", "");
                                  stmt=conn.createStatement();
                                  rs=stmt.executeQuery("Select * from Customer where CustID");
    String s=("CustID:   CustName:    CustAdd:          CustPhone:       No.of days rent:     Rate per rental: \n");
    while(rs.next())
    s=s+rs.getString(1)+"             "+rs.getString(2)+"              "+rs.getString(3)+"              "+rs.getString(4)+"                    "+rs.getString(5)+"                     "+rs.getString(6)+"\n";
                                       JOptionPane.showMessageDialog(null,s);}
    catch(SQLException e4){e4.printStackTrace();}}//end of F
    //to exit the program                    
    else if(e.getSource()== btnF){
    JOptionPane.showMessageDialog(null,"Thank you");System.exit(0);}
    else
    JOptionPane.showMessageDialog(null,"Invalid Option!");System.exit(0);
                   }//end of if statement
    public static void main(String args[]){
              CarRental cr= new CarRental();}//end of main
    }//end of main menu
    //New Rental program when user selects it
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class NewRecord extends JFrame implements ActionListener{
         JFrame f;
         Container c;
         FlowLayout layout;
         JLabel l1,l2,custId,custName,custAdd,custPhone,dayRent,rateRent;
    JTextField tid,tname,tphone,tday,trate;
                                  JTextArea tadd;
                                  JButton save,clear,exit;
                                  Connection conn;
                                  Statement stmt;
                                  ResultSet rs;
                                  JPanel p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11;
                             public NewRecord(){
                                //super("New Record");
                                  layout = new FlowLayout();
                                  c=getContentPane();
                                  c.setLayout(layout);
                                  p1=new JPanel();p2=new JPanel();p3=new JPanel();
                                  p4=new JPanel();p5=new JPanel();p6=new JPanel();
                                  p7=new JPanel();p8=new JPanel();p9=new JPanel();
                                  p10=new JPanel();p11=new JPanel();
                                  f=new JFrame();     
                                  l1=new JLabel("........::: New Rental Record :::.........");
                                  l2=new JLabel("*******************************************************");
                                  custId =new JLabel("Customer ID:");
                                  custName=new JLabel("Customer name:");
                                  custAdd=new JLabel("Customer address:");
                                  custPhone=new JLabel("Customer phone:");
                                  dayRent=new JLabel("Days of rental:");
                                  rateRent=new JLabel("Rate per rental:");
                                  tid= new JTextField(10);
                                  tname=new JTextField(10);
                                  tphone=new JTextField(10);
                                  tadd=new JTextArea(4,30);
                                  tday=new JTextField(5);
                                  trate=new JTextField(10);
                                  save=new JButton("SAVE");
                                  clear=new JButton("CLEAR");
                                  exit=new JButton("EXIT");
                                  f.setLayout(new GridLayout(11,1));
                                  f.setBackground(Color.white);
                                  f.setVisible(true);
                                  f.setSize(600,600);
                                  p1.add(l1);f.add(p1);
                                  p2.add(l2);f.add(p2);
                                  p3.add(custId);p3.add(tid);f.add(p3);     
                                  p4.add(custName);p4.add(tname);f.add(p4);
                                  p5.add(custAdd);p5.add(tadd);f.add(p5);
                                  p6.add(custPhone);p6.add(tphone);f.add(p6);                         
                                  p7.add(dayRent);p7.add(tday);f.add(p7);
                                  p8.add(rateRent);p8.add(trate);f.add(p8);
                                  p9.add(save);f.add(p9);
                                  p10.add(clear);f.add(p10);
                                  p11.add(exit);f.add(p11);
                             /*     f.add(l1);
                                  f.add(l2);
                                  f.add(custId);
                                  f.add(tid);
                                  f.add(custName);
                                  f.add(tname);
                                  f.add(custAdd);
                                  f.add(tadd);
                                  f.add(custPhone);
                                  f.add(tphone);
                                  f.add(dayRent);
                                  f.add(tday);
                                  f.add(rateRent);
                                  f.add(trate);
                                  f.add(save);
                                  f.add(clear);
                                  f.add(exit);*/
                                  c.add(f);
                                  save.addActionListener(this);
                                  clear.addActionListener(this);
                                  exit.addActionListener(this);
                                  f.addWindowListener(new WindowAdapter(){
                                  public void windowClosing(WindowEvent e)
                                       {System.exit(0);}});
                             public void actionPerformed(ActionEvent e){
                                  if(e.getSource()== exit)
                                       {System.exit(0);}
                                  if(e.getSource()== clear){
                                       tid.setText("");
                                       tname.setText("");
                                       tadd.setText("");
                                       tphone.setText("");
                                       tday.setText("");
                                       trate.setText("");}
                                  if(e.getSource()== save){
                                       try{
                                            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                       catch(ClassNotFoundException e1) {
                                            JOptionPane.showMessageDialog(null,"ERROR:"+e1.getMessage());
                                       try{
                                            conn=DriverManager.getConnection("Jdbc:Odbc:Car Rental", "", "");
                                            stmt=conn.createStatement();
                                            rs=stmt.executeQuery("Select * from Customer");
                                            while(rs.next()){
                                            tid.setText(rs.getString(1));
                                            tname.setText(rs.getString(2));
                                            tadd.setText(rs.getString(3));
                                            tphone.setText(rs.getString(4));
                                            tday.setText(rs.getString(5));
                                            trate.setText(rs.getString(6));}
                                            String s=("CustID:   CustName:    CustAdd:          CustPhone:       No.of days rent:     Rate per rental: \n");
                                            while(rs.next())
                                            s=s+rs.getString(1)+"             "+rs.getString(2)+"              "+rs.getString(3)+"              "+rs.getString(4)+"                    "+rs.getString(5)+"                     "+rs.getString(6)+"\n";
                                                 JOptionPane.showMessageDialog(null,s);
                                       catch(SQLException e2){
                                                 e2.printStackTrace();
                             public static void main(String args[]){
                                       NewRecord nr=new NewRecord();
                                  //     nr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                                       }//end of newRecord class
                                  }//ends of New rental program
    I tried to use extending to JPanel or JApplet but still the same. Any help??

    Hi,
    In the NewRecord java file, use change the
    f = new JFrame();               
    c = f.getContentPane();, after that all panel add into the container
    p1.add(l1);c.add(p1);                    
    p2.add(l2);c.add(p2);
    p3.add(custId);p3.add(tid);c.add(p3);     
    p4.add(custName);p4.add(tname);c.add(p4);
    p5.add(custAdd);p5.add(tadd);c.add(p5);
    p6.add(custPhone);p6.add(tphone);c.add(p6);          
    p7.add(dayRent);p7.add(tday);c.add(p7);
    p8.add(rateRent);p8.add(trate);c.add(p8);
    p9.add(save);c.add(p9);
    p10.add(clear);c.add(p10);
    p11.add(exit);c.add(p11);and finally remove this line below
    //c.add(f);Try to avoid add frame into the container, or else you will receive adding a window to a container error.
    Rgrds,
    Sen
    Message was edited by:
    arjensen

Maybe you are looking for

  • How do I play a 30 second clip of a song?

    I am doing a school presentation, and I can only play a 30 second clip of a certain song from iTunes. How can I play just the 30 seconds without having to watch the clock and pressing stop? Thanks!

  • Drill down format in Ke30 report

    Hello, In Ke30 Copa report after executing the report, the output comes as per attached format,(Pls check file attached for reference)... I have created the form in ke35 in below format, Sales              xxxx Cogs              xxxx GM              

  • Media files are published to blog with the wrong hostname

    Hi there, I've changed the hostname of my server and everything is working correctly with the wiki/blog server but when I submit a podcast producer job, although the job finishes without error, the media that's embedded on the page still has the old

  • How to access firefox internals (debugger) with mozrepl

    I want to use mozrepl to: - open js debugger - switch js file - toggle breakpoint How to do it?

  • Publishing Features Q - Creative Cloud single edition

    Hi there. Just wondered if someone could clarify a these Q's on publishing features for a single folio app using the CC single edition. 1. The number of updates I can make to my app are unlimited? I've read somewhere on this forum there was a limit t