Sccm sql

Hello im installing sccm but I don't understand during the installation they ask me the server , the instance, the data base name
broker port 4022.
I try to put my server name its ok , my instance MSSQLSERVER I created durinf sql installation the defaut, but im not sure for the database name , is it the same and the port is it correct ? I open the session with my service account member of sa (sysadmin)Cannot
connect to the database !
an idea on how to verify and can I do it ?

Hi
When you get to the Database information page, during the ConfigMgr 2012 installation, you would fill it out something like this:
SQL Server name: Name of Your SQL Server
Instance name: Leave it blank for default instance
Database name: CM_YourSiteCode (Leave the default name)
Service Broker port: Leave the default of 4022
Verify that the SQL Browser service, SQL Server Service and SQL Reporting Service are running on your SQL Server and if the SQL Server is on a remote machine, that no firewall block the communication.

Similar Messages

  • Can I use the SCCM SQL Instance license to install DPM on a different machine.

    Hello,
    We have an instance of SCCM with the included SQL Server instance and I wanted to install DPM and link it to the same Db instance that we got with SCCM?  Is the SQL Server licensed for all System Center products?

    It's not really a matter of licensing in this case. The SQL server installation is not "Included with" Configuration Manager as a Primary or Central Administration site requires a full version of SQL Server. This link can give you a bit more info
    on that
    http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigSQLDBconfig
    Installing DPM and SCCM on the same SQL instance is possible, however, depending on how many clients you plan on supporting you may run into performance issues. To learn more about SQL server with System Center, there is a good guide here:http://gallery.technet.microsoft.com/SQL-Server-guide-for-8584c403
    Thank you very much, that was the kind of info I was looking for.

  • Rename SCCM SQL Database is this possible

    I would like to rename the SCCM 2012 database. I found a few links explaining how to rename the SCCM Database in SCCM 2007 using a site reset but I have not found anything on SCCM 2012. http://blogs.technet.com/b/configurationmgr/archive/2009/10/27/renaming-the-configuration-manager-2007-database.aspx
    Does anyone know if renaming the SCCM 2012 DB is possible. I would only like to rename it and not move it. I was able to get to the change SQL configuration options in the site reset wizard. The SQL server name could be change but the database name
    was grayed out and could not be changed.
    Thank you in advanced

    The reason for the rename is because we would like to use Configuration Manager 2012 Web Frontend for remote control access. This will give our Helpdesk and Desktop techs a web interface to be able to use for remote control feature without requiring the
    management console installed. We used something similar in the past and was very popular in our users. The problem is that the software is looking for an SCCM DB that is named CM_OURSITECODE. When setting up our SCCM 2012
    DB we used a different name for the database SCCM2012DB. I would like to  change our database name to CM_OURSITECODE so this Web Frontend software will work.
    I see where it says it is supported but that is for SCCM 2007 and we are using 2012. When I try the steps in the post I can change the server name but the database name is grayed out and can't be changed. In my case I would
    like to leave the server name alone and just change the database name. With the option being grayed out I'm thinking that MS has changed something to not allow DB name changes in SCCM 2012. I have not been able to find any documentation that states it is supported
    or not.
    IIRC, it's not best practise to talk directly to the DB either. This vendor probably should have used the SMS Provider instead.
    SMS Provider vs SQL Server: Although Configuration Manager leverages SQL Server for data storage, SQL Server is NOT the primary programming interface to Configuration Manager. The primary programming interface to Configuration Manager is the SMS Provider (WMI) - object creation and modification must be done via the SMS Provider. You should consider SQL Server as providing read-only access to Configuration Manager data for querying and reporting purposes. This is not a matter of permissions, rather matter of maintaining data integrity.
    http://msdn.microsoft.com/en-us/library/dn529009.aspx
    Tim Nilimaa-Svärd | Blog: http://infoworks.tv | Twitter: @timnilimaa

  • Need a SCCM SQL Query Report for Installed Software with Packages and Applications.

    I need a report that will show the number of installs of all of the workstations applications and packages over a given period of time. 
    This will let us know how effective our deployments are and how well the on-demand software is being adopted.
    Any help?

    Your Install Source might be an option as most SCCM deployments will install from C:\Windows\ccmcache\xx [where xx is a random folder name]. Most software vendors will put an install source in the registry, but not all do, so it won't be completely accurate.
    When software is installed manually, the install source path won't be C:\Windows\ccmcache\xx.
    Here is a SQL query I have for Install Source:
    SELECT v_GS_COMPUTER_SYSTEM.Name0 as 'Computer Name', v_GS_INSTALLED_SOFTWARE.ProductName0 as 'Software Title', v_GS_INSTALLED_SOFTWARE.InstallSource0 as 'Install Source', v_GS_INSTALLED_SOFTWARE.ProductVersion0 as 'Version', v_GS_INSTALLED_SOFTWARE.InstalledLocation0
    as 'Installed Location', v_GS_INSTALLED_SOFTWARE.InstallDate0 as 'Install Date'
    FROM v_GS_COMPUTER_SYSTEM INNER JOIN v_GS_INSTALLED_SOFTWARE ON v_GS_COMPUTER_SYSTEM.ResourceID = v_GS_INSTALLED_SOFTWARE.ResourceID
    WHERE v_GS_INSTALLED_SOFTWARE.ProductName0 like '%Office 365 Pro%'
    ORDER BY v_GS_COMPUTER_SYSTEM.Name0

  • 2 SCCM SQL instance on same server

    Hi all,
    we are trying to deploy a SCCM 2012 SP1 CAS & a primary site but we have a single SQL server hosting SQL instances for both the CAS & the Primary site.
    We have done the installation of CAS but while installing the primary site we got a port issue as we have used 4022 for CAS & we were using again 4022 for the primary site. Can we use 1433 for the primary site here.
    Thanks,
    Pranay.

    You need to change the SSB port for one of the instances from 4022 and of course the SQL port needs to be changed from 1433.
    Why would you do this though? If your SQL server truly has capacity for hosting both DBs, then there is no way that you need multiple primary sites.
    Jason | http://blog.configmgrftw.com

  • SCCM sql query Client status if active or not in specific Collection

    I would like to create an sql report to show if config manager client is active or not in specific Collection
     ,  im  using  the  query  belong to  "ManoharPusala"
    Thank  you  so  much    which  is  
    SELECT S.Name0 as 'Computer Name', S.User_Name0 as 'User Name',Case when CS.ClientActiveStatus='1' then
    'Active' When CS.ClientActiveStatus='0' then 'Inactive' end as 'Client Active Status' FROM v_R_System S inner Join v_CH_ClientSummary CS on S.ResourceId=CS.ResourceID
    is  working  as  well  but  i  want  to  modify  it  to query  form  a  specific  Collection
     ,  please  help  me  . 
    Thanks  

    Hi,
    Please try to add "Join _RES_COLL_collectionID as coll on s.Name0=coll.name" to the end of the query.
    SELECT S.Name0 as 'Computer Name', S.User_Name0 as 'User Name',Case when CS.ClientActiveStatus='1' then 'Active' When CS.ClientActiveStatus='0' then 'Inactive' end as 'Client Active Status' FROM v_R_System S inner Join v_CH_ClientSummary CS on S.ResourceId=CS.ResourceID join _RES_COLL_PRI0000A as coll on S.Name0=coll.name
    Best Regards,
    Joyce

  • SCCM SQL report to get McAfee installed machine

    I am trying the below SQL query to get McAfee installed machine but i am getting duplicate value,
    SELECT DISTINCT Netbios_Name0 as [Computer Name] , AD_Site_Name0 as [AD SIte Name], User_Name0 as [User Name], Operating_System_Name_and0 as [Operating System], dbo.v_GS_OPERATING_SYSTEM.Caption0 as [Operating System], dbo.v_GS_WORKSTATION_STATUS.LastHWScan
    as [Last Communication Time], dbo.v_GS_SoftwareFile.FileName
    FROM         dbo.v_R_System INNER JOIN
                          dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID INNER JOIN
                          dbo.v_GS_WORKSTATION_STATUS ON dbo.v_R_System.ResourceID = dbo.v_GS_WORKSTATION_STATUS.ResourceID INNER JOIN
                          dbo.v_GS_SoftwareFile ON dbo.v_R_System.ResourceID = dbo.v_GS_SoftwareFile.ResourceID
                          where 
                          (dbo.v_GS_SoftwareFile.filename like 'frameworkservice.exe') or
                          dbo.v_GS_SoftwareFile.filename like  'mcshield.exe'
    If i give one condition, i am getting the correct value but i include more then one condition getting duplicate value, Can anyone help me on this

    No i am getting a machine name as duplicate.
    If the both .exe available in machine, it gives me two entry of the machine.
    Post a screenshot.  
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM sql query Client status if active or not

    I would like to create an sql report to show if config manager client is active or not, right now I query
    v_R_System, for installed client. Any guidance on which table to query for active or not active clients would be helpful.

    I had the same question. I found that this query does what I wanted. You can certainly change the number of days since LastHardwareScan.
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ResourceId in (select SMS_R_System.ResourceID from
    SMS_R_System inner join SMS_G_System_WORKSTATION_STATUS on SMS_G_System_WORKSTATION_STATUS.ResourceID = SMS_R_System.ResourceID where DATEDIFF(dd,SMS_G_System_WORKSTATION_STATUS.LastHardwareScan,GetDate()) < 90)
    I hope this helps :)

  • SCCM SQL Query ~

    Can you provide me to find the the login hours of particular user name using SQL query.
    Thanks

    Logon hours is an AD attribute and is not stored in CM07.
    If however you are asking when did someone logon to a PC. This info is not stored by CM07 and again you should query ad for this info.
    http://www.enhansoft.com/

  • Help needed for SCCM SQL query

    Hello.
    I have the below query to extract the workstations build date as well as the hardware info. This works fine. 
    Select distinct
    v_R_System.Name0,
    v_GS_COMPUTER_SYSTEM.Manufacturer0,
    v_GS_COMPUTER_SYSTEM.Model0,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0,
    v_GS_OPERATING_SYSTEM.Caption0,
    v_GS_OPERATING_SYSTEM.CSDVersion0,
    v_GS_OPERATING_SYSTEM.InstallDate0
    From v_R_System
    LEFT JOIN v_GS_OPERATING_SYSTEM ON v_GS_OPERATING_SYSTEM.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM_PRODUCT ON v_GS_COMPUTER_SYSTEM_PRODUCT.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM ON v_GS_COMPUTER_SYSTEM.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_SYSTEM_CONSOLE_USAGE ON v_R_System.ResourceID=v_GS_SYSTEM_CONSOLE_USAGE.ResourceID
    Where v_GS_OPERATING_SYSTEM.Caption0 = 'Microsoft Windows 7 Enterprise' and v_R_System.Is_Virtual_Machine0 =0
    order by v_GS_OPERATING_SYSTEM.InstallDate0 desc
    Now, I want a report of count of machines built based on "v_GS_COMPUTER_SYSTEM_PRODUCT.Version0" against every month and year of "v_GS_OPERATING_SYSTEM.InstallDate0".
    For example, I want to know the number of machines under a particular model (which appears under  v_GS_COMPUTER_SYSTEM_PRODUCT.Version0) built in June 2014. In this fashion I want a report for every model count for every month and year available under
    InstallDate0 column)
    Example:
    Jan 2013 ->  ThinkCentre M92p -> 55
    Jan 2013 ->  ThinkCentre M93 -> 40
    Feb 2013 ->  ThinkCentre M92p -> 10
    Feb 2013 ->  ThinkCentre M93 -> 39
    Jan 2014 ->  ThinkCentre M92p -> 20
    Jan 2014 ->  ThinkCentre M93 -> 25
    Feb 2014 ->  ThinkCentre M92p -> 12
    Feb 2014 ->  ThinkCentre M93 -> 35
    Can anyone help?

    After scratching my head a bit, I came up with the below. Do you find any flaw in it?
    Select
    v_GS_COMPUTER_SYSTEM.Manufacturer0 as Manufacturer,
    v_GS_COMPUTER_SYSTEM.Model0 as Model,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0 as "Model Info",
    COUNT(*) as "No. of machines built",
    CASE WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '1' THEN 'January'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '2' THEN 'February'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '3' THEN 'March'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '4' THEN 'April'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '5' THEN 'May'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '6' THEN 'June'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '7' THEN 'July'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '8' THEN 'August'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '9' THEN 'September'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '10' THEN 'October'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '11' THEN 'November'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '12' THEN 'December'END as "Month",
    YEAR(v_GS_OPERATING_SYSTEM.InstallDate0) as "Year"
    From v_GS_COMPUTER_SYSTEM
    LEFT JOIN v_GS_OPERATING_SYSTEM ON v_GS_OPERATING_SYSTEM.ResourceID=v_GS_COMPUTER_SYSTEM.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM_PRODUCT ON v_GS_COMPUTER_SYSTEM_PRODUCT.ResourceID=v_GS_COMPUTER_SYSTEM.ResourceID
    Where v_GS_OPERATING_SYSTEM.Caption0 = 'Microsoft Windows 7 Enterprise' Group By v_GS_COMPUTER_SYSTEM.Manufacturer0,
    v_GS_COMPUTER_SYSTEM.Model0,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0,
    Month(v_GS_OPERATING_SYSTEM.InstallDate0),
    YEAR(v_GS_OPERATING_SYSTEM.InstallDate0)
    Order by v_GS_COMPUTER_SYSTEM_PRODUCT.Version0 desc

  • SCCm 2007 what is SQL table name for Status Message details

    Can some one tell me below snapshot content data in which SCCM SQL table
    [email protected]

    Hi,
    That is table name, where you can find only object details, where the package is advertised and what s the status, 
    description you won't find in database, 
    description is depend on the status code,
    Sharad Singh | My blogs: SharadTech | Twitter:
    @SinghSharaad | | Please remember to click “Mark as Answer” on the post that helps you.This can be beneficial to other community members reading the thread.

  • How to find using SQL query application deployed on win 7 machines with SCCM 2012 server or user installed manually.

    Hi,
    how to find using SCCM SQL query,  application deployed on win 7 machines with SCCM 2012 server or user/technician installed manually. Please let me know.

    Thanks, is it not possible via any script also?
    Like Torsten said, how can you tell the difference between CM12 installed applications and locally installed? Once you can answer that, then you can write report.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SQL Server Creating Blocking Alerts

    I have a SCCM 2012 R2 system that has separate App and Sql servers. I installed CU4 on 3/5. Here of late my DBA support team has been getting a lot of "Blocking Alerts" from the SQL side of things. This is a sample email:
    From: sccm-sql mail
    Sent: Monday, March 16, 2015 3:15 PM
    To: DBASupport
    Subject: SCCM-SQL Blocking Alert
    DatabaseName                  
    BlockedSPID BlockedLogin    Threads    
    BlockingSPID BlockingLogin
      BlockingSQL      
    CM_HS2                                 
    85 SCCM-2012$               
    1          
    86 SCCM-2012$   
      select CI_ID, CI_UniqueID, ModelId, CIType_ID, PolicyVersion, Precedence, DateCreated, DateLastM
    odified, LastModifiedBy, PermittedUses, IsBundle, IsHidden, IsUserDefined, IsEnabled, 
    SourceSite,
     A                                                           
    (1 rows affected)
    Any thoughts on why these are happening? Did I forget something when installing CU4?

    Hi,
    Check the step by step guide
    Step-by-Step SCCM 2012 R2 CU4 Installation guide
    And since the issue is related to SQL performance, it would be difficult for troubleshooting without accessing your environment, I would suggest to contact with CSS support.
    https://support.microsoft.com/en-us/gp/profsup/en-au
    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 Subscriber Support, contact [email protected]

  • WSUS reinstall on 2012 SCCM server post-installation task fails to run/finish

    I had to re-install WSUS on a 2012 R2 SCCM server (Windows 2012), and am running into several issues re-installing. It may help to point out that the SCCM SQL server is remote, so this isn't a WSUS / SQL 2012 issue.
    The sticky post at the top of the WSUS forum has helpful troubleshooting information, and I have tried going through this as well as many other threads on this very topic of re-installing WSUS.
    1. Roles for WSUS and WID were removed successfully. The WSUS Website was manually deleted from IIS. As this is a SCCM server, removing the IIS role is not an option.
    2. I removed the existing WID database files for SUSDB
    3. After rebooting, I verified registry keys were gone, system files were cleaned up, and deleted the program files\update services directory
    4. This isn't a permission issue, as I have clearly installed this before on this server.
    5. Registry keys, system files, and susdb files no longer exist, and the server has rebooted cleanly.
    6. I am able to add the WSUS role selecting WID, and this installs WID without any errors. At this point, simply clicking the post installation task fails, generates an empty .tmp file in my %appdata%\temp folder, and exits the MMC. 
    7. This file is blank. Absolutely empty, so I couldn't really troubleshoot any post installation tasks.
    8. Further investigation shows that the 'C:\Program Files\Update Services\Tools\' directory is gone, and isn't being
    generated.
    9. Ok... DISM /online /Cleanup-Image /Scanhealth didn't return any issues, so I copied the wsusutil out of the windows\WinSxS directory.
    10. Yey! wsusutil postinstall runs, but bombs out on the IIS portion. It generated the DB without an issue, but results
    in an IIS generation error. So, I installed WSUS on a clean 2012 install, then copied over the program files\updateServices directory to reclaim the missing files. 
    The log files show --
    2013-12-06 10:30:34  Configuring IIS...
    2013-12-06 10:30:35  Start: ConfigureWebsite
    2013-12-06 10:30:36  Configuring website on port 8530
    2013-12-06 10:30:39  System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.ExecuteIisCustomAction(String arguments)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.Install(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.InstallAndConfigure(IisConfiguration& iisConfiguration, Int32 newPortNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    ... ok - tripple checked that network service has permissions to .net and windows\temp folders.
    netstat -a doesn't show anything running on port 8530 ( in case this was some weird port check in use)
    Which goes back to the missing directory problem -- further net searches show that this is a reoccurring issue for some OOBE... sfc /verifyonly shows ... nothing.
    What is left to be done at this point? The missing folders from the program directory seems to be a problem for some with some users right out of the box. I have read many other threads where users just formatted and started over. Not exactly a solution
    - any help out there on this issue? Any suggestions to determine what file is missing, or generating the IIS issues?

    Part of the post install tasks wanted to download some items including the tools folder.
    Can you expand on this please. The WSUS post-install tasks do not download anything, except what is acquired during the initial synchronization with Microsoft.
    Because of my group policy the WSUS server was trying to download the updates from itself even though it was not setup yet.
    What update(s) was the WSUS server trying to "download"?
    In fact, if the WSUS Server was not setup yet (but you already had a GPO in place), then the first issue here was performing deployment steps out of order.
    But still.... except for the actual installation binaries for the WSUS Server Role on a WS2008SP2/WS2008R2 system, there's nothing the WSUS server needs to get from either Windows Update or a WSUS server. This scenario is actually discussed hundreds of times
    in this forum, but complicating matters, this thread isn't about installing WSUS V3.2 on a WS2008SP2/WS2008R2 system, it's about installing WSUS v65 on a WS2012 system, so I'm a bit confused as to what the actual installation environment is that we're discussing.
    I changed the WSUS server to get it's windows updates from Microsoft and then the post install task succeeded.
    I'd really like to get some more details about what exactly in the "post-install task" was dependent upon content from WU/WSUS.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • SQL Server Reporting Services - Access denied issue

    Hello All,
    My Environment : SCCM 2012 R2, SQL 2012 SP2 standard and Windows Server 2012 [VM box].
    while configuring  reporting services get error the reporting service fails to start using the reporting service account.
    when i start the service on the SCCM server “SQL Server Reporting Services (MSSQLSERVER)” does not start using the service account “Domain\SCCM-SQL-SRSSVC”.  kindly
    advice 

    Using the switch  "NT Service\ReportServer" the service starts.
    during the Reporting Services
    Configuration , Service Account page , when i provide my service account its fails with the below  mentioned error. 
    "windows could not start he sql server reporting services (MSSQLSERVER) service on local computer
      Error 5: Access is denied

Maybe you are looking for

  • How to transport deletion of a SAP Query

    Hi I have a SAP query which I deleted in the development system through SQ01.    How do I transport this deletion to production ?   Is this possible, or should we be deleting it directly in production system ? Many thanks, Sanker

  • How to access / configure Web Content Management in NetWeaver

    Hi, I am using SAP EP6.0 and KM is running there. I want to know that how can I access the Web Content Manager of NetWeaver. What configuration is required to access WCM? Any pointer will help me. Thanks in advance, Manish

  • PLS HELP ive lost all my data during the upgrade!

    Wednesday night i upgraded to ios5 the upgrade seemed to take a long time and hung right at the end of the instalation.  A pop up screen appeared saying that i could complete instalation at a later data so i decided to do that.  I did back up before

  • Help w/OS X Lion

    I'm hearing OS X Lion runs the battery down much faster. Comments? Suggestions? Thanks LC

  • Images détériorées

    Mes images se détériorent jusqu'à devenir illisibles quelques minutes après l'import. Voir l'image jointe. Ce problème est aussi bien dans le preview qu'en mode développement. J'utilise un appareil Canon EOS 6D et mes fichiers sont en RAW. Je travail