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
9
votes
2 answers

How do I disable telemetry for all users in Visual Studio Code?

I need to disable telemetry for Visual Studio code for all users. I have packaged the product in SCCM (specifically so its installed under the users profile so they can update it themselves). I can't however figure out how to disable telemetry for…
George
  • 143
  • 1
  • 1
  • 7
8
votes
1 answer

Change sitecode SCCM agent on Linux

Is there any solution to change the SCCM agent sitecode for a Linux client without reinstalling it? I found a vbs script for windows client here But nothing for Linux. I've tried seding sitecode with the new one in all XML files under…
trox
  • 306
  • 4
  • 12
8
votes
2 answers

.ToShortDateString returning different cultural format than expected

Here's a weird one for you. We've got a c# interface that's been running since the beginning of the year without problem on a windows XP (32bit) PC. We've just upgraded the PC to windows 7 (64bit) with apps installed by SCCM. With the latest run…
Tony
  • 101
  • 1
  • 2
  • 7
7
votes
4 answers

Script to create ODBC connection

I need to deploy some software through SMS/SCCM and the software requires that an ODBC connection be created in Windows. The connection information I was given requires a user name and password. I have a batch script to import the connection…
Mathew
  • 317
  • 1
  • 3
  • 8
5
votes
1 answer

Server 2012 Local Shares - Cannot access using \\IP but works via \\localhost

I've been stuck on this problem for the last couple of days and I can't find a solution on the internet that works. I have a Windows Server 2012 instance running on Amazon AWS with a public IP address. I am using it as an SCCM (System Center 2012…
4
votes
0 answers

Powershell script not running properly from SCCM

I'm trying to deploy Lego MindStorms through SCCM. I have a PowerShell script that I'm using to start the EXE and do some other things after the install. The PS1 file sits in the same directory as the EXE. The PowerShell script tries to run after…
Matt
  • 51
  • 1
  • 1
  • 4
4
votes
1 answer

Powershell SCCM PSDrive and Out-File -Path parameter resulting error

I have a logging module that I wrote that write various lines to a file using Out-File -Append. I'm in the process of writing some scripts and modules for SCCM. Most of the SCCM functions / commands don't allow you to target a specific provider /…
mhouston100
  • 1,173
  • 2
  • 19
  • 41
4
votes
2 answers

Copying .lnk onto 64 bit Windows changes shortcut contents

We use SCCM 2012 R2, server 2012 servers, and Windows 7 clients. Student machines are typically Win7-64. I created a script to install Eclipse, basically, create a directory and copy the files (Eclipse has no installer and is 32 bit software). In…
failure
  • 215
  • 1
  • 3
  • 12
4
votes
1 answer

Retrive application properties from SCCM with script during a deployment

In our environment we deploy some applications with a Powershell wrapper in rare cases. For logging purposes, we want the script to retrieve properties from SCCM during installation. The properties in question are name, version and vendor. Doing…
Chrizmo
  • 626
  • 2
  • 7
  • 18
3
votes
2 answers

Subquery returned more than 1 value. This is not permitted when the subquery

I'm trying to return Windows update compliance data from SCCM using SQL, I've extracted the query from a built in SSRS report. Instead of running a separate query for each @colname (Group of computers) I'm trying to combine into one query by…
Tom Pearson
  • 41
  • 1
  • 1
  • 3
3
votes
2 answers

SCCM Device Collection Query: Find all clients in intranet

I'm trying to create a WMI query for a device collection to find all computers that are currently outside our intranet. I can do this in Powershell by executing: (Get-WmiObject -namespace root\ccm -query "select InInternet from…
3
votes
1 answer

How do I deserialize this PowerShell output?

PS sss:\> $match.ApplicabilityCondition
Brian McMahon
  • 369
  • 3
  • 12
3
votes
1 answer

Execute install command in SCCM via Powershell on servers

I want to install particular package on the server via powershell. Get-WmiObject -Namespace ROOT\ccm\ClientSDK -Class CCM_Application -ComputerName Y31056 | Select-Object AllowedActions, Fullname And i can list which software are installed or not…
user6183999
3
votes
4 answers

Robocopy access denied, despite having Full Control?

Pretty straightforward script: ROBOCOPY \\servername\S$\SCCM2012\SCCMPackageSource\Files C:\Files /S /COPYALL /MIR /IS /LOG:C:\Copy.log I can run this as administrator just fine, and all the files get copied correctly. However when I push this…
Matthias
  • 12,704
  • 13
  • 35
  • 56
3
votes
1 answer

Need 8 characters form a lengthy RegKey path - Invalid length parameter passed to the LEFT or SUBSTRING

I have been working with a guy to finish off a rather ingenious means by which to extract information on packages installed by SCCM 2012 vs the built-in inventoried "Programs and Features". The last piece is extracting the PACKAGEID from registry…
1
2 3
47 48