Skip to content

Instantly share code, notes, and snippets.

@adamgell
Created July 13, 2018 13:44
Show Gist options
  • Save adamgell/8616611c7e507144fcf869f6b81030d7 to your computer and use it in GitHub Desktop.
Save adamgell/8616611c7e507144fcf869f6b81030d7 to your computer and use it in GitHub Desktop.
UDADMIN CTX Licensing Clear
Remove all users:
for /f "tokens=1,2" %i in ('udadmin -list ^| find /i "_ud"') do @udadmin -f %j -user %i -delete
Remove all devices:
for /f "tokens=1,2" %i in ('udadmin -list ^| find /i "_ud"') do @udadmin -f %j -device %i -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment