Quest A+

Disable services like VNC before an exam

Create a .adm file that disables the service and import it as a template for a Group Policy Object (GPO). For example:

; Created by Daniel Vallerand
; Will disable UVNC for the specific computer in the a specific OU
; Start = 4 (disable), 3 (manual), 2(automatic), 1 (system), 0 (boot)

CLASS MACHINE
CATEGORY "System"
POLICY "Stop UVNC"
    KEYNAME "SYSTEM\CurrentControlSet\Services\uvnc_service"
    VALUENAME "Start"
    VALUEON 4
    VALUEOFF 2
END POLICY
END CATEGORY

; End script  

Back to Quest A+ Help