Novell Cool Solutions

Preventing Students from Saving Games on the C: Drive



By:

January 10, 2008 5:26 pm

Reads:12,200

Comments:2

Score:5

Print/PDF

By James Rudd

I wrote this to help a colleague at another school who had students saving games to the C drive of PCs.

PROBLEM: When using Group Policies with ZENworks and Windows XP you may find users are able to create folders and files in root of C:. This is due to the change in default security settings for drives on Windows XP from 2000.

Solution

You need to use the Security Template editor to create a template restricting rights to the C: drive and deploy it with your group policies. The same procedure can be used to create a Security Template for use with Active Directory.

Instructions:

  1. Open MMC from run.
  2. Add Remove Snap-in.
  3. Add Security Templates and Close.
  4. By default this only shows C:\Windows\security\templates. I prefer to store mine on the network so add a new network folder.
  5. Right click (RC) Security Templates and add a New Template Search Path to network folder.
  6. You can then either copy an existing template using RC on template and Save As to network folder or start from scratch.
  7. Expand chosen template then File System folder.
  8. RC either on File System object or in right hand pane and Add File.
  9. Click C: and OK and it should expand to %SystemDrive%.
  10. You can now adjust the permissions for the default groups.
  11. When finished make sure to RC on the template and click Save. You can also set a description before saving.

I recommend going into Advanced and removing the two entries for Users allowing them to Create Folders and Create Files. This will prevent students and users creating files on C: drive.

You can create similar entries for other folders such as program files, etc. You can also allow students access to folders if required by certain programs or groups. Remember under Novell, because computers are not part of domain you cannot use items you have added such as groups or individual users.

Adding to Group Policy in ConsoleOne

  1. Open up the WS Policy Package, Windows XP tab and the Windows Group Policy item.
    If you are using Zen 7 continue, if using Zen 6.5 click Edit and jump to point 3 in AD below.
  2. Click Import Policies.
  3. Click Import Security Settings File and browse to the security template you created and import.
  4. Make sure Security Settings is ticked under Applied Settings Types.
  5. Click OK to save.

Adding to Group Policy in Active Directory

  1. Open Group Policy Management console.
  2. Browse to chosen GPO or create a new one, and go to Edit mode.
  3. Expand Computer Config -> Windows Settings -> Security Settings.
  4. RC on Security Settings and choose Import Policy.
  5. Browse to the security template you created and Open. You may also wish to clear any existing settings in GPO.
  6. Exit Edit mode.

Multiple Security Templates can be created for different machines.
We allow staff to create files on C: (mainly to keep personal photos and music off network) so we have separate Security Template for Staff and Student PCs.

1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

2

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

2 Comments

  1. By:mlazovjp

    How timely … I JUST created AutoIt scripts for this same thing yesterday!

    Below are the commands I run.

    ;Remove “CREATOR OWNER” group’s access to root of C:
    cacls.exe C:\ /E /R “CREATOR OWNER”

    ;Remove “Everyone” group’s access to root of C:
    cacls.exe C:\ /E /R “Everyone”

    ;Revoke “Create Folders” and “Create Files” privileges to root of C: for “Users”
    cacls.exe C:\ /E /P Users:R /C

    ;Provide “Users” with all access (except “Full Control”) to C:\temp
    mkdir C:\temp
    cacls.exe C:\temp /E /G Users:c

    ;Give “Users” full access to the Recycle Bin
    cacls.exe C:\Recycler /E /G Users:F

  2. By:melvincyrus

    Thanks for your tips. It is very useful. I’m also a teacher.

Comment

RSS