SCCM 2012 R2: report collection of pc's with their FULL username
Hi,
I 'd need to have a query on a computercollection = pc's and their users.
I have a query which shows computers and their last logged on user but I'd like to have their full AD name.
F.e. now in report: PC1 ALicoln
What I would like to have: PC1 Abraham Licoln
Please advise howto achieve this.
J.
Jan Hoedt
Note does Active Directory discovery automatically discover the necessary attributes? It doesn't seem to discover the DisplayName (it does discover name etc).
Jan Hoedt
Hello,
No, the AD attribute DisplayName is not discovered by default. You could very easily add it though but I am not 100% sure why it is necessary.
Could the UPN maybe be sufficient?
In a SQL query:
SELECT sys.Netbios_Name0
,usr.User_Principal_Name0
FROM v_R_System AS sys
LEFT OUTER JOIN v_R_User AS usr
ON usr.User_Name0 = sys.User_Name0
David Gustafsson
Similar Messages
-
SCCM 2012 R2 Reporting issue updating SQL Reporting permissions
I am in the process of setting up SCCM 2012 R2. I am having an issue with the SCCM reporting. If I set the permissions in the SCCM console, the permissions do not propagate to the SQL reporting... I get this... This is from SRSRP.log...
Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at ConfigMgr_DIT $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.384+300><thread=5432 (0x1538)>
(!) Error retrieving folders - [A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)]. $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.438+300><thread=5432 (0x1538)>
No folder configuration information found. $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.441+300><thread=5432 (0x1538)>
Does anyone know how to fix?
I tried removing and re-installing the reporting point, changing the permissions in SQL Server... and a dozen other things.I am in the process of setting up SCCM 2012 R2. I am having an issue with the SCCM reporting. If I set the permissions in the SCCM console, the permissions do not propagate to the SQL reporting... I get this... This is from SRSRP.log...
Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at ConfigMgr_DIT $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.384+300><thread=5432 (0x1538)>
(!) Error retrieving folders - [A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)]. $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.438+300><thread=5432 (0x1538)>
No folder configuration information found. $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.441+300><thread=5432 (0x1538)>
Does anyone know how to fix?
I tried removing and re-installing the reporting point, changing the permissions in SQL Server... and a dozen other things. -
SCCM 2012 R2 Report Viewer not working.
I have recently upgraded to SCCM 2012 R2 and now when I go to the reports I get this message. Has anyone come across this?
The
DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an
error: The encryption type requested is not supported by the KDC.
(rsRuntimeErrorInExpression)I found the solution.
http://www.netdavidic.com/2013/11/how-to-fix-sccm-2012-r2-reporting.html#!/2013/11/how-to-fix-sccm-2012-r2-reporting.html -
SCCM 2012 R2 - Reporting Services question
In testing SCCM 2012, I put it on a an existing remote SQL instance. This server also housed SCOM among other applications. I set up reporting services successfully and got reports working.
A few months later I decided to setup and test reporting in SCOM for Audit Collection Services (ACS). I did not know at the time but SCOM takes over SSRS and makes it unusable for any other application. This broke my SCCM reporting. I finally reinstalled
SSRS and got rid of the SCOM piece and all is back to normal.
I am now planning for deployment in production. Our DB team wants to stick the DB for SCCM on a server that will house many other databases (eventually).
My question is: Does SCCM reporting play well with others? That is, if I set up SSRS on a SQL server with other applications - should I request that SCCM is the only application using that particular SSRS instance? Or should it be ok to reside on an SSRS
instance that may eventually house other applications (NOT SCOM).
Thanks in advance!a couple hundred clients; base specs for the primary server; and it would be a VM
With all that said, I think our DB team still wants us to use their remote SQL server (physical) so I will probably go with that as it is still supported and our environment will be relatively tiny compared to typical SCCM deployments. Of course, if there
are known issues or advisories against having a remote SQL please let me know (and provide a link).
My main concern was using this remote SQL server and setting up SSRS and having other applications conflicting with it. As long as SCCM plays well with others - I am good to go. Thanks for the replies. -
SCCM 2012 Query report for specific software installed.
I have Reporting point installed and it seems to be working as I was able to run OS reports.
Here's what I would like to do.
1. I need a query/report to show us all the machines that do not have Microsoft Forefront Endpoint Protection installed.
2. I also need a query/report showing what machines still have Sophos AV installed.
Any help is greatly appreciated it.
Thanks,
VoevI was not able to use the Reporting to get computers without FEP installed. So I did a workaround.
Create Device Collection for computers with FEP installed
1. Device Collections => Create Device Collection =>name it "Computers with FEP installed=> Query Rule Properties => Edit Query Statement => Criteria tab => Add the following statements
Criterion Type: Simple value
Where: Installed Software - ARPDisplay Name
Operator: is equal to
Value: System Center 2012 Endpoint Protection (as appeared in Add/remove program name)
Create Device Collection for computers without FEP installed
1. Device Collections => Create Device Collection => Name "Computers without FEP Installed" => Query Rule Properties => Add Rule => Include Collections => Tick "All Systems" => OK => then you need to add
the Exclude by => Add Rule => Exclude Collections => Tick " Computers with FEP Installed => OK
So in my "All Systems" Collection has 1000 members
Computers with FEP Installed collection has 900 members
Computers without FEP Installed collection has 100 members
Add the with FEP installed & without FEP installed collections together is equal to 1000 members of the All Systems. -
SCCM 2012 R2 - Reporting Services Point installation - "The Datasource does not exist"
Hi all,
Quick bit of background, we have SCCM 2012 R2 installed on a Windows 2012 R2 server. We have the SQL back end off box, configured on a SQL 2012 R2 server running on a Windows Server 2012 R2 cluster. Then there is yet another server which runs the reporting
services. I've just tried installing the Reporting Services Point on the srs server but it doesn't appear to have worked that well. Here's the info i've got back:
A] Site Status > Reporting services point:
SMS_SITE_SYSTEM_STATUS_SUMMERIZER
Site System Status Summarizer detected that the availability of the "Reporting services point" role on server "\\NA-SQLR01.in.tna.local" has changed to Failed.
B] The last message from the SMS_SRS_REPORTING_POINT Component Status is "Site Component Manager successfully installed this component on this site system"
C] Here's the first chunk of info which appears in the srsrp.log file:
SMS_EXECUTIVE started SMS_SRS_REPORTING_POINT as thread ID 4204 (0x106C).
This is a SRS Reporting Point Role as SRSRP registry key exists.
Waiting for changes for 0 minutes
Timed Out...
Set configuration
Check state
Check server health.
Successfully created srsserver SMS_
Reporting Services URL from Registry [http://sqlreportserver/ReportServer_SQL2012/ReportService2005.asmx]
Reporting Services is running
The DataSource does not exist.
[sqlserver.local\SQL1] [SCCM_XXX] [ConfigMgr_XXX] [sqlreportserver.LOCAL]
[SQL2012] [1] [] [xxx\SCCM2012Server]
Confirmed version [11.0.5058.0] for the Sql Srs Instance.
System.Web.Services.Protocols.SoapException: The item '/ConfigMgr_XXX' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_XXX' cannot be found.~ at Microsoft.ReportingServices.Library.ReportingService2005Impl.GetProperties(String
Item, Property[] Properties, ItemNamespaceEnum itemNamespace, Property[]& Values)~ at Microsoft.ReportingServices.WebServer.ReportingService2005.GetProperties(String Item, Property[] Properties, Property[]& Values)
Extract resource language packs if exists
Loading localization resources from directory [D:\SMS_SRSRP\SrsResources.dll]
Looking for 'English (United Kingdom)' resources
Looking for 'English' resources
Found resources for 'English'
System.Web.Services.Protocols.SoapException: The item '/ConfigMgr_XXX' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_XXX' cannot be found.~ at Microsoft.ReportingServices.Library.ReportingService2005Impl.SetProperties(String
Item, Property[] Properties, Guid batchId)~ at Microsoft.ReportingServices.WebServer.ReportingService2005.SetProperties(String Item, Property[] Properties)
System.Web.Services.Protocols.SoapException: The permissions granted to user 'NT AUTHORITY\SYSTEM' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user
'NT AUTHORITY\SYSTEM' are insufficient for performing this operation.~ at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateFolder(String Folder, String Parent, Property[] Properties, Guid batchId)~ at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateFolder(String
Folder, String Parent, Property[] Properties)
(!) SRS root folder was reported missing
STATMSG: ID=7405 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_SRS_REPORTING_POINT" SYS=sqlreportserver.LOCAL SITE=P01 PID=2120 TID=4204 GMTDATE=Wed Apr 08 08:56:05.349 2015 ISTR0="ConfigMgr_XXX" ISTR1="sqlreportserver.LOCAL"
ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
WARNING: Could not read registry key HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\MPFDM\Inboxes\ on the server, The operating system reported error 2: The system cannot find the file specified.
WARNING: Could not read registry key HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\MPFDM\Inboxes\ on the server, The operating system reported error 2: The system cannot find the file specified.
Failures reported during periodic health check by the SRS Server sqlreportserver.LOCAL.
Registry change
Waiting for changes for 1 minutes
After this point i simply get the following info messages looping endlessly:
Set configuration
Check state
Check server health.
Successfully created srsserver
Reporting Services URL from Registry [http://sqlreportserver/ReportServer_SQL2012/ReportService2005.asmx]
Reporting Services is running
The DataSource does not exist.
[sqlreportserverlocal\SQL1] [SCCM_XXX] [ConfigMgr_P01] [sqlreportserver.LOCAL]
[SQL2012] [1] [] [XX\SCCM2012Server]
[1] [0]
Confirmed version [11.0.5058.0] for the Sql Srs Instance.
System.Web.Services.Protocols.SoapException: The item '/ConfigMgr_XXX' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_XXX' cannot be found.~ at Microsoft.ReportingServices.Library.ReportingService2005Impl.GetProperties(String
Item, Property[] Properties, ItemNamespaceEnum itemNamespace, Property[]& Values)~ at Microsoft.ReportingServices.WebServer.ReportingService2005.GetProperties(String Item, Property[] Properties, Property[]& Values)
Extract resource language packs if exists
Loading localization resources from directory [D:\SMS_SRSRP\SrsResources.dll]
Looking for 'English (United Kingdom)' resources
Looking for 'English' resources
Found resources for 'English'
System.Web.Services.Protocols.SoapException: The item '/ConfigMgr_XXX' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_P01' cannot be found.~ at Microsoft.ReportingServices.Library.ReportingService2005Impl.SetProperties(String
Item, Property[] Properties, Guid batchId)~ at Microsoft.ReportingServices.WebServer.ReportingService2005.SetProperties(String Item, Property[] Properties)
System.Web.Services.Protocols.SoapException: The permissions granted to user 'NT AUTHORITY\SYSTEM' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user
'NT AUTHORITY\SYSTEM' are insufficient for performing this operation.~ at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateFolder(String Folder, String Parent, Property[] Properties, Guid batchId)~ at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateFolder(String
Folder, String Parent, Property[] Properties)
(!) SRS root folder was reported missing
Failures reported during periodic health check by the SRS Server sqlreportserver.LOCAL.
Registry change
Waiting for changes for 1 minutes
Has anyone come across this issue before? Must admit, I'm not too hot on the sql side of things so any advice or suggestions would be greatly appreciated. Thanks in advance!Hi guys, cheers for the swift response.
Garth, i can access SSRS in IE from the SCCM box and it looks a-ok.
Paul, nope can't say I've done any configuration of reporting services - the whole thing has been set up by the database team. Having had a trundle through Reporting Services Configuration Manager, it seems the Database team have set up SSRS in line with
the walkthrough you posted.
Since i'm not seeing the ConfigMgr_XXX folder appear in SSRS I'm wondering if there's something preventing SCCM from being able to create it. The message
"Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions
granted to user 'NT AUTHORITY\SYSTEM' are insufficient for performing this operation" sounds like the account SCCM is leveraging to perform the install might not have the right permissions in SSRS. Do i need to delegate specific rights to the NT
AUTHORITY\SYSTEM account in SRS perhaps? -
hi all,
some report I can open and others I get an error:
Microsoft.Reporting.WinForms.ReportServerException
An error has occurred during report processing. (rsProcessingAborted)
Stack Trace:
at Microsoft.Reporting.WinForms.ServerReportSoapProxy.OnSoapException(SoapException e)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
Microsoft.Reporting.WinForms.ReportServerException
Cannot read the next data row for the dataset DataSet1. (rsErrorReadingNextDataRow)
Stack Trace:
at Microsoft.Reporting.WinForms.ServerReportSoapProxy.OnSoapException(SoapException e)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
Microsoft.Reporting.WinForms.ReportServerException
Conversion failed when converting the nvarchar value 'S-1-5-21-159793906-1513374725-7473742-7662' to data type int.
Stack Trace:
at Microsoft.Reporting.WinForms.ServerReportSoapProxy.OnSoapException(SoapException e)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
how can I solve this error?
thanksI had the exact same problem.
I found 2 solutions to this, where the first solution was temporary.
Try to change the RegKey HKLM\SOFTWARE\Microsoft\SMS\SRSRP\EnableRbacReporting from 1
à 0. Then run the report again, it should run normally. In my case it did change back to 1 after some time and turned out to be a temporary fix. But it provided an explanation why this happened
after the R2 upgrade and actually it breaks the new reports RBAC feature of R2.
The second solution I found in this thread:
http://social.technet.microsoft.com/Forums/en-US/ae08aa43-054d-47e7-99fb-c4f101962478/reports-not-working-after-upgrade-to-sccm-2012-r2-?forum=configmanagergeneral
Just read the explanation and run the mofcomp command.
It did the trick for me J -
Any major changes to the database for SCCM 2012 and Reporting?
I'm in the process of migrating my custom reports from SCCM 2007 to SCCM 2012. I wonder if all the tables / views in SCCM 2007 are the same in SCCM 2012 for my reporting purposes? So far everything I've migrated over appears to work without a problem.
Orange County District AttorneyYes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
The SQL schema for SCCM 2012 has been released here.
https://technet.microsoft.com/en-us/library/dn581978.aspx
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
SCCM 2012 SP1 Report Permissions required
Hello Everyone.. Im having trouble running any reports off of the SCCM Console. So far I have full permissions in the SCCM console, and on SQL Server I am a sysadmin. Here is my error when I run it through report builder:
System.Web.Services.Protocols.SoapException: The permissions granted to user 'DTTLA\eguerrero' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'DTTLA\eguerrero' are insufficient for performing this operation. at Microsoft.ReportingServices.Library.ReportingService2010Impl.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings) at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)----------------------------The permissions granted to user 'DTTLA\eguerrero' are insufficient for performing this operation.
And here is the error when I run it through the Configuration Manager:
Microsoft.Reporting.WinForms.ReportServerExceptionAn error has occurred during report processing. (rsProcessingAborted)Stack Trace: at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report) at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation() at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation() at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)-------------------------------Microsoft.Reporting.WinForms.ReportServerExceptionCannot impersonate user for data source 'AutoGen__5C6358F2_4BB6_4a1b_A16E_8D96795D8602_'. (rsErrorImpersonatingUser)Stack Trace: at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report) at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation() at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation() at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)-------------------------------Microsoft.Reporting.WinForms.ReportServerExceptionLog on failed. Ensure the user name and password are correct. (rsLogonFailed)Stack Trace: at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report) at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation() at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation() at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)-------------------------------Microsoft.Reporting.WinForms.ReportServerExceptionThe user name or password is incorrectStack Trace: at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report) at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation() at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation() at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)-------------------------------
Does anyone have an idea where I'm forgetting to assign permissions?Check the properties of your Reporting Point. See the user that is configured to connect to the data source. This user must have a SQL login (eg sysadmin)
See here
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/dc47c82b-41aa-4b6a-990f-0c0264aa33a2/error-message-when-trying-to-open-reports-on-the-sccm-2012-console-and-ie-browser-sql-server-2008
Gerry Hampson | Blog:
www.gerryhampsoncm.blogspot.ie | LinkedIn:
Gerry Hampson | Twitter:
@gerryhampson -
SCCM 2012 R2 Report using WMI Query
I am trying to find out if I can generate a report to show which users installed what software using a report in SCCM 2012 R2 and a WMI Query.
If not using the reporting within SCCM, then:
1) is it possible to pull such data via a wmi query
2) any suggestions how to do so?
3) Desktop OS is either Windows 7 or 8 or 8.1 Enterprise x64
Thanks,
Dave
David LakeyYou Can Create Query With the Software name but you can Know Which Computer and you can add System Resource as the Last login name
This for Example:-
From monitoring--> Create New Query--> Edit Query Statement --> Show Query Language
past the following:-
select SMS_R_System.NetbiosName,
SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from
SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on
SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceId =
SMS_R_System.ResourceId where
SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Visio%"
After that in General you can add in Results Tap:-
System Source and the Attribute Will be last Login name -
Powershell SCCM 2012 and AD collections
Greetings everyone, I am trying to take a select of groups in a certain OU within AD to make SCCM 2012 user collections from. I been playing around with just creating the collections based upon a txt file which would work and is probably easier. Can someone
go through this mess I have down here and make this work. I found some scripts that do what I need but they just aren't flowing together well. Thanks for any help you can give. I think the 'DOMAIN\\'$ADName isn't going to work either. Thoughts?
import-module ($Env:SMS_ADMIN_UI_PATH.Substring(0,$Env:SMS_ADMIN_UI_PATH.Length-5) + '\ConfigurationManager.psd1')
$PSD = Get-PSDrive -PSProvider CMSite
CD "$($PSD):"
$ADName = Get-Content -Path C:\fso\ADgroups.txt
New-CMUserCollection -Name $ADName -LimitingCollectionName "All Users and User Groups" -RefreshType Both
Add-CMUserCollectionQueryMembershipRule -CollectionName $ADName -QueryExpression "select * from SMS_R_User where SMS_R_User.UserGroupName = 'DOMAIN\\'$ADName" -RuleName "QueryRuleName1"$ADName = Get-Content -Path C:\fso\ADgroups.txt
To add-on to Torsten, this single line gets the content of your text file and (in most cases) will create an array filled with each line of the text file. So before you can use this information, you have to loop through it to get the information of the different
lines in your text file.
I think you should do something like this:
$ADNames = Get-Content -Path C:\fso\ADgroups.txt
foreach ($ADName in $ADNames){
<YourCollectionActions>
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Sccm 2012 create report from recently installed software on clients
As stated in this thread for 2007. Has anyone had any luck with this type of report in 2012?
http://social.technet.microsoft.com/Forums/en-US/fecbe492-6d9d-4a8e-8d6d-ac12b3364b32/sccm-2007-create-report-from-recently-installed-software-on-clients?forum=configmgrreportingAs stated in this thread for 2007. Has anyone had any luck with this type of report in 2012?
http://social.technet.microsoft.com/Forums/en-US/fecbe492-6d9d-4a8e-8d6d-ac12b3364b32/sccm-2007-create-report-from-recently-installed-software-on-clients?forum=configmgrreporting
It worked perfectly in CM12. What is the problem?
http://www.enhansoft.com/ -
SCCM 2012 R2 Reports not activate Value button and not showing Visio and Project products
Hello,
I have experiencing some problems with SCCM reports
1) In some of the reports the "Values" button is disabled and because of that I can not select the name of a specific computer, the reports I've noticed that are relating to Specific Computers
2) The other problem is that when reviewing a software inventory report on a specific computer, Visio nor the Project of Microsoft Office does not appear , which itself can be seen from the Resource Browser
I will appreciate it very much to help me to solve these drawbacks presented in the reports of SCCM 2012 R2.
Thanks in advance.
Manuel
Manuel´s Microsoft Forums Threadsopen the report in the report builder tool (in the console, right click and edit. From the reports web page you can click the drop down and choose open with report builder) and examine the query that is being used to populate the computername
values list. You should be able to run that query from the report builder utility to see if anything is being returned. For the report you mention, there is no query to bring back computer names. In report builder, in the left hand menu, open the parameters
folder, then right click @variable from the list and open the properties. Go to the available values item in the menu of the properties window and notice that the available values is set to none, not get values from a query. That is why you can't click on
Values in the SSRS report and get a list of computer Names. You could add a query into the report and save the report if you really want a drop down list of all computer names. I would save the report with a different name if I were to take that approach,
it is not a good practice to modify the built in reports.
Regarding the applications you are not seeing, you will have to look at the query contained in the report, and determine if that query is targeting the same view or data that you were looking at using resource explorer. Which category within resource
explorer were you seeing the information you were expecting to see in this report? You can use report builder to see that the report you are looking at is calling a function to return the software titles, and that function looks to be based on the v_gs_softwareproduct
view. If you were looking at software files or add/remove programs within the resource viewer, you won't necessarily see the same information in the report, since the report is reading a different view.
I hope this info will help you to troubleshoot report quirks. SCCM 2012 reporting is a world apart from SCCM 2007 reporting. There are alot more stored procedures and functions used in SCCM 2012, and even a dll file on the reporting point that is required
for some (most) of the reports! -
SCCM 2012 CU2 OSD forest trust: ReleaseRequest failed with error code 0x87d00317
Hello,
Actually i have a difficult Problem with my SCCM 2012 R2 CU2 Windows 7 x64 SP1 Tasksequence:
I get the folowing error in smsts.log:
::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811) TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
GetTsRegValue() is unsuccessful. 0x80070002. TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
End program: TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
Finalize logging request ignored from process 1736 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
Waiting for CcmExec service to be fully operational TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
CcmExec service is up and fully operational TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
Access handle will be read from _SMSTSActiveRequestHandle TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
Access handle: {B699D570-B2BF-4874-8CB7-3B208B380969} TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
Attempting to release request using {B699D570-B2BF-4874-8CB7-3B208B380969} TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
CoCreateInstance succeeded TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
pISoftwareExecutionRequestMgr->ReleaseRequest(ActiveRequestGUID), HRESULT=87d00317 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanagerutils.cpp,136) TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
ReleaseRequest failed with error code 0x87d00317 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
Task Sequence Manager could not release active TS request. code 87D00317 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
Here is the complete smsts.log: http://1drv.ms/1pwTEBf
To explain the Problem in Detail:
The SCCM Primary Site Server and the Clients are in different trusted (bidirectional) forests!
Everythings working fine in this Scenario, I can install SCCM Agent on the Clients with Manual ccmsetup and with Client Push Installation. Additionally i can deploy Software Updates and so on... only OSD is crashing in the releaserequest step.
During my Tasksequence new Clients are joined to Domain A while SCCM Primary Site Server is installed in Domain B
If I change my TS and let the Clients also join Domain B everything works without any Problems and the Tasksequence finish without any Errors.
My Problem must be related to the different Domains and the forest trust.
My Setup:
MP published to DNS in both domains
Schema Extended in both domains
System Management Container published and verified in both domains
ccmsetup Parameters in TS: ccmsetup SMSMP=sccm.domain.b FSP=sccm.domain.b DNSSUFFIX=Domain.b
Network Access account configured with Domain B account
Domain Join account has create Computer rights on the OU in Domain A (Domain join is successful)
DNs conditional forwarders configured in both Domains and DNS resolutin is working in both directions
Any suggestions?
Many thanks.
regards,
ChristianHi Christian,
So do you actual get an error message in your TS or is it just failing to join Domain B? (Could be both if the machines fails to join the domain).
Can you review netsetup.log on the machines after the issue and see what error message you might be getting during the domain join process?
Also, if it a domain join issue, can you try manually joining to domain B using the same service account? -
[SCCM 2012 SP1 W2K8R2] SUP not in Sync with WSUS settings (Language)
Hi All,
I have almost identical production and test SCCM environment.
After I setup SUP on both production and test environment SUP Language settings are not replicated to WSUS and cause WSUS/SCCM to Sync all languages.
SCCM 2012:
WSUS:
Any idea how to fix this?
Thank you in advance.
Regards,Hi,
There is nothing to fix, it looks exactly the same in my environment. The updates are not downloaded using WSUS it is downloaded using either the SCCM console or the SCCM Primary Site server if you use and ADR and when you download the updates the settings
are beeing honoured.
So this is expected behaviour.
Regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec
Maybe you are looking for
-
Force browser's Java version in a multi-version environment?
Most of our machines run only JRE 1.4.2_08, but there is a sizable part of the population that have both 1.4.2_08 and 1.5 installed for compatibility reasons. Is there any way to configure the browser, the plugin, or the content of the web pages them
-
hi friends my problem is i want to display name by using the id. The id is being populated by a query in the user parameter. In the Main Query I got the select statement as "SELECT CLIENT_ID,CLIENT_NAME FROM CLIENT WHERE CLIENT_ID =:PARAM_CLIENT_ID"
-
How to enable end users to escalate requests outside of newScale - end user view of delivery plan
How do you communicate to end users in a large organization, the procedures for escalation a request that is late or urgent. The views of the delivery plan available to users don't give them muche detail about who is doing the work. I'm curious how o
-
Multiple display makes S100 extremely slow
Hi, I've been working with a S100 with an external monitor (actually, two different monitors) for some time. It used to work fine, but lately whenever I work with an extended display, the external monitor takes a long time to refresh and the whole co
-
How to Erase HD of iBook G3?
How exactly do I erase the Hard Drive? I don't have any of the Disks involved with my iBook as it is very old and a friend gave it to me quite a few years ago.