How to query the terminal Server Licensing grace period

Hi,everyone
   A few day ago, i installed a windows 2K8 R2 as a terminal server ,and specify itself as a terminal licensing server ,but without install any CALs.So erevytime i logged into the terminal , system will pop up a message said that the terminal
server's grace period will expired at xxx days. but due to someone unchecked the message , systme can't pop up any message talked about the grace period.
  So can anyone tell me where can i find the remaining grace period  ??
Jacky_Deng

Hi,
You can retrieve the number of days remaining in the grace period via WMI.  Instructions below:
Logon to your server as an administrator
Start--All Programs--Accessories--Right-Click on Command Prompt and choose
Run as Administrator
Enter the following command:
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays
-TP

Similar Messages

  • How to access the Terminal Server on a Macintosh computer

    Hi everyone,
    Actually i have a Macintosh Computer Os X v.10.8.5
    i have tried to acess the Terminal Server with 2 methods:
    1) The 1st method: i tried the application: "Microsoft Remote Desktop client 2.1.1" but il doesn't work at all. It appears: "impossible to connect"
    2 The 2nd method: i downloaded the application "Microsoft Remote Desktop app 8.0.3" from itunes.
    I filled all configurations but when i tried to connect, i had a black screen with "Connecting" in the middle of my screen and nothing else happened.
    I need your help please, someone who use an access the Terminal Server on a Macintosh
    (Computer Os X v.10.8.5 or later)
    All suggestions are welcome
    Thanks a lot
    Minh VAN-TRAN
    e-mail: [email protected]

    What are you trying to remote desktop to? A Windows PC?
    Are you able to ping the computer you are trying to connect to using RDP?
    You can use the in-built network tools on OS X to Ping the target computer.
    If you cannot ping the target then this could indicate either:
    There is an incorrectly configured firewall on the target machine that isn't configured to allow incoming RDP
    You don't have network access to the target machine.
    If the target machine is Windows based Check the Remote options are as below:
    Try to configure the connection properties using the target machines IP address rather than Hostname.
    If you get just a blank screen i have seen this in the past where that is the mac struggling to resolve the target computer details but this is over a VPN to my work place, reconnecting the VPN resolves this every time though.

  • Move Terminal server licenses to another server

    We have one terminal server VM hosted in hyper v server. currently there is a problem with the hyper v server hdd and we might need to rebuild the whole server. We would like to setup a new terminal server on a new server. The existing terminal server is
    windows server 2003. After I fresh setup the Windows server 2003 VM in a new server, how do I move the terminal server license to a new server? FYI, we would like to decommission the old terminal server. But we would like to do it in parallel as there are
    many users are still accessing to the old terminal server.
    Thanks so much.
    Regards,
    Henry

    Hi Henry,
    First you need to gather your licensing paperwork, authorization number(s), license number(s), etc. for your existing licenses.  This step is critical.
    Next install RD Licensing on the replacement 2003 server, Activate it using Terminal Server Licensing (licmgr.exe), then install the TS CALs.  If you receive an error when installing the old TS CALs please contact the Clearinghouse and explain
    to them you need to install the TS CALs on a new server because the old one is being decommissioned.
    How to locate a telephone number for the Microsoft Clearinghouse
    http://support.microsoft.com/kb/291795
    Once you have confirmed that the old TS CALs are installed on the replacement 2003 TS then make sure your 2003 TS is set to the correct Licensing mode (to match the type of TS CALs) and you have Specified the name of the new RD Licensing server. 
    You do this in Terminal Services Configuration (tscc.msc) on the replacement terminal server.
    As an alternative you could install the existing TS CALs on a newer RD Licensing server such as Server 2008 R2, Server 2012, etc.  You still will need to have the authorization number(s), license number(s), etc. for the existing 2003 TS CALs.
    How to move Terminal Services CALs from one license server to another in Windows 2000, Windows Server 2003 and Windows Server 2008
    http://support.microsoft.com/kb/953918
    -TP

  • Get Report of Terminal Server license report

    Is there a way I can track our Terminal Server Licenses usage. For example I have bought 50 licenses, are they being used to full capacity or under used. What is the monthly maximum usage. And we have about 10 servers hosting terminal services
    in our AD, do I have to generated a report for each ? Is there tool that can do this ? Windows 2008 R2 and Windows 2012 R2

    Hi,
    Thank you for posting in Windows Server Forum.
    For finding active session on terminal server you can use command as follow.
    query session /server:SERVER2
    A user can always query the session to which the user is currently logged on. To query other sessions, the user must have Query Information access permission.
    More information.
    Query session
    http://technet.microsoft.com/en-us/library/bb490800.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Session failed : The terminal services license is invalid

    Hi,
    I have one user who receive this message(session failed : The terminal services license is invalid) , all other user work ok.
    When the same user try on other desktop he works fine.
    I try to delete all cache, cookies on the desktop, i try the "tarantella tscal free" command but the problem is already present.
    Can you help me ?
    I run SGD 4.2-909 on Linux RedHat 4.

    I understand the licensing model as it pertains to standard connectivity, (i.e. a wintel box using the rdp client to connect directly to the terminal server). <<
    But how does the java emulation of the client work? does it also deposit data in the local windows registry regarding TS Cal licensing? Is it static to the workstation used to connect to SGD? <<Should work the same way for Windows clients; the Terminal Services CAL is stored in the local client registry; as I understand it, this is a legal requirement of the RDP source license.
    For non-Windows clients, the TSCAL is stored on the server in a license pool, and can be viewed / manipulated with the tarantella tscal command. TS CAL's are allocated to this pool for the TS License service, and handed out to users as necessary. Reading ahead to the next posting, it's possible to get an expired license stuck in this pool, which can cause problems. Using the tscal command, should check to see if there's an expired license in the pool, and if so, delete it.

  • Windows Terminal Server Licensing Mode

    Hi all.
    Anybody knows how to license a Windows Terminal Server to be used only throught SGD?. I have more than 100 users behind a SGD, and I want to export Windows applications to them.
    I know that there are to kinds of Windows Terminal Server licenses. Users or Devices CAL's. If I'm using SGD, do i need a license for each users, or with one license for each SGD server is enought?.
    Thanks.

    Hi.
    It's not Oracle limitation or rules. It's rules of Microsoft.
    http://tonymackelworth.wordpress.com/tag/multiplexing/
    http://download.microsoft.com/download/8/7/3/8733d036-92b0-4cb8-8912-3b6ab966b8b2/multiplexing.pdf
    "You may deploy network architectures that use hardware or software to reduce the number of devices or users that directly access the software on a server. This is referred to as multiplexing or pooling. However, this does not reduce the number of CALs required to access or use the server software. A CAL is required for each device or user that is connected to the multiplexing or pooling software or hardware front end."
    Regards.

  • How to get the report server name in Forms 10g.

    How to get the report server name in Forms 10g.
    I'm using the Application Server 10g 10.1.2.

    Hello,
    I do not think that you can get this value from anywhere. A solution is to put the Reports server name in an environment variable stored in the /forms/server/default.env file, then to query it at Forms runtime with the TOOL_ENV.Getvar() built-in.
    Francois

  • How to query the flat files?

    Hi
    How to query the flat files that are used in Etl From EBS source.

    That can be done in OBIEE. Save the flat file as .csv format. Then go to ODBC Administrator on windows machine where you BI server is running, and create an System DSN and select "Microsft Access Text Driver (*.txt, *.csv)" as driver type.
    Next, import tables in RPD using this ODBC connection. Rest of the steps as same as building model from a table source.
    Hope this helps.

  • Controlling Session Id given to each new opened session on the terminal server 2008

    Hello to all
    How can we configure the terminal server so that,
    when the user open a new session,
    they will get the next number (Session Id)?
    The need is, the Session Id always go forth (and to prevent the option that a session Id which was logged off will not be given to the next user session).
    Alternatively, it will be Ok with us, if session ids which were logged off, will be blocked on "busy" and the server will not give those ids to new user sessions until the next server restart.
    Thank you,
    Yuval

    Hi,
    For your requirement, I've consulted with Server RDS expert, and the feedback is it is impossible currently.
    If you have further question, please refer to Windows Server Remote Desktop Services (Terminal Services) forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=winserverTS
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Terminal Server Licensing Problems with GPO Security Group License Server

    Hello,
    I have two fresh installs of W2K12R2.
    One is RD Session Host and the other one is the License Server. Everything is fine until I active the GPO Security Group License Server. After that the License Server gives no licenses
    to die clients (we have User und Device CALs). TS Licensing Diagnostic’s shows no errors, the number of available licenses is displayed correctly, even the state of GPO Security Group License Server is correctly shown as "active" and die
    Membership in the Group "RDS-Endpointserver" is "Yes". Eventlog shows no Errors. Log in on the session host is even possible, maybe because the RDS-Service is in evaluation time.
    If the GPO Security Group License Server is disabled again, the server starts to serve licenses as expected.
    I don’t know what I can do anymore, never had problems with exact the same setup under W2K8, but with W2K12 is the second time I notice this issue.
    Thanks for your ideas,
    Andreas

    Hi Andreas,
    Thank you for posting in Windows Server Forum.
    Sorry to inform but there is no official document for server 2012 related to this event, you can go through below article for reference.
    You cannot use a security group to add computer accounts to the Terminal Server Computers group. You must add each computer account explicitly. To verify whether an RD Session Host server is allowed to request RDS CALs from the Remote Desktop license server,
    you can use the IsSecureAccessAllowed method of Win32_TSLicenseServer class. For more details about this method, click here.
    1. License Diagnosis tool returns error "License server <computer name> cannot issue RDS CALs to the Remote Desktop Session Host Server because the 'License server security group' Group
    Policy setting is enabled."
    2.Control the Issuance of RDS CALs
    Note: You should only enable this policy setting when the license server is a member of a domain. You can only add computer accounts for RD Session Host servers to the RDS Endpoint Servers group when the license server is a member of a domain.
    Hope it helps!
    Thanks, 
    Dharmesh

  • How to give the application server file path in the module pool programming

    Hi,
         Could somebody help me how to provide the application server file path in module pool programming once the logo is uploaded to sap system.
      For eg I have imported a logo name ‘owens’ into sap system by using transaction ‘se78’; now I need to call the path in the below url,
    if container2 is initial.
    CREATE OBJECT CONTAINER2
      EXPORTING
        CONTAINER_NAME              = 'PICTURE_CONTAINER2'.
    CREATE OBJECT PICTURE2
      EXPORTING
        PARENT = CONTAINER2.
    CALL METHOD PICTURE2->SET_DISPLAY_MODE
      EXPORTING
        DISPLAY_MODE = CL_GUI_PICTURE=>display_mode_fit_center
      EXCEPTIONS
        ERROR        = 1.
    CALL METHOD PICTURE2->LOAD_PICTURE_FROM_URL
      EXPORTING
        URL    = " ? "
      EXCEPTIONS
        ERROR  = 1
        Others = 2.
    endif.
    Thanks in advance
    Deepu

    hi Deepu,
    Use FM '/SAPDMC/LSM_F4_FRONTEND_FILE' for fetching the data from the application server path/presentation server path
    Regards,
    Santosh

  • How to setup the SMTP server in Oracle apps?

    Hi,
    How to setup the SMTP server in Oracle Apps? Is it mandatory to keep the SMTP server on the same host where the Oracle data base is installed? Also can someone help how we can set up the SMTP server on different host (not the Database server) and we can use the same for Workflow notification mailer.
    Thanks,
    Bijoy
    Edited by: user12070886 on Feb 6, 2013 4:26 AM
    Edited by: user12070886 on Feb 6, 2013 4:27 AM

    How to setup the SMTP server in Oracle Apps? Is it mandatory to keep the SMTP server on the same host where the Oracle data base is installed? No, it is not mandatory. Also please note that the mails are sent out from concurrent manager mode. Not from the database node.
    Also can someone help how we can set up the SMTP server on different host (not the Database server) and we can use the same for Workflow notification mailer.
    >
    It depends on the operating system you are using. If you are using *nix then sendmail needs to be configured.
    Thanks

  • How to configure the smtp server..

    i had an error when running the java mail program..
    this is my program
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.io.*;
    import java.util.Properties;
    public class MailClient
    public void sendMail(String mailServer, String from, String to,
    String subject, String messageBody,
    String[] attachments) throws
    MessagingException, AddressException
    // Setup mail server
    Properties props = System.getProperties();
    props.put("mail.smtp.host", mailServer);
    // Get a mail session
    Session session = Session.getDefaultInstance(props, null);
    // Define a new mail message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
    message.setSubject(subject);
    // Create a message part to represent the body text
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText(messageBody);
    //use a MimeMultipart as we need to handle the file attachments
    Multipart multipart = new MimeMultipart();
    //add the message body to the mime message
    multipart.addBodyPart(messageBodyPart);
    // add any file attachments to the message
    // addAtachments(attachments, multipart);
    // Put all message parts in the message
    message.setContent(multipart);
    // Send the message
    Transport.send(message);
    protected void addAtachments(String[] attachments, Multipart multipart)
    throws MessagingException, AddressException
    for(int i = 0; i<= attachments.length -1; i++)
    String filename = attachments;
    MimeBodyPart attachmentBodyPart = new MimeBodyPart();
    //use a JAF FileDataSource as it does MIME type detection
    DataSource source = new FileDataSource(filename);
    attachmentBodyPart.setDataHandler(new DataHandler(source));
    //assume that the filename you want to send is the same as the
    //actual file name - could alter this to remove the file path
    attachmentBodyPart.setFileName(filename);
    //add the attachment
    multipart.addBodyPart(attachmentBodyPart);
    public static void main(String[] args)
    try
    MailClient client = new MailClient();
    String server="smtp.canvasindia.com";
    String from="[email protected]";
    String to = "[email protected]";
    String subject="Test";
    String message="Testing";
    String[] filenames ={"c:/A.java"};
    client.sendMail(server,from,to,subject,message,filenames);
    catch(Exception e)
    e.printStackTrace(System.out);
    the error is .................
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected from p
    ool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    at MailClient.sendMail(MailClient.java:47)
    at MailClient.main(MailClient.java:84)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected fro
    m pool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    ... 5 more
    how to configure the smtp server in my machine..
    please guide me...

    This uses gmail account, and gmail smtp
    * MailSender.java
    * Created on 14 November 2006, 17:07
    * This class is used to send mails to other users
    package jmailer;
    * @author Abubakar Gurnah
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class MailSender{
        private String d_email,d_password;
         * This example is for gmail, you can use any smtp server
         * @param d_email --> your gmail account e.g. [email protected]
         * @param d_password  --> your gmail password
         * @param d_host --> smtp.gmail.com
         * @param d_port --> 465
         * @param m_to --> [email protected]
         * @param m_subject --> Subject of the message
         * @param m_text --> The main message body
        public String send(String d_email,String d_password,String d_host,String d_port,
                String m_from,String m_to,String m_subject,String m_text ) {
            this.d_email=d_email;
            this.d_password=d_password;
            Properties props = new Properties();
            props.put("mail.smtp.user", d_email);
            props.put("mail.smtp.host", d_host);
            props.put("mail.smtp.port", d_port);
            props.put("mail.smtp.starttls.enable","true");
            props.put("mail.smtp.auth", "true");
            //props.put("mail.smtp.debug", "true");
            props.put("mail.smtp.socketFactory.port", d_port);
            props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
            props.put("mail.smtp.socketFactory.fallback", "false");
            SecurityManager security = System.getSecurityManager();
            try {
                Authenticator auth = new SMTPAuthenticator();
                Session session = Session.getInstance(props, auth);
                //session.setDebug(true);
                MimeMessage msg = new MimeMessage(session);
                msg.setText(m_text);
                msg.setSubject(m_subject);
                msg.setFrom(new InternetAddress(m_from));
                msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
                Transport.send(msg);
                return "Successful";
            } catch (Exception mex) {
                mex.printStackTrace();
            return "Fail";
        //public static void main(String[] args) {
        //    MailSender blah = new MailSender();
        private class SMTPAuthenticator extends javax.mail.Authenticator {
            public PasswordAuthentication getPasswordAuthentication() {
                return new PasswordAuthentication(d_email, d_password);
    }

  • A very simple question: how to obtain the mail server name?

    In our JSP application, at one point an email will be sent to notify one event. Currently, that is done by using the html tag: mailto. To have more control on the email in tems of context format (a bad layout right now) and others. I would like to have it processed at servlet by using the JavaMail API, so that it have a nice format and have the sender's email address right in case email client is not installed in the machine where the browser in. The JavaMail API is straight forward. The question is how to obtain the mail server name, and the sender's email address if there is one?
    Thanks.
    v.

    How to obtain the mail server's name? It's your server, you should know its name. Or if it isn't your server, you should ask the administrator for its name. Point is, you need to decide in advance what server you are going to use and hard-code its name into the program or into a properties file.
    And how to obtain the client's e-mail address? You have to ask the client, probably by putting a box in the HTML and asking them to type it.

  • How to configure the Integration Server Settins?

    Hi,
    I am doing a scenario like Idoc 2 File, I am passing parameter of Adapter Engine is a Integration Server, and when we generate a Idoc and send to XI system using TC: WE19. XI System is not picked the Idoc, and when i am checking RWB the Adapter Framework. Please Guide me how to configure the Integration Server setting.
    Regards
    Mohan

    Hi,
    did you checked the ur IDOC outbound status?
    also check IDX5, whether it has reached XI system.
    plz do check all ur settings:
    1. Create RFC destination to XI in SM59 transaction
    2. Create a port in we21
    3. Create partner profile we20
    4. we05- Idocs monitoring
    XI Settings:
    1. Create RFC destination to XI in SM59 transaction
    2. Idx1 – Port maintenance
    3. Idx2 - Metadata maintenance
    4. Idx5 – All Idoc inbound and outbound messages
    regards
    Message was edited by:
            Vijaya Lakshmi MV

Maybe you are looking for

  • Upgrade - SAP XI 3.0 to PI 7.0

    Hello, Can you please let me know the defined steps in upgrading XI 3.0 to PI 7.0?  I checked the blogs on this.  But couldn't get the right infomation on this.  Can any pass on this information? Thanks. Srinivas.

  • IPad 3 will not power down

    iPad 3 will not power down. Also no information  of any kind is displayed in settings.

  • Generate pdf from given values,attach it with mail and send.

    hi, please help me in this. i got to generate a pdf which will contain some values input by users in module pool (ex: wa_vbak-vbeln). then it should get attached to a mail and be sent to some email id. what all FMs be used here?and the respective imp

  • Mouseclicks and apps don't respond sporadically

    Hey all, Perhaps I'm not using the right search terms but I'm not finding anything specifically related to my issue here. I have a 2012 Mac mini with 10.9.2 on it and here is my occasional issue: Open app (often Evernote or Messages) App doesn't imme

  • Help blocking smart devices from using VPN

    Hello, I am looking for a solution to block smart devices from connecting to our network via VPN. Our current VPN solution is ASA5520 and we are using Cisco ACS for user authentication. We use Cisco VPN client only, no anyconnect or SSL VPN. Managmen