SureLock Windows API
Following SureLock Windows API commands can be executed using command prompt:
| SureLock API | Syntax | Description | 
|---|---|---|
| Launch SureLock | SureLockAPI.exe Start 0 | Launch SureLock without reboot | 
| SureLockAPI.exe Start 1 | Launch SureLock with reboot | |
| Exit SureLock | SureLockAPI.exe Exit <admin password> 0 | Exit SureLock without reboot | 
| SureLockAPI.exe Exit <admin password> 1 | Exit SureLock with reboot | |
| Refresh | SureLockAPI.exe Refresh | Refresh SureLock Homescreen | 
| Reset Password | SureLockAPI.exe ResetPassword <Passcode CodeReceivedFromTechSupport> | Reset the password eg: SureLockAPI.exe ResetPassword RIQMFE LOL0AF56146SSY | 
| Disable SureLock Analytics | SureLockAPI SureLockAnalytics 0 | Disable SureLock analytics option | 
| Enable SureLock Analytics | SureLockAPI SureLockAnalytics 1 | Enable SureLock analytics option | 
| Export SureLock Analytics | SureLockAPI SureLockAnalytics 2 | Export SureLock analytics data in .csv format | 
| Launch Network Settings | SureLockAPI NetworkSettings 0 | Launch the Network Settings to configure a network | 
To execute the API commands, follow these steps:
1. Open Command prompt in Administrator mode.
2. Navigate to the folder where SureLock is installed.
Example: C:\Program Files\SureLock.
3. Enter the appropriate command given under Syntax.