sccm

PowerShell script doesn't work correctly from Windows Task Scheduler

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 15:13:16
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 returns error code of 0) but it doesn't seem to proceed past the line that reads: $GetAppRequest = Get

How to push MSI with parameter using SCCM server

≡放荡痞女 提交于 2019-12-04 07:14:40
问题 I want to push MSI installer with parameter using SCCM server. i.e. msiexec.exe /i "setup.msi" INSTALLFOLDER="SpecifiedInstallationLocation" CONFIGFILE="FileName" Can I use parameter name defined by me or I have to use specific parameter name in command line? Is any specific format to pass parameter? Can I able to pass parameter to MSI installer? If I use same command in batch file then it will works properly. 回答1: In general questions about SCCM or corporate deployment tools may be better

SCCM安装及配置过程总结

匿名 (未验证) 提交于 2019-12-03 00:41:02
2, SQL版本要和SCCM的版本对应 3, SQL排序规则:SQL_Latin1_General_CP1_CI_AS 4, 服务帐户都用专用的SQLAdmin来启用―启动类型全改为自动 5,DC创建容器 System Management 并赋权 在DC上打开ADSI编辑器 创建一个容器 System Management 打开ADSI编辑器---连接到默认命名上下文―右击System 新建对象―选择 container 写值为:System Management 在DC上打开dsa.msc 用户和计算机 打开高级功能并找到 System Management 授予Sccm计算机帐户的完全控制权限 并修改为 这个对象及全部后代 完全控制权限 (备注:如果以后要添加SEC辅助站点,同样也需要把SEC权限给加进去) 6,SCCM2012 与ADK版本对应 SCCM2012版本对应的ADK包如下: SCCM2012----------------------ADK8-------MDT SCCM2012 SP1---------------ADK8.1-------MDT2013/2012 SCCM2012 R2----------------ADK8.1-------MDT2013/2012 安装错误版本如SCCM2012 R2 安装 ADK8,则在后面可能出现

SCCM PXE失败,报错代码0XC0000001

匿名 (未验证) 提交于 2019-12-02 23:57:01
该问题由2019年3-4月份的补丁引起的,会导致所有使用WDS的PXE DP的问题,客户端使用PXE启动时,界面报错如下: 微软官方文档如下: https://support.microsoft.com/zh-cn/help/4512816/devices-that-start-up-using-preboot-execution-environment-pxe-images-f 解决方案: 目前,该问题已经在最新的LCU中解决。 Workaround: 另外,你也可以通过修改DP上以下注册表值来解决该问题。 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\DP\RamDiskTFTPWindowSize: 4 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\DP\ RamDiskTFTPBlockSize: 1456 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSTFTP\MaximumBlockSize: 1456 来源:51CTO 作者: ޱޱIvy 链接:https://blog.51cto.com/13218042/2435406

SCCM学习笔记 Day 3.txt

匿名 (未验证) 提交于 2019-12-02 23:38:02
Module 8 (续) Windows Patch推送 1.WSUS有一张"补丁清单"(WSUS DB) ↑ ↓ 配置Role 同步清单(overwrite) ↑ ↓ SUP(Role)有一张"补丁清单"(SCCM DB) 同步可以设置自动同步计划 2.勾选对应清单中OS,可以使WSUS下载补丁清单(仅清单,非补丁安装包) 3.Client上的Configuration Manager-->软件更新扫描周期-->用来扫描Client上已安装的补丁。 4.补丁--(隶属于)-->软件更新组-->“下载”部署包-->推送到DP-->从“软件更新组”Deploy到Agent。 Module 9 Implement Endpoint Protection 微软官方的杀毒软件,没啥可以记录的 Module 10 Compliance and Secure Data Access 1.合规性检查的设置,不仅可以检查,同时也具备修正Regedit,修复Client上RDP设置的可选项。 2.配置合规性检查的步骤 Configuration Items-->Baseline-->与Client进行比对-->Report生成 3.Client Settings-->Default Client Settings-->Compliance Settings里可以配置Configuration

How to push MSI with parameter using SCCM server

爱⌒轻易说出口 提交于 2019-12-02 14:12:25
I want to push MSI installer with parameter using SCCM server. i.e. msiexec.exe /i "setup.msi" INSTALLFOLDER="SpecifiedInstallationLocation" CONFIGFILE="FileName" Can I use parameter name defined by me or I have to use specific parameter name in command line? Is any specific format to pass parameter? Can I able to pass parameter to MSI installer? If I use same command in batch file then it will works properly. Stein Åsmul In general questions about SCCM or corporate deployment tools may be better answered on the StackExchange system administrator site serverfault.com . Deployment is a crucial

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

旧街凉风 提交于 2019-12-02 00:54:29
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 and installing it again, or with a repair functionality). But, in SCCM I have no option(neither found a

.NET GUI Not Displaying in WinPE

你。 提交于 2019-11-29 12:09:26
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 anyone done any .NET development for WinPE yet? This is WinPE 4.0 and I have installed .NET 4.0 and other

SCCM PXE失败,报错代码0XC0000001

柔情痞子 提交于 2019-11-29 06:04:14
该问题由2019年3-4月份的补丁引起的,会导致所有使用WDS的PXE DP的问题,客户端使用PXE启动时,界面报错如下: 微软官方文档如下: https://support.microsoft.com/zh-cn/help/4512816/devices-that-start-up-using-preboot-execution-environment-pxe-images-f 解决方案: 目前,该问题已经在最新的LCU中解决。 Workaround: 另外,你也可以通过修改DP上以下注册表值来解决该问题。 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\DP\RamDiskTFTPWindowSize: 4 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\DP\ RamDiskTFTPBlockSize: 1456 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WDSServer\Providers\WDSTFTP\MaximumBlockSize: 1456 来源: https://blog.51cto.com/13218042/2435406

升级SCCM 2012R2 SP1故障解决

↘锁芯ラ 提交于 2019-11-28 14:37:10
升级操作说明: https://blog.51cto.com/firelong/2140305 故障一: 上周7月5号进行升级sccm至2012 R2 SP1的操作,执行升级程序splash.hta,在最后核心程序安装步骤失败,关闭升级程序,打开SCCM控制台报错如下: Configuration Manager 控制台无法连接到Configuration Manager 站点数据库。 故障分析: 虽然升级失败,但理论上不应该会导致无法打开sccm控制台,且报错内容看似跟升级并无关系; 报错提示无法连接站点数据库,但在升级前一切正常,并不存在权限及网络相关问题; 排错过程: 1)升级之前对SCCM和SCCM-SQL服务器做过快照,先应用快照,回退到先前状态; 2)回退完毕后,打开sccm控制台,依然有如上报错,无法连接到站点数据库; 3)回想到在升级sccm当天,公司在查禁弱口令帐户,但ccm管理账户sqladmin是域管理员,应该不在查禁账户列表,但确认了一下,确实被禁,心中哇凉哇凉滴。。。 4)sqladmin账户解禁后,依然报错,瞬间泪奔,老天为何虐我,全都恢复如初,还要这样对我。此时又猛的想到,在接到查禁弱口令帐户的通知后,重新修改加强了sqladmin账户密码,但并未同步更新ccm数据库; 5)在SQLserver更新sqladmin账户密码后,恢复正常。 故障原因定位: