Advertisement
Guest User

Rob Bobbit

a guest
Jun 30th, 2009
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.46 KB | None | 0 0
  1. @echo off
  2.  
  3. if "%1"=="" goto usage
  4.  
  5. ::: delete ts client license registry key
  6. echo %1
  7. snmpset -v 2c -c WBTADMIN %1 1.3.6.1.4.1.714.1.2.3.15.1.1.1.1 i 2
  8. snmpset -v 2c -c WBTADMIN %1 1.3.6.1.4.1.714.1.2.3.15.1.1.2.1 s "SOFTWARE\Microsoft\MSLicensing"
  9. snmpset -v 2c -c WBTADMIN %1 1.3.6.1.4.1.714.1.2.3.15.1.1.3.1 i 2
  10. snmpget -v 2c -c WBTADMIN %1 1.3.6.1.4.1.714.1.2.3.15.1.1.4.1
  11. goto end
  12.  
  13. :usage
  14. echo usage: resetlic {ip address or hostname}
  15. echo.
  16.  
  17. :end
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement