721 questions
-7
votes
0
answers
30
views
how to upgrade msi which having same product code for previous versions using transform file [closed]
how to upgrade msi having same product code using upgrade table or transform file.i want the solution that works by configuring mst itself it should upgrade the previous version having same upgrade ...
0
votes
1
answer
72
views
Unable to Get Deployment Status of Devices in SCCM via PowerShell
I have created a powershell script that checks a Deployment ID in sccm and then pulls all the members in the deployment and checks the deployment status for the members.
The script is able to pull the ...
0
votes
0
answers
29
views
Join v_GS_Installed_Software with v_configurationitems or v_UpdateInfo in SQL
I'm working with the v_GS_Installed_Software table to check the installed software on various machines. I want to join this table with v_configurationitems or v_UpdateInfo to access additional columns ...
0
votes
1
answer
40
views
I need a script for SCCM detection key to Match Value Data
/* I need a script SCCM detection key for match "Value Data" in "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" Without using "ValueName" Match "...
1
vote
2
answers
203
views
How does one read a registry value using SCCM
We would like to be able to detect if a user is running either 32-Bit or 64-bit Outlook.
Based on the returned value, we'll be running the appropriate script.
Using SCCM, how can we read the value &...
0
votes
0
answers
21
views
SCCM Failed to start Task Sequence
I need some help trying build a machine via sccm. I cant seem to task sequence.
the machine just goes on a reboot loop after diskpart. below is the smstslog.
smstslog1
I tried different machines, ...
0
votes
0
answers
35
views
Sccm remediation scritpt always return true
I have a configuration item with a troubleshooting scenario. I know for a fact that my test host does not comply with the rule. But the troubleshooting script always returns true, although if I run ...
0
votes
0
answers
57
views
Powershell script to uninstall a software when running via SCCM does not identify the registry keys of that software
I'm trying to uninstall a software using this code
$path = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{Product-cod-1}"
function Uninstall_SW {
Write-Host "Starting ...
0
votes
0
answers
203
views
New Teams Start Menu and Task Bar
I am trying to pin New Teams to Start Menu and Task bar, but for some reason its not working for me. I am trying to do that from the OSD Task Sequence. Here is my file. Any help is appreciated.
<...
0
votes
1
answer
158
views
Moving Applications in SCCM
new here but have been using the site a long time. I am trying to create a powershell script so i can automate the google chrome updates I do I am unable to get the application to create in the right ...
0
votes
0
answers
178
views
SCCM find who added device to specific collection
is there a way in SCCM to see who added a device to a specific collection ? I looked around but couldn't find a message Id with that information . i can who modified a collection but doesn't tell me ...
0
votes
1
answer
88
views
Registry Entries to Custom WMI class
i am hoping some one can help me with an issue that i am having. I am need to create a Custom WMI class in root/cmiv2 and add entries from the registry into to that custom class. Ideally i would like ...
0
votes
0
answers
159
views
ERROR (0x8007000e) in the DataTransferService.log and no per-machine targetted applications visible in Software Center
I have a SCCM (5.00.9122.1000) test environment with 3 HyperV clients (Windows 10 22H2).
My issue is that in the Software Center, only the per-user available applications are visible and the per-...
0
votes
1
answer
96
views
Use case for integrating Chocolatey with SCCM
System Center Configuration Manager seems to have the features for publishing packaged applications so that employees of an enterprise can install applications from a central repository using the ...
0
votes
0
answers
492
views
SCCM - WinPE - "Unable to download PXE variable file" in SMSTS.Log
I am having an issue in Windows PE when trying to build a Dell XPS 8960 via SCCM. The device PXE boots into the WinPE environment without issue, but then it stops before any GUI's are displayed and ...
0
votes
1
answer
76
views
Powershell SMS_CombinedDeviceResources gives an error message
I have an AD group with members. Now, I want to know on what computers each member is logged on. To do that, I created the following script:
$SCCMServer = "sccmserver"
$SCCMSiteCode ...
0
votes
1
answer
155
views
How can I get the MSI Property: Version value (as found in MECM's detection method rule) using Powershell?
Within MECM, when I setup a Detection Rule and I browse to the MSI file, it not only imports the Product Code, but also an MSI version number.
Using (Get-Item $msiPath).VersionInfo | fl, the output is ...
0
votes
0
answers
54
views
Dell BIOS Updates Script Freezes
I need to be able to update the BIOS on over 5,000 Dell computers when there is a critical BIOS update. I've messed with batch files and Powershell. This is the latest Powershell. When I run it, it ...
0
votes
0
answers
207
views
Initial patch install checking via SCCM query
I want to make a better query for Windows Server OS patching (2016 & 2019). The one listed below is what I wrote that my company currently uses. If a newly built servers OS install time is ...
0
votes
1
answer
70
views
XML root element missing in SCCM
I encountered a problem that caused the SCCM configuration manager console to stop displaying application information due to a XML corruption.
looked around a bit on the internet and found the ...
0
votes
0
answers
69
views
Registry key is not deleting
can anyone assist i have this bat file from Autodesk the application uninstalls the software but not the registry key im using SCCM, so SCCM think the application is still install so it fails, i have ...
0
votes
0
answers
158
views
Copy CMApplication with PowerShell
You can copy an application in the Configuration Manager like this.
Is this also possible with Powershell? Or are there other ways to copy an application via script?
There are a few Copy-CMxxxxx ...
0
votes
2
answers
308
views
How to restart chrome/Edge without user involved
My company has Chrome and Edge installed on some of our development servers for our dev team to use with their processes. In both cases, patches are automatically pushed to the browsers, however they ...
0
votes
0
answers
81
views
How to apply the changes of client settings for one device grouping in sccm?
I change the restarting the computer parametre in SCCM client settings to false , i don't want to force the restarting , but nothing is changing, i still have a notification with a snooze option and ...
0
votes
0
answers
34
views
Not all objects are found in a "SELECT" command
I have this function that do a "SELECT" query to find computers in SCCM. I do get get some objects, but not all computers are found, even that I can see them in the SCCM console. I don't ...
0
votes
0
answers
95
views
SCCM/MECM or PS: Remote Notification to client
I am trying to figure out a good way to publish or deploy a notification to a specific list of computers. I have the availability of SCCM/MECM team or if its easier just perform the function via a ...
0
votes
1
answer
402
views
Get SCCM Deployment's Tab properties using PowerShelll
I am trying to get an Application Deployment's all tab properties using PowerShell command. Please see below image to get more idea about what I am talking about.
[
Here, I need each setting of each ...
0
votes
0
answers
218
views
SCCM - Software update status query in powershell
I just need to get the specific cmdlet in SCCM powershell on how to display the Article ID, Title and Status on each devices depending on my collection group. I can definitely see it SCCM but i just ...
1
vote
1
answer
315
views
Powershell Get-Process behavior - Can't find process under certain conditions
I am working on a powershell script that looks for a defined process in order to stop it (and restart it, if it was running before) in order to perform an update of that software.
We use the Microsoft ...
0
votes
0
answers
82
views
Can I run an separate instance of PowerShell from a Config Manager (SCCM) detection script?
As part of my detection PowerShell script I'm running AdobeUninstaller.exe, their console app that lists installed Creative Cloud software. To get the output from that app I have to redirect the ...
0
votes
0
answers
70
views
Try catch block doesn't hit during Task Sequence
I have a peculiar situation where the try catch block doesn't hit in the script I have made.
Start-Transcript -Path C:\Trans.txt -Force -IncludeInvocationHeader
try
{
$CDBJson = Get-Content -Path &...
0
votes
1
answer
185
views
Command net localgroup Administrateurs $user /DELETE works as a script in MCM but not in Intune, why?
I'm running a remediation script with this command:
net localgroup Administrateurs $user /DELETE
The script runs fine as a standalone PowerShell script AND as a script executed in MCM (SCCM) but when ...
0
votes
1
answer
1k
views
CMPivot to get registry keys
I'm trying to get the content of regirty keys using CMPivot.
I'm able to it, th issue is when i display the information it creates new column whhile the names are the same (it adds 1 at the end of the ...
0
votes
1
answer
99
views
Add-CMScriptDeploymentType issue in SCCM
So, I'm trying to create a script to help my team with the creation of application packages, so that things are a little quicker, and more cookie cutter with fewer little differences between ...
0
votes
0
answers
1k
views
SCCM uninstall rule is in conflict with install rule
Application A is originally installed by a deployment targeting a collection (Collection A) that populates based off a query.
I have Device A sitting in an AD Group called 'Uninstall Application A'.
...
0
votes
1
answer
140
views
Not able to add users from csv file in to Remote desktop Users group
I am able to import .csv file and its working for me without any error, but not able to add the users in Remote Desktop Users list. Can any one know the solution.
Import-csv -Path "C:\Users\...
-1
votes
1
answer
283
views
Deploying Virtualbox via SCCM
Im going to deploy Virtualbox via SCCM and Im curious if there is still necessity to push oracle certificate with certuil (separate from instalation)?
If so, how did u get and manage certificate?
I ...
0
votes
1
answer
856
views
Powershell SCCM - query distribution point config to get if pxe enable unknown computer support etc
I've made the following script :
cls
$siteCode = 'AB1'
$serverName = 'S203S1'
# Query SCCM to find the specific Distribution Point
$dp = Get-CMDistributionPoint -SiteSystemServerName $serverName
$...
0
votes
0
answers
603
views
SCCM/MECM - Task Sequence - Run command "as a different account" issues
I'm here today to talk about a MECM task sequence I'm having a problem with.
Context:
The idea is to make the TS available in the software center so that the process can be launched by a user from his ...
0
votes
0
answers
92
views
Custom SCCM / MECM / ConfigMgr PowerShell script issue
The objective of this PowerShell script is to accept a SCCM / ConfigMgr DP Group as input, & output into .csv file, the list of all unique package IDs distributed to it.
ISSUE: It returns empty ...
1
vote
1
answer
205
views
WMI Query an Array which has an Object embedded
I am trying to write a PowerShell Script, which queries on a local Client the SCCM WMI Tree root\ccm\ClientSDK
we want to have the info was PostInstallaction an Application is using (Yes we know ...
0
votes
1
answer
228
views
SCCM client with dual windows boot on the same computer
On a hundred PCs, I deployed via SSCM a dual boot with two Windows:
Part 1:
Computer name "PC-Part1"
Windows 11
Domain1.local
10.0.0.0/8
SCCM Server site name "SCCM-1"
Part 2:
...
1
vote
2
answers
5k
views
"Not found" error when creating Driver Packages in SCCM/MECM
I am trying to import drivers and when I get to the part where I have to create a driver package I get an error that says "Not found" when I specify a network path (UNC) where Configuration ...
0
votes
1
answer
485
views
How can I silently deploy an MSI installation at the user level using the SCCM tool?
I have an MSI installer which supports only user level installation, how can I deploy that silently deploy to all the users using SCCM tool without user interaction?
0
votes
1
answer
577
views
How can I see the IP of whom accessed a system using CM Remote Control?
I was trying to check on the IP address of a mysterious remote session.
We are phasing out SCCM/MECM, and currently are unable to run reports and audit remote sessions.
I have checked Event Viewer in ...
0
votes
1
answer
2k
views
Getting SCCM task sequence status on a client machine
I'm creating a Windows VM in azure and want to execute a Powershell script to perform the following tasks:
install SCCM client
reboot, and SCCM task sequence will start in a few minutes.
wait for the ...
0
votes
2
answers
602
views
How to integrate a REST API with SCCM for ServiceNow to consume it?
I created my rest api with node and typescript, but since I have no knowledge of SCCM, I need to understand if it would be possible to make this integration for ServiceNow to consume this api.
I need ...
0
votes
1
answer
375
views
Configuration Manager Configuration Baseline evaluation schedule in the deployment vs client settings
How does the Configuration Manager Configuration Baseline evaluation schedule in the deployment settings work in conjunction with the evaluation schedule in the client settings? Does the evaluation ...
0
votes
1
answer
79
views
Msiexec a MSI package with passive got different results in administrator command prompt and normal command prompt
I tried to make up wxs to build a MSI package. The target is to passive install in Standard User account. This MSI copies files, writes HKCU registry, creates folder under %LOCALAPPDATA% and creates a ...
0
votes
1
answer
129
views
How does an add-in for SCCM get the commandline parameter?
I am troubleshooting an in-house PowerShell script (compiled in PowerShell Studio) that is used to schedule distributing SCCM package content to our DPs (SCCM 2012). The script has a parameter for $...