sccm

Is there a way to reinstall an application in SCCM 2012?

不想你离开。 提交于 2019-12-20 03:18:01
问题 In SCCM 2007, there were several "Right Click Tools", and with their help it was possible to "reinstall" a package. In SCCM 2012 I still couldn't find a way, how could I reinstall an application? Let me explain: I created an installation package from a software, then distributed it as an "Application". Installation finished successfully. One week later a user calls, he is having trouble with this application. The package I created supports the reinstallation(either by removing the software

.NET GUI Not Displaying in WinPE

送分小仙女□ 提交于 2019-12-18 07:03:31
问题 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 and the error message displays, but the form never shows up. On my dev machine when there was an error I would get the message but the form would display afterward. I have verified that all the dll's I'm calling are installed on the WinPE, has

I need a script to detect if a computer is in an active directory user group

﹥>﹥吖頭↗ 提交于 2019-12-13 04:38:32
问题 I found online a VBscript that joins a computer to a group in the Users OU for Direct Access to work. It works perfectly in the task sequence for our OSD using SCCM 2012 but we've come to a road block where we only want laptops to be added rather then all computers. If someone would be so kind, I need a script (Powershell, VB, JScript) that will detect that the computer was added to the group in AD. 回答1: Set the task sequence step to run based on a condition. The above conditions detects if

Repackaging Installshield 5.0 installer to MSI and removing dependencies

房东的猫 提交于 2019-12-13 02:15:52
问题 I have an installation package that installs a mapping program I use for work. As I now have to upgrade to Windows 10, unfortunately the program won't install as some components are no longer valid and it crashes out part way through installation. The installer package has been made with Installshield 5.0 some time ago. The dependencies installed are - dcom 95/98 - Visual C++ - Microsoft Data Access Components I would like to remove the two dependencies visual c++ and MDAC as they are already

Install SCCM packages with PowerShell

梦想的初衷 提交于 2019-12-11 23:22:57
问题 I have this script so I can install applications that are available in SCCM with Powershell. I'm trying to do it with a package, but can not make it work. Is there anybody who can help make the script so it works for packages. Thanks $ComputerName = $env:COMPUTERNAME $ApplicationName = "VLC Player" $ApplicationClass = [WmiClass]"\\$($ComputerName)\root\ccm\clientSDK:CCM_Application" $Application = Get-WmiObject -Namespace "root\ccm\clientSDK" -Class CCM_Program | Where-Object { $_.Name -like

WiX Installer wrong about newer version already installed

女生的网名这么多〃 提交于 2019-12-11 07:37:18
问题 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 installs the new version (1.0.2.1) but the objective is to have SCCM push the application out to our 50+ workstations. Answers to questions that have been asked: It is configured in SCCM as an Application . This is only my third experience with SCCM, I am

SQL Query with Dynamic Columns Using Pivot

风流意气都作罢 提交于 2019-12-11 07:27:45
问题 I know this topic is everywhere but I couldn't get it to work properly. It's probably something very simple. Here is a sample of the data after a basic query: ----------------------------------- |Site| Model | Count | ----------------------------------- AAA ProLiant DL380 G7 1 AAA OptiPlex 790 500 BBB OptiPlex 780 80 CCC OptiPlex 790 23 ... What I would like is where the column names are dynamic: -------------------------------------------------------- |Site| ProLiant DL380 G7 | OptiPlex 790

Joining two tables in WQL/SCCM

穿精又带淫゛_ 提交于 2019-12-11 02:44:05
问题 I think I'm being really stupid here. I'm using vbscript. I've connected to an SCCM server Set locator = CreateObject("WbemScripting.SWbemLocator") Set connection = locator.ConnectServer("SERVERNAME", "Root\SMS\SITENAME") I then have a WMI WQL query: Set Collections = connection.ExecQuery("SELECT LastStatusTime,AdvertisementID, LastStateName,AdvertisementName FROM SMS_ClientAdvertisementStatus INNER JOIN SMS_Advertisement ON SMS_Advertisement.AdvertisementID = SMS_ClientAdvertisementStatus

Powershell script not running properly from SCCM [closed]

冷暖自知 提交于 2019-12-10 15:34:48
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . 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.

PowerShell script doesn't work correctly from Windows Task Scheduler

家住魔仙堡 提交于 2019-12-08 07:31:00
问题 Overview: I have a script I am using to query new application requests within SCCM via WMI. The script works perfectly when launched manually within a PowerShell console (either elevated or not, doesn't matter). I need to run the script through Task Scheduler. Currently set up to run with admin credentials and the checkbox for 'Run with highest privileges' is checked. The Issue: Won't run correctly from Task Scheduler within Windows Server 2008 R2. No errors are reported (task scheduler