Questions tagged [sccm]

System Center Configuration Manager (also known as SCCM) is a systems management software product by Microsoft for managing large groups of Windows-based computer systems. Configuration Manager provides remote control, patch management, software distribution, operating system deployment, network access protection, and hardware and software inventory.

System Center Configuration Manager (also known as SCCM) is a systems management software product by Microsoft for managing large groups of Windows-based computer systems. Configuration Manager provides remote control, patch management, software distribution, operating system deployment, network access protection, and hardware and software inventory.

Before You Post

As SCCM is a product mainly aimed at systems administrators you might also consider searching questions tagged with SCCM on ServerFault for an answer to your question:

https://serverfault.com/tags/SCCM

You should also consider if your question is suitable for StackOverflow. Since StackOverflow mainly caters to developers, good candidates for questions include:

  • Questions regarding the development of extensions to the SCCM console
  • Questions involving programmatic/scripted access to data within SCCM

More general questions regarding SCCM (e.g. managing applications through the SCCM console) may be answered more easily on ServerFault.

Useful Resources

Information regarding the SCCM object model can be found on MSDN:

SCCM 2012: https://msdn.microsoft.com/en-us/library/hh948960
SCCM 2007: https://msdn.microsoft.com/en-us/library/cc145334.aspx

SDKs may also be downloaded from Microsoft:

SCCM 2012: https://www.microsoft.com/en-us/download/details.aspx?id=29559
SCCM 2007: https://www.microsoft.com/en-us/download/details.aspx?id=22552

712 questions
3
votes
1 answer

How to open the SCCM Configuration Manager in VB - Visual Studio 2015

I'm creating a tool in VB using Visual Studio 2015 and I'm having some issues with forcing one item on a menu strip when clicked to open the SCCM Configuration Manager. So far I've tried: Option 1 Dim ProcID As Integer ProcID = Shell("control…
3
votes
5 answers

How to Kill Running Process from a specific folder via Batch File

I am writing an uninstaller batch file and it occasionally fails to delete folders because of running process. Is there a way to kill all running process that reside in a particular folder. Keep in mind that there could be multiple process running…
Bill
  • 147
  • 1
  • 1
  • 10
3
votes
2 answers

Grouping multiple 'AND x not like y' In SQL statement

I currently have an SQL statement that is too long for my program (I have a maximum number of character that I can use. I'm using sccm report). The problem is my SQL statement look like this: Select distinct v_GS_ADD_REMOVE_PROGRAMS_64.DisplayName0,…
3
votes
4 answers

Powershell script to update Java to latest version

We have an application that is Java dependent that we are working on a SCCM installer to push out to clients. Due to Java being updated almost monthly (and the old updates expiring 30 days thereafter) we're looking for a way to have the SCCM…
korymiller
  • 357
  • 4
  • 9
  • 21
3
votes
2 answers

SCCM 2012 application install "Failed" in client Software Center

We're using SCCM 2012 and I'm packaging all of our application and testing them as I go. Some only have .exe's and are more difficult than the .msi's. Some have no documentation and I'm trying different types of command line switches to see what…
BamBamBeano
  • 464
  • 4
  • 13
  • 24
3
votes
1 answer

.NET GUI Not Displaying in WinPE

I have created a utility in C#, something basic. I have it running during an SCCM task sequence deployment. One of the first things it does (during the form load event) is query ldap. That portion of code is in a try block and an exception is caught…
MDMoore313
  • 3,233
  • 1
  • 23
  • 38
3
votes
1 answer

Sccm report for showing when software was last used

I am creating a report to find computers on our network that have certain software on it. The report was working fine until i wanted to find out when the program was last used. When i added "LastUsedTime0" the result have increased. I am not a coder…
Maiketh
  • 41
  • 1
  • 1
  • 3
2
votes
1 answer

SQL: Query to order colums to rows based on type

I've been working on a report based on SCCM data. ;-) SELECT DISTINCT ResourceID , AdapterType0 , MACAddress0 FROM V_GS_NETWORK_ADAPTER WHERE MACAddress0 is not null I get a result like…
Jgaard
  • 23
  • 3
2
votes
2 answers

Querying for software using SQL query in SCCM

I am looking for specific pieces of software across our network by querying the SCCM Database. My problem is that, for various reasons, sometimes I can search by the program's name and other times I need to search for a specific EXE. When I run the…
2
votes
1 answer

Trying to run this .bat via SCCM

I am trying to deploy an application through a .bat via SCCM. The .bat executes perfectly when I run it on my local workstation via CMD. When I deploy it and try to install it via Software Center, it says it can't find the .exe. How do I specify it…
2
votes
2 answers

Executing AddMembershipRule on SMS_Collection through REST Admin Service

We're trying to use the REST API of Administration Service to manage the Configuration Manager (What is the administration service in Configuration Manager?) We have successfully queried entities of different types and executed some custom static…
mikus
  • 3,042
  • 1
  • 30
  • 40
2
votes
0 answers

SCCM uninstall Project Pro, application still detected after uninstallation

I've created a deployment in SCCM to uninstall Project Pro if users request this. Other O365 apps need to stay installed. I do this with appdeploy. The install command is similar to the uninstall command, only containing a different XML…
jutju909090
  • 63
  • 1
  • 6
2
votes
2 answers

How to find out which Visual Studio extensions are installed on user's machines?

How to find out which Visual Studio extensions are installed on user's machines? I want to track which VS extensions are installed on users' computers in AD environment. I think that's easy when an extension installs via Windows Installer (*.msi).…
bahrep
  • 29,961
  • 12
  • 103
  • 150
2
votes
1 answer

Why is test-path returning $false for a PSDrive?

I'm connecting a PSDrive from a machine running SCCM and trying to do a test-path to work out whether or not to create a given directory. However test-path is returning $false for directories that do indeed exist (as a matter of fact I can even…
Steve Brown
  • 77
  • 1
  • 9
2
votes
2 answers

WiX Installer wrong about newer version already installed

I have used WiX Install tools in Visual Studio to create create an installer for my C# Windows Forms application. The Installer works when invoked independently (command line or double-click); it uninstalls the existing version (1.0.1.2) and…
Ross
  • 78
  • 7
1
2
3
47 48