Count number of Session Hosts active in RD Connection Broker farm.

Hello,
Is there a way to count how many session hosts are active (not drained) in RD Connection broker farm at a given point of time.
Thank you, 
Kashif

Hi,
What operating system version is this?
If Server 2012/2012 R2 you could use Get-RDSessionHost cmdlet:
Get-RDSessionHost
http://technet.microsoft.com/en-us/library/jj215469.aspx
-TP

Similar Messages

  • Server 2012 R2 RDS- Only want the Session Host, Connection Broker and Licensing Server!

    Hi all,
    Wondering if anyone has experience with implementing Remote Desktop Services (RDS) on Windows Server 2012 R2.
    I am doing an RDS design for a platform where we only need an RDS Session Host, Licensing Server and Connection Broker. We do not need web access as these servers will simply be jump boxes internally!
    However, implementing this correctly in our test environment has proved to be tricky. The options are:
    Use the Server Manager and do a traditional install via Roles and Features ( specifically add the Session Host, Licensing Server and Connection Broker). The installation process seems to go through ok in this scenario but when I head over to the Remote
    Desktop Services section of the Server Manager I simply get the message 'An RDS Deployment does not exist in the server pool. To create a deployment head to Roles and Features'.
    Use the specific ‘Remote Desktop Services installation’ option on the Server Manager and do a Session Based Desktop deployment and Quick Start. This installation process seems to go through correctly and the Remote Desktop Section seems to be working
    correctly via the Server Manager. However this process is ‘hard locked’ i.e. it installs the session host, web access and connection broker. I can then remove the web access component later from Roles/ Features.
    Is there a best practice (if any) for installation? i.e. Will there be any issues down the line if I remove RDS Web Access from my server while following method 2?
    There is a complete lack of documentation from Microsoft here so not sure what to do! Just need a basic RDS session based deployment.

    Hi,
    As I know from server 2012\R2 the best deployment skill is to perform via “Remote Desktop Services” installation mode with Standard deployment and don’t let single role to install. Because when we install through RDS mode, there are specific extra tools and
    services activated along with that deployment which you can’t find with single role installation. And that is for sure, when we install RDS role as of this, by default we will get install RDCB, RDSH and RDWA role installed.
    Sorry don’t have any option to try to remove that role as that role basically needed for RemoteApp and Desktop purpose. But if you want then you can try it with help of “Remove-RDServer”Powershell command.
    https://technet.microsoft.com/en-us/library/jj215506.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    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]

  • Remote Desktop Session Host on Server 2012 not domain-joined

    I have a server 2012 which is running Remote Desktop Session Host role without the Connection Broker like described here:
    http://support.microsoft.com/en-us/kb/2833839
    Now the client would like the Network Level Authentication (NLA) disabled. And since server 2012 does not have the Remote Desktop Session Host Configuration tool, I have to use the server manager console.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/630cc818-69b0-4e1c-8d65-1b895b20e203/where-is-the-remote-desktop-session-host-configuration-tool-in-server-2012-?forum=winserverTS
    But when I go to the remote Desktop Services of Server manager, it says “You are currently logged on as local administrator on the computer. You must be logged on as a domain user to manage servers and collections.”
    So I tried finding some Powershell cmdlet could help me with the problem. I guess
    Get-RDServer
    or Set-RDSessionCollectionConfiguration would be the ones but I can’t seem to make them work.
    Any help, or a hint that I going in the right direction or not?

    Hi,
    Have you configure the certificate for your server?
    Add the user under Remote Desktop user local group, configure FQDN name of server. Please see that if we are using RDS server in workgroup then most of the tools provided to make managing/configuring RDSH servers easier in 2012 will not work in a workgroup
    configuration including some PowerShell command. You can check the below article for information.
    Deploying a RDSH Server in a Workgroup – RDS 2012 R2
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    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]

  • Certificate Mismatch RDS Session Host

    I've been banging my head against this for the last few days. I have a server 2012 remote desktop setup as follows:
    1 Gateway Server
    1 RD Web Access Serve
    1 Session Broker, which is also a session host
    1 Additional Session host
    I'm using remote app to publish applications rather than desktops. I've got a wildcard certificate for the external domain, which works fine for the gateway and web access server, the problem comes with the session hosts, which are giving me a certificate mismatch
    error because connections are made to the internal name (which is a .local address) which obviously does not match the external certificate.
    I have a DNS zone for the external name setup on this domain, so that machines can be resolved by internal or external names.
    I've made some progress by following the steps here - http://serverfault.com/questions/524092/rds-rdweb-and-remoteapp-how-to-use-public-certificate-for-launching-apps-on-s, and things now work fine if I only have the session host that is also the broker
    enabled. Once I add the second session host, any requests that go to that get the certificate error. Connections to the first session host still work fine.
    Does anyone know a way to have requests be made to the external name of the session host?

    Hi,
    1. After making the DNS change, did you flush the DNS cache on the RD Gateway server?  Or even better restart the whole server?
    2. Do you have DNS round robin for any of the other servers in your deployment?  You should
    not.  Additionally, do you have any NLB or other hardware/software load balancing solution in place?
    3. To make sure I have the facts correct, please let me know if the following items are correct:
    a. You are launching a RemoteApp from within RD Web Access using IE running on a Windows 8 PC
    b. When you launch a RemoteApp, the prompt has the following on it (for Calculator in this example):
    Publisher: *.domain.com
    Type: RemoteApp program
    Path: calc
    Name: Calculator
    Remote computer: rdbroker.domain.com
    Gateway server: gateway.domain.com
    c. After clicking Connect it goes through several status messages and then you get a Certificate error saying essentially:
    Name mismatch
         Requested remote computer:
         rd02.domain.local
         Name in the certificate from the remote computer:
         *.domain.com
    Certificate errors
      The following errors were encountered while validating the remote
      computer's certificate:
         The server name on the certificate is incorrect.
    d. In Deployment Properties, RD Gateway tab, Bypass RD Gateway server for local addresses is
    unchecked.
    4. Do you have multiple configured network cards in each server, or just a single NIC that has an ip address?
    5. Have you modified the default firewall configuration of your servers?  In other words, can I assume they are on the same subnet and are able to communicate with each other in the default domain configuration, or have changes been made and/or is
    there a third-party firewall software or device in place that could be affecting things?  I ask because normally the broker will authenticate the destination server using Kerberos and if something interferes with this you can get unexpected errors.
    I believe you are close to solving this now.
    Thanks.
    -TP

  • RDS Connection Broker does not distribute the load among Session Hosts

    Hello Folks,
    I have a three server RDS setup in which the roles are distributed as follows:
    S1 -> RD Web Acc / RD Gateway / RD Connection Broker /Session Host
    S2 -> Licensing Server / Session Host
    S3 -> Session Host (and most powerful server)
    I would like the load to be distributed among the session hosts, depending on the resources of the servers. But in my setup, all the apps launched by the users are ran on S1 for some reason.
    Also, when I disable S1 from the list of session hosts that accept new connections, and start a new app from the conseole, I get an error saying: " An authentication error has occurred (Code0x607)"
    Any tips? 
    Edit: I had a workaround for Code 0x607 but I still get an error saying that "Couldn't open this program or file. Either there was a problem with <appname> or the file you're trying to open couldn't be accessed" 

    Hi,
    Thanks for your comment.
    Yes, we can deploy RDSH on all 3 servers and use as session host and that is a normal scenario for RDS Farm. You can refer following article for reference.
    Checklist: Create a Load-Balanced RD Session Host Server Farm by Using RD Connection Broker
    http://technet.microsoft.com/en-in/library/cc753891.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Total Number of Session

    Hi
    Is there any way through which i can see total number of active sessions in a Essbase. I can see session all active sessions in server but i want to know total number like 500,700 etc.
    Please let me know if there is any log file which tell this information for a given point of time.
    Please do let me know if there is any command or script through which we can achieve it.
    I
    Thanks

    Hi
    Thanks for your reply
    I tried with this command but it is showing all sessions in result pane.
    I want to count them like whether they are 500 or 700 or ...
    it shows only number of column returns but not number of rows.
    Please let me know is there any setting or way through which i can find number of rows of sessions.

  • RD session host is not detecting the license

    My RD session hosts are not able to recognize the RDS CALs. Here is my setup:
    License Server :
    Windows 2012 Server (workgroup), running on Amazon cloud
    No. of license: 20
    License activation is done.
    RD session host server:
    Windows 2008 R2 (workgroup), running on Amazon cloud
    Can connect to license server on port 135
    License server is added in the RD session host
    Licensing Diagnosis under RD session host detects the License server fine and give positive report. (Screenshot attached)
    Few other settings:
    These are user based CALs.
    Firewall is disabled on the license server
    As this is in workgroup, the Administrator's password on license server and on RD session host server is same. (else the license diagnosis will fail).
    ISSUE:
    Even though RD session host is detecting the license server fine as well as the licensing diagnosis gives a positive report, I get the typical balloon pop up saying "RDP connection will be lost after 119 days... " (the typical message it shows
    when you do not have RD session host license.)
    What Am I missing here. Any pointers would of great help. 

    Hi,
    Thank you for posting in Windows Server Forum.
    You need to contact MS Clearinghouse with you all license related documents and numbers with all paper in hand and explain them the scenario they will help you. Below links helps to locate the MS clearing house.
    Locate the Microsoft Clearinghouse Telephone Number for Your Country or Region
    More information:
    Switching Between Device and User CALs
    This statement “RDS Host and RDS licensing server roles can both be installed on the same server” indicates that you can install RDSH and RDLS on same server. In addition, RDS server 2012 required RD Licensing Server 2012. But
    yes, you can install server 2012 RD Licensing Server and associate your RDS CAL’s on it and let’s your RD Session Host server works on server 2008 R2. 
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • ORA-12721: operation cannot execute when other sessions are active

    Hi,
    I started my DB like following :
    1) Change INIT.ORA file;  unset parallel_server parameter.
    2) Execute these commands:
    STARTUP MOUNT ;
    ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ALTER DATABASE OPEN;
    SHUTDOWN IMMEDIATE;
    SQL> STARTUP RESTRICT  pfile='C:\oracle\product\10.2.0\db_1\database\initORCL.ora';
    ORACLE instance started.
    SQL> alter database national character set INTERNAL_CONVERT UTF8;
    alter database national character set INTERNAL_CONVERT UTF8
    ERROR at line 1:
    ORA-12721: operation cannot execute when other sessions are activeWhy this error when DB is opened in strict and I'm the only user ?
    SQL> select count (*) from v$session;
      COUNT(*)
            20Any solution ?
    Thank you.

    Hi
    This operation is dangerous, please ensure that you have a full backup before doing that operation.
    Please use that order :
    SHUTDOWN IMMEDIATE;
    -- make sure there is a database backup you can rely on, or create one
    STARTUP MOUNT;
    ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ALTER DATABASE OPEN;
    ALTER DATABASE CHARACTER SET <new_character_set>;
    -- a alter database takes typically only a few minutes or less,
    -- it depends on the number of columns in the database, not the
    -- amount of data.
    SHUTDOWN;
    Please note that :
    The command requires the database to be
    open but only one session, the one executing the command, is allowed.
    For the above error conditions Oracle9i will report one of the errors:
    ORA-12719: operation requires database is in RESTRICTED mode
    ORA-12720: operation requires database is in EXCLUSIVE mode
    ORA-12721: operation cannot execute when other sessions are active
    Oracle9i can also report:
    ORA-12718: operation requires connection as SYS
    if you are not connect as SYS (INTERNAL, "/ AS SYSDBA").
    Let us know if this helps.
    regards,
    Hub
    Edited by: Hub on Dec 10, 2008 1:22 PM

  • How to limit number of sessions for an Application

    Hi,
    I have an ASO application running on Essbase 7.1.5 version.
    This Essbase cube is widely used by the BO ( business objects ) Web I services for retrieving data in there Dash Boards.
    No I want to restrict number of sessions on this application. We have SERVERTHREADS through which we can set limit on application wise.
    SERVERTHREADS [application] 20;
    When I set this in the Essbase config file on this server and bounce the Essbase services. Will this really help me in limiting the session till 20 for this application . I see we can set minimum 20 and maximum 500 using server threads.
    What will happen to the session which excceds 20. will they be kept in queue ?.
    Pls let me know if this work. Else pls suggest me the best one.
    Some information for you – in the Essbase ->properties->statistics-> I see Ports Available are 65531
    Thanks
    MS

    HI,
    1. SERVERTHREADS does not contain/limit the count of sessions one can have .
    2. Count of ports will help you decide what is the default SERVERTHREAD count , in your case its 20.
    3. the count 20 signifies the number of threads which a transaction can use ( here threads are nothing by the operating system level threads, to do with the processes and processor).
    4. If you have multiple transactions and you want to improve the performance of them ( in case of slow response or so). You can increase the thread count , to make more threads work for your transactions. Again , this does not limit the count of sessions .
    5. I did not understand the obejctive behind limiting the sessions and avoiding users from accessing . I think , this defeats the whole purpose of having cubes then. You have many cubes ,and huge number of users who pull data and essbase and its kernel are capable of handling this . If you still want to restrcit, might as well set their security ( by letting them not to access cubes).
    Hope this adds value
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Event ID: 1280 Server 2012 RDS - web app fail on second session host

    Hello there
    Topography
    SBS 2011 (domain controller)
    Two VM’s:
    VM1 – All RDS rolls: RD Gateway , Connection broker, Licensing and RD access installed and acting as a session host with an active collection for RD web apps. A CA trusted certificate is installed.
    VM2 – Session host with a second collection for RD web apps
    Problem
    I have a single app installed on both session hosts (the apps require their own servers). Both appear on the RDWeb site available for use.  I can run the app hosted on VM1 no problem, but when I try to open the second app hosted on VM2 I get
    two issues:
    An error is returned
    “Your computer can’t connect to the remote computer because the Remote Desktop Gateway server address and the certificate subject name do not match. Contact your network administrator for assistance".
    When viewing the certificate, it actually shows the CA cert installed on the
    SBS server for RWW, not the cert on VM1. This has me puzzled
    Secondly on VM 2, I get
    Event ID: 1280 Warning Microsoft Windows TerminalServcies-session broker client
    Remote Desktop Services failed to join the Connection Broker on server sever-vm1.local.
    Error: Current async message was dropped by async dispatcher, because there is a new message which will override the current one.
    When I run the app internally it seems to load but then disappears.
    Some further config info if it is relevant:
    I have port 4043 (443 used) as the only port directed to the gateway
    Am I missing something simple? DNS? Port forwarding issue on the router?  Its my first deployment of this nature with RDS 2012
    Regards
    MIS5000

    Hi,
    Thank you for posting in Windows Server Forum.
    Firstly please check the RDP version you are using. I suggest you to update to RDP 8.1 for better feature and functionality. Now other thing verify that you have the RD Gateway certificate name matches the external FQDN of the RD Gateway Server. Also please
    check that certificate is added under local computer\personal store and must be signed by trusted root authority. 
    Please check below article for more detail.
    TS Gateway Certificates Part III: Connection Time Issues related to TS Gateway Certificates
    http://blogs.msdn.com/b/rds/archive/2008/12/18/ts-gateway-certificates-part-iii-connection-time-issues-related-to-ts-gateway-certificates.aspx
    In regards to resolve other issue (Event ID 1280), identify and fix any connectivity problems between the RD Session Host server and the RD Connection Broker by doing the following:
    • Check network connectivity to the RD Connection Broker.
    • Start the Remote Desktop Connection Broker service. 
    • Add the RD Session Host server to the Session Broker Computers group.
    More information.
    Event ID 1280 — RD Connection Broker Communication
    http://technet.microsoft.com/en-us/library/ee890889(v=ws.10).aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Windows Components/remote desktop services/remote desktop session host/profile doesn't appear to be working on 2008R2 boxes

    I have two domains.   One is an account domain with a one way trust with the resource domain.   Resource domain trusts the account domain and has a number of 2008R2 servers running within.  I am experiencing severe logon delays
    due to these servers being unable to access the server that hosts the user home folder specified directly on the user account profile tab from the account domain.   When using my workstation in the actual account domain (corporate) I have no
    problems.
    Because of these network restrictions,  I need to override the 2008R2's desire to access that user home folder location in the account domain.
    So far the best thing I have found to try is Windows Components/remote desktop services/remote desktop session host/profile/Set Remote Desktop User Home Directory
    The problem is that so far I have tried to configure this to point to both a local folder as well as a network path and it doesn't appear to be doing anything.   Not seeing any errors in the app or system log either.
    It is still trying to map the path in the account domain.
    Any ideas?
    Is there a better way to accomplish my goal?   The servers in the resource domain will be Citrix servers and there will be a lot of users connecting from the account domain.
    I tried this setting too,  but it only seems to work on the 2012 machines in my Resource domain.
    With the introduction of Windows 8 and Windows Server 2012 there is now a new group policy setting called “Set user home folder” and is found under Computer Configuration > Policies > Administrative Templates > System > User Profiles
    Help!

    Hi,
    This might be due to permission problems. Please check whether the user accounts for whose home folder to be redirected have permissions in the shared folder specified in the server. 
    Checkout the below link on Best Practice for creating Roaming Profile and Folder Redirection
    http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/
    Regards,
    Gopi
    JiJi
    Technologies

  • Active users and connections in v$session

    How can I write an SQL script or query to find the following :
    1. The total number of times a user called BRIGG connects to the database in a day(24 hour period)
    2. The STATUS in V$SESSION could be ACTIVE or INACTIVE. I needed to track as to how many times, the user BRIGG was ACTIVE on a given day(24 hour period)
    Thanks

    1.
    You can audit user logons with the database trigger and then run sql over your own audit table (http://www.dba-oracle.com/art_builder_sec_audit.htm)
    or
    you can use oracle audit trail (http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/audit.htm#1108)
    to audit brigg's session using
    audit session by brigg;
    Check out this article - http://www.securityfocus.com/infocus/1689
    2. I don't think there is straightforward way to do it. You can wite the procedure or script to
    select sysdate,status,username from v$session where username ='BRIGG' ;
    run it at desired interval (i.e every second) and capture the output in the table for the later analysis.
    What are you trying to achive by 2? I don't see a lot of sense in monitoring ACTIVE/INACTIVE status of the session - what kind of infromation are you trying to extract from it? May be there is another way ...
    Mike

  • Using Windows Server 2012 per-User RDS CAL on Server 2008 R2 Session Host

    I have a Remote Desktop Licensing Server setup on my domain controller running Windows Server 2012 R2. I have installed a
    ’Windows Server 2012 Remote Desktop Services per-User CAL’ there and activated the licensing server already.
    Currently I use ONLY Windows Server 2008 R2 machines as RDS Session Hosts (in the future I plan to transition them to 2012 R2, hence the CAL I bought is
    already in the newest version).
    I have already configured my WS 2008 RDS Session Hosts: set
    Per-User licensing mode and specified license server address. The connectivity between my Session Host(s) and my License Server seems to be ok as the
    Remote Desktop Session Host Configuration window on the Session Host correctly lists the 2012 per-user
    license (CAL installed on server) from the license server.
    On the License Server I can also see event logs entries (in
    Microsoft-Windows-TerminalServices-Licensing/Admin), indicating that the user has been issued a license.
    The issue I am having is that the license being issued is
    2008 Per User CAL license (Build-in OverUsed - temporary) and not the 2012 Per User CAL license which is the only license installed on the server. According to the RDS CAL interoperability matrix at
    social.technet.microsoft.com/wiki/contents/articles/14988.rds-and-ts-cal-interoperability-matrix.aspx, I was expecting the 2012 license to be backward-compatible with 2008 client (and that
    in the absence of legacy licenses, the (only) 2012 license would be used for all clients connecting to the licensing server)
    Before I bought my license, I found this document: 
    download.microsoft.com/download/3/D/4/3D42BDC2-6725-4B29-B75A-A5B04179958B/WindowsServerRDS_VLBrief.pdf 
    which says that - "newer version RDS CALs can be used with an older version of the server software" (In section FAQ, Q4), which means to me that
    the 2012 license would work as-is for the 2008 Server and gives me flexibility when upgrading to the new server version.
    How can I make this CAL work in my environment? 
    Note:
    I have already explicitly disabled
    Prevent license upgrade Group Policy setting which I assumed would fix the issue but nothing has changed.
    Then I have enabled License server security group Group Polity setting
    and added computers from my domain to RDS Endpoint Servers AD group. I have also created new AD group called
    Terminal Server Computers and added the computer accounts there, but it changes
    nothing. Reference - technet.microsoft.com/en-us/library/ee791761.aspx , technet.microsoft.com/en-us/library/cc725704.aspx and blogs.msdn.com/b/rds/archive/2009/09/17/control-the-issuance-of-rds-cals.aspx.
    I found one potential ‘workaround’ which involved manually downgrading my CAL license by calling
    Microsoft Clearinghouse. I am very reluctant do to so because, as I upgrade parts of my infrastructure to Server 2012, I’d need to then ask Microsoft to manually upgrade a part of my license back as well.
    Am I missing something? What should I do to get my 2012 CAL to be issued to 2008 R2 server

    Hi, I have tried several other possibilities.
    I change expire date for my temporary assigned license (2008 CAL overused). It can be done, by changing Active Directory user properties – msTSExpireDate. When I restart my Session Host server and logged again, my license was renewed
    for next 60 days (event ID - 4145).
    I also delete information about license for this user (clear msTSExpireDate and msTSLicenseVersion). And the license was successfully removed from License Manager. After another SH restart it gets the same – 2008 overused – license
    (event ID 4143 - license server has successfully issued …)
    I now, that changing info in AD attributes is a little trick, and this is not a real value - only a reference, but it was useful to delete or change expiration date of license. But it didn’t change type of license as I expected.
    Reference -
    http://discussions.citrix.com/topic/243320-windows-2008-licensing-questions/
    To TP:
    I have found your post with information:
    If you have a Server 2012 RD Licensing server you may install your 2012 RDS CALs on it (no downgrade necessary) and then set your Server 2008 R2 RDSH to
    use the 2012 RDL server.  The 2012 RD Licensing server will automatically issue the CALs as 2008. -
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/6046ded1-96bf-4d79-89ce-38aac2a6694e/can-we-use-windows-server-2012-rds-cal-license-in-rds-2008-r2-server?forum=winserverTS
    And it showing my situation in brief. I also found
    similar problems, but the solutions don’t meet my expectations.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dcfb1966-89a8-4b5d-bf5a-ff03ac0b7a66/rds-cal-licenses-not-recognized?forum=winserverTS
    – “sudden all of the CALS were available”
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/f1228599-8452-4a3e-a263-061de14bfcfe/server-2012-rds-builtin-overused-cals-issue?forum=winserverTS
    – “this should go away after a while”
    Is there a way to determine this time you mentioned before? Or should I just wait patiently…

  • SCCM report query that displays count of cpus per host and if host is physical or virtual

    Hello,
    I have this query that displays the count of CPUs per host.  How can I add a column to show if the host a physical or virtual?
    SELECT
    DISTINCT(CPU.SystemName0) AS [System Name],
    CPU.Manufacturer0 AS Manufacturer,
    CPU.Name0 AS Name,
    COUNT(CPU.ResourceID) AS [Number of CPUs],
    CPU.NumberOfCores0 AS [Number of Cores per CPU],
    CPU.NumberOfLogicalProcessors0 AS [Logical CPU Count]
    FROM [dbo].[v_GS_PROCESSOR] CPU
    GROUP BY
    CPU.SystemName0,
    CPU.Manufacturer0,
    CPU.Name0,
    CPU.NumberOfCores0,
    CPU.NumberOfLogicalProcessors0

    I see that you have posted this exact question in another forum for CM12, however this is an CM07 forum.  
    Are you CM07 or CM12?
    If you are CM12, use my answer here.
    http://www.systemcentercentral.com/forums-archive/topic/sccm-report-query-for-cpu-cores/
    If you are CM07, this is NOT a simple how exactly do you detect that a computer is a VM? You can guess by looking at the manufacturer name but it is only a guess.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • RE: Tab Groups. 1. What will erase saved tab groups unintentionally? E.g. : Clearing Cashe, running CCleaner? 2. Does keeping a large number of tab groups active degrade my computer's performance? 3. Are tab groups saved during back-ups?

    RE: Tab Groups.
    1. What will erase saved tab groups unintentionally? E.g. : Clearing Cache, running CCleaner, other actions?
    2. Does keeping a large number of tab groups active degrade my computer's performance?
    3. Are tab groups saved during back-ups?
    Running Win 7 Pro, browsing Firefox 7.0.1

    App (pinned) tabs and Tab Groups (Panorama) are stored as part of the session data in the file sessionstore.js in the Firefox profile folder.
    Make sure that you do not use "Clear Recent History" to clear the "Browsing History" when Firefox is closed because that prevails and prevents Firefox from opening tabs from the previous session.
    * https://support.mozilla.com/kb/Clear+Recent+History
    If you use cleanup software like CCleaner then make sure that Session is unchecked in the settings for the Firefox application.

Maybe you are looking for