JDSS - JAMF Delete Shared Users

Deletes all shared users for an iPad

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Jesse Cole
今日安裝
0
安裝總數
33
評價
1 0 0
版本
1.0
建立日期
2019-05-06
更新日期
2019-05-06
尺寸
10.7 KB
授權條款
未知
腳本執行於

This script modifies installs of JAMF Pro (current version: 10.11.1). It creates a working "Remove All" button for the "Shared Users" pane for shared iPads.

Apple's shared iPads have a limit of 10 cached AppleIDs. When that limit is hit, the iPad will not allow additional users to log in. You then have two options: wipe the device or delete the users from the MDM. JAMF does allow deleting the users one at a time through their interface. Unfortunately, you cannot queue up the delete commands. An error will appear when click the button until the previous command is no longer pending.

This script automates the process. It will repeatedly send the delete user command (every 2 seconds for up to 60 seconds) until it goes through at which point it moves on to the next user.

I'm sure Apple or JAMF or both will eventually release something to address this problem but for now, this works.