Force PowerShell version on remote session

Hi, as the title suggest, I want to explicitly use PowerShell 2.0 to execute scripts and commands, why? Because SharePoint 2010 only supports PowerShell 2.0. So my problem:
I have SharePoint 2010 installed on a Windows Server 2012 (with PowerShell 4.0 as default). When I execute a SharePoint PowerShell command on the server, it only works when I go to a PowerShell 2.0 console (powershell.exe
-v 2). But when I am on another server and start a PowerShell 2.0 console, the remote session I create with e.g. Enter-PSSession is always PowerShell 4.0, the version of the host. This will prevent me from executing SharePoint commands remotely
So my question is, is it possible in some way to force a specific version of PowerShell with a remote session?

Hi TechPeepz,
To start powershell 2.0 on remote session, please refer to the steps below:
Server02 remote access Server01
1. Run the cmdlet below on server01
Register-PSSessionConfiguration -Name PS2 -PSVersion 2.0
2. Run the cmdlets below on server02
$s = New-PSSession -ComputerName Server01 -ConfigurationName PS2
Enter-PSSession -Session $s
For more detailed information, please refer to this article:
Starting the Windows PowerShell 2.0 Engine
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang

Similar Messages

  • Build numbers for powershell.exe vs. PowerShell version

    Hi!
    I'm looking for information about powershell.exe file build number or version than can allow mi determine installed PowerShell version on remote hosts.
    Currently I must determine installed version on a lot of servers that I can only get information about files versions. It is in the secure envinroment that some ports are filtered. On server is installed Windows Server 2003 (R2) or Windows Sever 2008 R2
    - some have PowerShell installed but not all.
    Thank you in advance.
    Wojciech Sciesinski

    Hi,
    Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.
    TechNet Subscriber Support
    If you are
    TechNet Subscription
    user and have any feedback on our support quality, please send your feedback
    here.
    Regards, Yan Li

  • Exchange 2013 remote session running as PowerShell version 2.0. How can I get it to run version 3.0?

    I'm trying to use the newer Powershell 3.0 features, particularly the ability to disconnect/reconnect a remote session, for our Exchange 2013 administration tools.  I have 3.0 on my workstation, and am connecting to a remote session on an Exchange 2013
    server (on Server 2012).   Even LOCALLY on the Exchange 2013 server Exchange Management Shell I get the same behavior:
    Exchange Command Shell on an Exchange 2013 server (running Windows Server 2012)
    [PS] >$PSVersionTable
    Name                           Value
    PSVersion                      3.0
    WSManStackVersion              3.0
    SerializationVersion           1.1.0.1
    CLRVersion                     4.0.30319.19117
    BuildVersion                   6.2.9200.16628
    PSCompatibleVersions           {1.0, 2.0, 3.0}
    PSRemotingProtocolVersion      2.2
    [PS] C:\Windows\system32>Get-PSSession
     Id Name            ComputerName    State         ConfigurationName
      1 Session1        mercmbx35r.n... Opened        Microsoft.Exchange
    [PS] C:\Windows\system32>$session = Get-PSSession
    [PS] C:\Windows\system32>$session.ApplicationPrivateData.PSVersionTable
    Name                           Value
    PSVersion                      2.0
    PSCompatibleVersions           {1.0, 2.0, 3.0}
    PSRemotingProtocolVersion      2.2
    BuildVersion                   6.2.9200.16628
    CLRVersion                     4.0.30319.19117
    WSManStackVersion              3.0
    SerializationVersion           1.1.0.1
    How/where can I force the Exchange session to run version 3.0?
    Thanks in advance,
    Rick Tatem

    I still can't get it to work that way. I changed my cfexecute to:
    <cfexecute name="C:\windows\system32\cmd.exe" arguments="/c C:\Inetpub\wwwroot\captcha\#cmd_filename#" outputFile="C:\testoutput.txt" timeout = "90"></cfexecute>
    And I changed my bat file to have:
    <cfsavecontent variable="cmd_content">
    cd\
    TSC.exe /s "#newString#" C:\Inetpub\wwwroot\captcha\#FileName# Mary (for Telephone)
    </cfsavecontent>
    The output file is showing:
    C:\ColdFusion9\runtime\bin>cd\
    C:\>TSC.exe /s "3.....P.....4.....Z.....8.....U.....7.....X....." C:\Inetpub\wwwroot\captcha\3P4Z8U7X-105724.wav Mary (for Telephone)
    I still can't get it to run the exe. I have watched the process list while running this and the exe doesn't show up. I tried cfexecute on the exe directly before trying the bat method, with hard coded arguments, and it still didn't work. I am so lost right now this makes no sense to me.

  • [Forum FAQ] How to install and configure Windows Server Essentials Experience role on Windows Server 2012 R2 Standard via PowerShell locally and remotely

    As we all know,
    the Windows Server Essentials Experience role is available in Windows Server 2012 R2 Standard and Windows Server 2012 R2 Datacenter. We can add the Windows Server
    Essentials Experience role in Server Manager or via Windows PowerShell.
    In this article, we introduce the steps to install and configure Windows
    Server Essentials Experience role on Windows Server 2012 R2 Standard via PowerShell locally and remotely. For better analyze, we divide this article into two parts.
    Before installing the Windows Server Essentials Experience Role, please use
    Get-WindowsFeature
    PowerShell cmdlet to ensure the Windows Server Essentials Experience (ServerEssentialsRole) is available. (Figure 1)
    Figure 1.
    Part 1: Install Windows Server Essentials Experience role locally
    Add Windows Server Essentials Experience role
    Run Windows PowerShell as administrator, then type
    Add-WindowsFeature ServerEssentialsRole cmdlet to install Windows Server Essentials Experience role. (Figure 2)
    Figure 2.
    Note: It is necessary to configure Windows Server Essentials Experience (Post-deployment Configuration). Otherwise, you will encounter following issue when opening Dashboard.
    (Figure 3)
    Figure 3.
      2. Configure Windows Server Essentials Experience role
    (1)  In an existing domain environment
    Firstly, please join the Windows Server 2012 R2 Standard computer to the existing domain through the path:
    Control Panel\System\Change Settings\”Change…”\Member of. (Figure 4)
    Figure 4.
    After that, please install Windows Server Essentials Experience role as original description. After installation completed, please use the following command to configure Windows
    Server Essentials:
    Start-WssConfigurationService –Credential <Your Credential>
    Note: The type of
    Your Credential should be as: Domain-Name\Domain-User-Account.
    You must be a member of the Enterprise Admin group and Domain Admin group in Active Directory when using the command above to configure Windows Server Essentials. (Figure 5)
    Figure 5.
    Next, you can type the password for the domain account. (Figure 6)
    Figure 6.
    After setting the credential, please type “Y” to continue to configure Windows Server Essentials. (Figure 7)
    Figure 7.
    By the way, you can use
    Get-WssConfigurationStatus
    PowerShell cmdlet to
    get the status of the configuration of Windows Server Essentials. Specify the
    ShowProgress parameter to view a progress indicator. (Figure 8)
    Figure 8.
    (2) In a non-domain environment
    Open PowerShell (Run as Administrator) on the Windows Server 2012 R2 Standard and type following PowerShell cmdlets: (Figure 9)
    Start-WssConfigurationService -CompanyName "xxx" -DNSName "xxx" -NetBiosName "xxx" -ComputerName "xxx” –NewAdminCredential $cred
    Figure 9.
    After you type the commands above and click Enter, you can create a new administrator credential. (Figure 10)
    After creating the new administrator credential, please type “Y” to continue to configure Windows Server Essentials. (Figure 11)
    After a reboot, all the configurations will be completed and you can open the Windows Server Essentials Dashboard without any errors. (Figure 12)
    Figure 12.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Part 2: Install and configure Windows Server Essentials Experience role remotely
    In an existing domain environment
    In an existing domain environment, please use following command to provide credential and then add Server Essentials Role: (Figure 13)
    Add-WindowsFeature -Name ServerEssentialsRole
    -ComputerName xxx -Credential DomainName\DomainAccount
    Figure 13.
    After you enter the credential, it will start install Windows Server Essentials role on your computer. (Figure 14)
    Figure 14.
    After the installation completes, it will return the result as below:
    Figure 15.
    Next, please use the
    Enter-PSSession
    cmdlet and provide the correct credential to start an interactive session with a remote computer. You can use the commands below:
    Enter-PSSession –ComputerName
    xxx –Credential DomainName\DomainAccount (Figure 16)
    Figure 16.
    Then, please configure Server Essentials Role via
    Add-WssConfigurationService cmdlet and it also needs to provide correct credential. (Figure 17)
    Figure 17.
    After your credential is accepted, it will update and prepare your server. (Figure 18)
    Figure 18.
    After that, please type “Y” to continue to configure Windows Server Essentials. (Figure 19)
    Figure 19.
    2. In a non-domain environment
    In my test environment, I set up two computers running Windows Server 2012 R2 Standard and use Server1 as a target computer. The IP addresses for the two computers are as
    below:
    Sevrer1: 192.168.1.54
    Server2: 192.168.1.53
    Run
    Enable-PSRemoting –Force on Server1. (Figure 20)
    Figure 20.
    Since there is no existing domain, it is necessary to add the target computer (Server1) to a TrustedHosts list (maintained by WinRM) on Server 2. We can use following command
    to
    add the TrustedHosts entry:
    Set-Item WSMan:\localhost\Client\TrustedHosts IP-Address
    (Figure 21)
    Figure 21.
    Next, we can use
    Enter-PSSession
    cmdlet and provide the correct credential to start an interactive session with the remote computer. (Figure 22)
    Figure 22.
    After that, you can install Windows Server Essentials Experience Role remotely via Add-WindowsFeature ServerEssentialsRole cmdlet. (Figure 23)
    Figure 23.
    From figure 24, we can see that the installation is completed.
    Figure 24.
    Then you can use
    Start-WssConfigurationService cmdlet to configure Essentials Role and follow the steps in the first part (configure Windows Server Essentials Experience in a non-domain environment) as the steps would be the same.
    The figure below shows the status of Windows Server Essentials.
    Figure
    25.
    Finally, we have successfully configured Windows Server Essentials on Server1. (Figure 26)
    Figure 26.
    More information:
    [Forum
    FAQ] Introduce Windows Powershell Remoting
    Windows Server Essentials Setup Cmdlets
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

  • Local Devices not found while on Remote Session

    Hopefully someone in the forum will have an idea where I am failing.
    I have an hp laptop (model 15--b123cl) running windows 8.1.
    I am Remote Desktop Connecting into my Server running Windows 7 Professional SP1.
    Both my hp laptop and the server have all Updates installed (including KB 2830477 for Windows 7 SP1).
    I have checked all options in my Remote Desktop Connection (Show Options) Local Resources tab to allow Local Devices and Printers to be available on my laptop (the client) while in a remote session on my server.
    (Checked Printers, Clipboards and all options under "more" such as Ports, Drivers, etc.)
    The connection works fine but no local devices (printers, thumbdrives, etc.) are visible or accessible while in the remote session.  My laptop recognizes the devices being plugged into the USB port (tone sounds), but the device will not show up in the
    remote session.  (They are shown on my local hp when I minimize the Remote connection.)
    My real need is to print to my hp printer while logged onto  the remote server.  I have an hp Officejet Pro 8600 which I have plugged-in to my laptop USB.  I relalize that while in remote connections I won't find wireless devices
    on my local (client) network unless mapped to a LPT or COM port, so I hard-plug into my USB.  I have also tried mapping my printer to a second port such as LPT2 or COM1 - still no luck.
    No matter what I have tried or read about Remote Desktop Sessions, I can not get my Local hp Printer to show up while in my remote session.  Any ideas?
    Thanks
    SL in Virginia  

    Hi Avi,
    Thanks for your reply!
    I am using JDeveloper version 9.0.3.1035!
    When I say it works in JDeveloper, I do mean the embedded server.
    In JDeveloper I have two projects, a) a session bean project and b) an entity bean project.
    I can run my code fine against the embedded server.
    However once I deploy the two jars to the standalone server things fall apart.
    When I reverted back to putting the session beans & entity beans all in one jar everythinh worked fine.
    However, I do not want to do this, I want to maintain my entity beans independently ( for maintenance & de- coupling reasons).
    So, I guess what I really want, is to see in black and white that local references do or do not traverse different jars on the same server.
    thanks,
    Kevin

  • TS3938 When I went to the Quicken site I was routed to a third party tech company that asked me to download a software that allowed them to access my computer for a remote session to fix my computer.  Is that a scam?  I did not do it but how do I get my Q

    When I went to the Quicken site I was routed to a third party tech company that asked me to download a software that allowed them to access my computer for a remote session to fix my computer.  Is that a scam?  I did not do it but how do I get my Quicken 2007 to work with Mountain Lion?

    old diane wrote:
    When I went to the Quicken site I was routed to a third party tech company that asked me to download a software that allowed them to access my computer for a remote session to fix my computer.  Is that a scam?  I did not do it but how do I get my Quicken 2007 to work with Mountain Lion?
    Ahhh, I see that you did not allow them to connect (is this true)
    Here is a link to the Lion/Mountain Lion compatible version of Quicken.
    http://quicken.intuit.com/personal-finance-software/quicken-2007-osx-lion.jsp

  • Windows 2008 R2 Doesn't Allow DPI (Font Size / Scaling) Changes on Remote Sessions

    I am using latest version of RDP Client 6.1  from my local Windows 7 Enterprise system, as well as RDP Client 6.1 from a Windows 2008 R2 server.
    When I connect to other Windows 2008 R2 servers, I am unable to increase the DPI settings.  In Control Panel > Ease of Access > Optimize Visual Display > Change the size of text and icons, I get a screen which says “The display settings
    can’t be changed from a remote session”.
    This is unacceptable.  I am able to change this setting on any Windows 2008 (pre-R2) server in multiple environments.  When is MSFT going to fix this issue in R2?
    I have seen other posts on this issue
    such as this one -- one person suggests exporting the registry settings under
    [HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics and then to set them on my R2 server.
    Can I export those registry keys from a 2008 (non-R2) server where I have set the DPI to 125%, and then import them onto the R2 server?
    Thank you. 

    This sort of works:
    Run this .reg file and logoff/logon.
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
    "BorderWidth"="-15"
    "CaptionFont"=hex:f2,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\
      00,00,00,01,00,00,00,00,54,00,72,00,65,00,62,00,75,00,63,00,68,00,65,00,74,\
      00,20,00,4d,00,53,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "CaptionHeight"="-375"
    "CaptionWidth"="-270"
    "IconFont"=hex:f2,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
      00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "IconSpacing"="-1125"
    "IconTitleWrap"="1"
    "IconVerticalspacing"="-1125"
    "MenuFont"=hex:f2,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
      00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "MenuHeight"="-285"
    "MenuWidth"="-270"
    "MessageFont"=hex:f2,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
      00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "ScrollHeight"="-255"
    "ScrollWidth"="-255"
    "Shell Icon BPP"="16"
    "SmCaptionFont"=hex:f2,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\
      00,00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "SmCaptionHeight"="-255"
    "SmCaptionWidth"="-255"
    "StatusFont"=hex:f2,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
      00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "Shell Icon Size"="32"
    "MinAnimate"="1"

  • Mail: Problem with copy&paste from Remote Session

    Hi,
    I have a problem to copy just text from remote session (MS RDP Client) directly into an email. It always shows a contact .
    The workaround is to paste into any other app, it doesn't matter which one. It works with Outlook for Mac but not with Mail. Does someone have the same issue and maybe a solution?
    Due to connection issues I cannot use Outlook outside the company... so not an alternative at the moment.
    Thanks

    Hi,
    I test the issue with my colleague and didn't find the same issue.
    Here is the screenshot:
    So please check if Lync Server 2013 and all the issued Lync 2013 client update to the latest version firstly, it not update to the latest version, update it and then test again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Remote session was disconnected because there are no remote desktop licence servers available to provide a licence. Please contact the server administrator

    Hi,
    I am getting this error from windows server : remote session was disconnected because there are no remote desktop licence servers available to provide a licence. Please contact the server administrator.
    Remote desktop Session Host Server Configuration Details:
    The RD licensing Diagnoser(WIN-909xxxxxxxxxxx):
    Number of license available for clients : 0
    Remote Desktop Session Host server version: Windows server 2012 R2
    Active Directory Domain : Not applicable
    Licensing mode  : Not configured
    Now, Down I am getting this error as well shown by the system:
    RD licensing Diagnoser Information- 2 errors:
     Win-909xxxxxxxxxx : licensing mode for the Remode Desktop Session Host Server is not configured.
     Win-909xxxxxxxxxx : The grace period for the Remote Desktop Session Host server has Expired, but the RD Session Host server has not been configured with any license servers. connections to the RD Session Host server will be denied
    unless a license server is configured for the RD Session Host server.
    Now my kestion is :
    Do I need to buy a license key of the windows server to not getting this error or it may continue appear even if I purchased the license and not configure RDS and AD.
    Do I need to configured only  RDS and AD and buy the license key of windows server later because I still have 55 day of trial.
    Do I just buy the RDS client access license (L).
    Please could you help on this, am new in windows server?

    Hi,
    As the message indicates, the grace period for the Remote Desktop Session Host server has Expired, you need to purchase and install RDS CALs. Also, you need to configure related settings
    to continue using Remote Desktop Services. Otherwise, you cannot connect to the server remotely.
    References:
    Understand the licensing grace period
    http://technet.microsoft.com/en-us/library/hh553157(v=ws.10).aspx
    Install and issue RDS CALs or TS CALs
    http://technet.microsoft.com/en-us/library/hh553159(v=ws.10).aspx
    Remote Desktop Services Client Access Licenses (RDS CALs)
    http://technet.microsoft.com/en-us/library/cc753650.aspx
    Specify the Remote Desktop Licensing Mode on an RD Session Host Server
    http://technet.microsoft.com/en-us/library/cc754487.aspx
    Specify a License Server for an RD Session Host Server to Use
    http://technet.microsoft.com/en-us/library/cc770585.aspx
    Meanwhile,
    1. AD is not required for RDS. However, it is recommended.
    2. As you do not purchase Windows Server and related licenses as well, I suggest you contacting Microsoft sales or partner firstly.
    How to buy Windows Server 2012 R2
    http://www.microsoft.com/en-us/server-cloud/products/windows-server-2012-r2/buy.aspx
    Best Regards.
    Jeremy Wu
    TechNet Community Support

  • Invalid username/password to call a remote session bean

    I am having a problem accessing a remote session bean,
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (admin); nested exception is:
         javax.naming.AuthenticationException: Invalid username/password for default (admin) [Root exception is javax.naming.AuthenticationException: Invalid username/password for default (admin)]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
    Ejb is delpoyed into an OC4J instance on an application server,
    Tried all username, password, still invalid,
    I am using url as the following:
    env.put(Context.PROVIDER_URL, "ormi://hostname:12401/");
    Does the OC4J instance config affect the url, or url is only related with ip and port?
    Any idea? Thanks a lot.

    When you install OC4J 10.1.3 and run the command "java -jar %J2EE_HOME%\j2ee\home\oc4j.jar", the system will ask for password for the oc4jadmin user.
    I do not recall 10.1.2 version having this feature.
    If you were able to create new user in administrator group, make sure that orion-application.xml contains the following entries.
    <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping name="&lt;jndi-user-role&gt;">
                             <group name="Administrator" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping name="&lt;jndi-user-role&gt;">
                             <group name="Administrator" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    This will allow RMI access to remote users.

  • Unable to Change Screen Resolution in Remote Session - Windows Server 2012 R2

    Does anybody know of a way to allow Remote Desktop users to adjust their own screen resolution in a remote session under Windows Server 2012 R2? We are struggling with this and can't seem to find a solution.
    When users login to their RDP session and try to adjust their screen resolution this message is displayed in Control Panel:
    "The display settings can't be changed from a remote session."
    We don't want to use the "make text and other items larger or smaller" scaling feature, as this produces undesirable results with some of our applications.  We also don't want to have to support multiple types of RDP clients or RDP shortcut
    files.
    We have looked at other posts but can't find an answer that applies to Windows Server 2012 R2.  The closest thing we could find is KB2726399, but it only applies to Server 2008.
    Does anybody have a solution for Server 2012?
    Thanks

    Hi,
    Currently you cannot change the resolution from within the session.  This is normal and expected behavior.  
    Unfortunately this means you need to set the desired resolution before connecting by using custom .rdp files, manually within the Remote Desktop Client, custom web launch page, custom windows launch program, etc.
    -TP

  • KB2923545 remote sessions drop issue

    In our environment we have Remote Desktop Services Host running patched and up to date Windows 2008 R2 Enterprise behind Remote Desktop Gateway running Windows 2012 R2 Standard. Dual Factor
    Authentication from Windows Azure is used in our system as well.<o:p></o:p>
    We experienced following strange behavior. Users with updated Windows 7 clients can successfully authenticate against RD Gateway, receive a call from Windows Azure DFA, authenticate
    and establish remote session to RDSH. No issues while working in remote session until user need step back or minimize the active RD session window. After 120 seconds the session get dropped and reconnects immediately and the user receives another authentication
    call from DFA.<o:p></o:p>
    No errors on client side, no errors on DFA, RDG or RDSH servers, just entries that the session was disconnected and then reconnected.<o:p></o:p>
    Running Wireshark on the clients side shows that the local computer sends RST, ACK which drops connection and then immediately sends SYN to RDG server with initiates connection reestablishment
    and a call from DFA. <o:p></o:p>
    We figured out that this behavior is related to the stations with KB2923545 installed. As soon as we remove mentioned KB, no session drops.<o:p></o:p>
    Anybody experiencing the same and had found other solution then just removing windows update KB2923545? <o:p></o:p>

    Hi,
    Thank you for posting in Windows Server Forum.
    Does this happen on any particular system with specific account?
    As this KB is specific for the issue for your issue, here suggest you to install on another system or reinstall the KB after restating the system. And finally check with new user account without any permission.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Windows Server 2012 Used: Error Message from Windows 7 PC: Remote session was disconnected because there are no remote desktop license servers available to provide a license. Please contact the server administrator.

    We are using Windows Server 2012 Standard installed in VMWare / Virtual machine and to access this we use vSphere client and Remote Desktop Connection / service was already enabled and was working fine with User PCs / laptops remote desktop into the server
    2012, until it gave an error message of: Remote session was disconnected because there are no remote desktop license servers available to provide a license.  Please contact the server administrator. whilst logging into the server. 
    We DON'T use Active Directory nor and we don't use domain and not looking to use it any-time soon. 
    I checked the RD Licensing Diagnoser and it says the grace period has expired and the licensing mode for the remote desktop session host server is not configured.  I have checked the Remote Desktop Gateway has been stopped and I tried to start it and it
    resumed to stop, here I assume its where the licensing part comes in to re-enabled this. 
    I have been trying to follow these articles online: http://ryanmangansitblog.com/2013/03/27/deploying-remote-desktop-gateway-rds-2012/ and http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install  the overview part that I cannot get into,
    because I think we have to be is AD DS for this which we don't.  Is there a way around this for non domain / just standalone set-up?  Is it a must / requirement we need to be in a domain in order for Remote Desktop Connection to work? 
    Also, we have a Windows Server 2012 RDS CALs - 10 (software and licence key), will the licence key work for the Windows 2012 Server Standard?  We do not want to install the other Server mentioned which comes with CAL / licence key as its time consuming
    to reinstall other programs.  I have installed  Server role service of Remote Desktop Licencing and automatically installed other associated services needed.  in the RD Licencing Manager, the Server had a red cross and I "Activate Server"
    where I followed: http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install in Install Licences section and I have used the licence key of CAL - 10 mentioned above; it stated I have successfully completed the install licences wizard and displayed:
    10 Windows Server 2012 - RDS Per User CAL installed, and in the RD Licensing Manager the server turned into a green tick and added the licence.  
    I then tested the Remote desktop connection from my PC and the same error message was there and checked the RD Licensing Diagnoser and the same error messages was there.  I haven't restart the services of Remote Gateway / the server itself; do I really
    need to reboot server?  
    Any advice / guidance would be very much appreciated and this is a urgent matter.  
    Thank you for your time.

    Hotfix Released here:
    http://support.microsoft.com/kb/2916846

  • Problem Calling Remote Session Bean Method

    Need help. I am trying to call a method in a remote stateless session bean in an EJB in my web application from a stateless session bean in a different EJB in the web application. I am getting a run-time error that says,
    "java.lang.NoClassDefFoundError: dtpitb.common.sb.reports.CommonReportsHome"
    ref = ctx.lookup( jndiName );
    // Cast to Local Home Interface using RMI-IIOP
    commonReportsHome = (CommonReportsHome)
    PortableRemoteObject.narrow(ref, CommonReportsHome.class);
    If while in a session bean of an EJB, I want to call a public method in the session bean of a totally different EJB, is there something in particular I am missing. I can make the call from the web application code. I can make a remote call from this session bean to itself in the exact same fashion. I just can't call a session bean in another EJB. All thoughts are welcome.
    Thanks,
    Pete

    Thanks for replying. That could very well be the case I suppose. I'm using JBuilder and WebLogic, and JBuilder pretty much does all of the deployment descriptor code for me. However, maybe this is something I need to incorporate manually.
    One EJB is in the same project as the web application code. The other EJB (common_ejb) is in another project. The calling session bean is in the project with the web app, and the remote session bean method that I'm targeting is in the common EJB session bean. Both EJBs are included in the web app's WEB-INF\lib dir and in the war file.
    So theoretically, this isn't an unconventional practice I assume?
    Thanks,
    Pete

  • Windows server 2012 Data Center with VDI configuration error message ( The remote session was disconnected because there are no remote desktop license servers available)

    Dears,
    I have two windows server 2012 Data Center and I configured (Virtual Desktop Interface)VDI on it's.
    All my clients connected on both of servers by used Remote Desktop sessions ,5 months since.
    Currently,when the clients is connected on the both of servers they received the following error:
    "The remote session was disconnected because there are no remote desktop license servers available to provide license"
    Kindly note, I installed windows Licenses Server Data Center on the both of servers. 
    Regards.

    Hi,
    Please let us know if you have purchased RDS CALs and install it in your RD licensing server.
    Also, on RD Session host servers, please make sure that you have specified the license mode and point them to the RD licensing server.
    Remote Desktop Services Client Access Licenses (RDS CALs)
    http://technet.microsoft.com/en-us/library/cc753650.aspx
    RD Licensing Configuration on Windows Server 2012
    http://blogs.technet.com/b/askperf/archive/2013/09/20/rd-licensing-configuration-on-windows-server-2012.aspx
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

Maybe you are looking for

  • FCP 7 will not see my Canon XHA1S

    I have just bought a new *Canon XHA1S* HD Camcorder and made a few clips, all HD 1080i 50 (PAL). I have tried connect the camera via the 400 (6 pin) Firewire socket on the camera to the 800 on the MAC Pro. No matter what I try the MAC has no idea it

  • Solaris 2.5.1 Supported with 2.3 NI PCI GPIB driver

    I looked all over the NI site for what versions of solaris are supported with what driver version numbers. Is 2.5.1 AKA 5.1 supported with NI driver versions 2.2 and 2.3?

  • How to clone a database

    hi all 1.how to clone a oracle database? 2.what is the difference between cloned database and restored back up of a particular database?

  • JTabbedPane and JTextArea

    I have a problem, and I can't find what I need. I have an application that is suppose to be an address book. I've created 26 tabs (lettered A - Z) and in each tab, I've placed a JPanel (e.g. panelA, panelB, etc) and on each panel I've placed a JTextA

  • How do I reset preferences in Windows 8?

    Adjustments I make to images will not stick. I read that this might be because I need to rest my preferences. I can only find a lesson for how to do this for Windows 7 or XP. I have Windows 8 and the directions do not apply as the path does not lead