Issues Installing Shavlik (Ivanti Patch)

I didn’t realize a simple issue can cause a big issue with Shavlik: When launching the installer from Shavlik, you have to “Unblock” the file before running the isntaller, otherwise you will get failed to create folder when you are running the Ivanti Patch checker. And when you launch the SCCM console, you have to […]

How to Uninstall NoMAD

Here is a simple script to uninstall NoMAD: # /bin/bash # Rui Qiu # Remove NoMad and use direct AD Bind loggedInUser=`/bin/ls -l /dev/console | /usr/bin/awk ‘{ print $3 }’` pkill “NoMAD” sudo rm -rf /Applications/NoMAD.app sudo rm -rf “/Library/Managed Preferences/com.trusourcelabs.NoMAD.plist” sudo rm -rf “/Library/Managed Preferences/$loggedInUser/com.trusourcelabs.NoMAD.plist” sudo rm -rf “/Users/$loggedInUser/Library/LaunchAgents/com.trusourcelabs.NoMAD.plist”   And you can use […]

Shell Script to Remove Centrify, Move Wifi/LAN, and Request 802.1 Certificate

Here is a long script of doing a lot of things,  it deletes the Centrify Binding, Centrify certificates and itself, binds the machine to AD via native plugin and requests a 802.1x certificate via native RPC   #!/bin/sh # This script deletes the Centrify Binding, Centrify certificates and itself, binds the machine to AD via native […]

Casper Configuration Profiles Auto Renewal

If you are using AD certificates inside a configuration profile, here is the easiest way to make it auto renewal: sudo defaults write /Library/Preferences/com.apple.mdmclient AutoRenewCertificatesEnabled -bool YES I have setup an extension attribute to check the Macs need this remediation: #! /bin/bash status=$(sudo defaults read /Library/Preferences/com.apple.mdmclient AutoRenewCertificatesEnabled) echo “<result>$status</result>”   Any Macs without the result […]