π Windows Security for Exam Settings
1β£ Restricting Access to System Settings & Resources
The goal is to lock down the exam environment, preventing students from modifying system settings, accessing unauthorized applications, or browsing files outside the exam folder.
π A. Restrict User Access Using Group Policy (GPO)
1. Open Group Policy Editor
- Press
Win + R, typegpedit.msc, and hit Enter. - Navigate to User Configuration > Administrative Templates.
2. Disable Access to Control Panel & Settings
Prevents students from modifying system settings.
- Go to:
User Configuration > Administrative Templates > Control Panel
- Find "Prohibit access to Control Panel and PC settings", Enable it.
β Now, students cannot open the Control Panel.
3. Restrict Access to Drives (Prevent Browsing Files)
- Go to:
User Configuration > Administrative Templates > Windows Components > File Explorer
- Find "Prevent access to drives from My Computer", Enable it.
- Choose C: drive (or other necessary drives).
β This blocks students from accessing system files.
4. Prevent Access to Command Prompt (CMD & PowerShell)
To stop students from running commands:
- Go to:
User Configuration > Administrative Templates > System
- Enable "Prevent access to the command prompt".
- Enable "Turn off Windows PowerShell".
β CMD and PowerShell will be blocked.
5. Disable Task Manager (Prevent Process Termination)
To stop students from closing monitoring software:
- Go to:
User Configuration > Administrative Templates > System > Ctrl+Alt+Del Options
- Enable "Remove Task Manager".
β Students cannot open Task Manager.
6. Restrict USB Storage (Prevent Copying Data)
- Go to:
Computer Configuration > Administrative Templates > System > Removable Storage Access
- Enable "All Removable Storage classes: Deny all access".
β USB storage devices will be blocked.
7. Prevent Internet Browsing (Block Websites)
1. Block Internet Explorer/Microsoft Edge
- Go to:
User Configuration > Administrative Templates > Windows Components > Internet Explorer
- Enable "Prevent running First Run wizard".
- Enable "Disable changing proxy settings" to stop students from bypassing blocks.
2. Block Specific Websites Using Windows Firewall
- Open Windows Defender Firewall (
wf.msc). - Go to Outbound Rules > New Rule.
- Select Program > Block Internet Browsers (
chrome.exe,firefox.exe, etc.).
β No unauthorized browsing during exams.
π B. Set Up Exam User Restrictions
1. Create a Dedicated Exam User Account
- Open Local Users and Groups (
lusrmgr.msc). - Create a new user (e.g.,
examuser). - Add it to the Users group (NOT Administrators).
β This ensures students donβt have admin privileges.
2. Prevent Students from Running Unauthorized Apps
- Open Group Policy Editor (
gpedit.msc). - Go to:
User Configuration > Administrative Templates > System
- Enable "Don't run specified Windows applications".
- Click Show, then add:
chrome.exe
firefox.exe
cmd.exe
powershell.exe
taskmgr.exe
regedit.exeβ Now, these applications wonβt run for students.
3. Allow Only Exam-Related Applications
To restrict students to only exam software:
- Go to:
User Configuration > Administrative Templates > System
- Enable "Run only specified Windows applications".
- Click Show, then add only the necessary applications (e.g.,
examapp.exe).
β Now, only exam software will run.
4. Automatically Logout Students After Exam
To force logout after the exam:
- Open Task Scheduler (
taskschd.msc). - Create a new task:
- Trigger: Set Exam End Time (e.g., 12:00 PM).
- Action: Run shutdown -l to log out the user.
β Students will be logged out automatically.
π C. Additional Security Measures
1. Enable Kiosk Mode (Single App Mode)
To lock students to one exam app:
- Open Settings > Accounts > Assigned Access.
- Choose the exam user account.
- Select an exam application (e.g.,
examapp.exe).
β The user is locked to one application.
2. Block External Software Installation
To prevent students from installing new software:
- Go to:
Computer Configuration > Windows Settings > Security Settings > Software Restriction Policies
- Right-click Software Restriction Policies > New Policies.
- Enable Disallowed by Default.
- Add only the necessary exam software to "Allowed".
β No external software can be installed.
3. Restrict Printing (Prevent Cheating)
To disable printing during exams:
- Go to:
User Configuration > Administrative Templates > Control Panel > Printers
- Enable "Prevent adding printers".
- Enable "Disable the ability to print".
β Printing will be blocked.
π Conclusion
By using Group Policy, firewall rules, and user restrictions, you can lock down the exam environment and prevent cheating or system modifications.
πΉ Need step-by-step automation using PowerShell? Let me know! π