Jump to content
  • entries
    5
  • comments
    9
  • views
    1,072

SIMSPERM!


benrwb

14,999 views

I have adapted the SIMSPERM batch file so that it can be applied as a Startup Script via Group Policy.

 

@echo off

if not exist "%ProgramFiles%\SIMS" goto end

if exist "%ProgramFiles%\SIMS\doneperm.txt" goto end

path \\[color="red"]server[/color]\netlogon

SubInAcl /FILE %WINDIR%\SIMS.INI /GRANT=[color="red"]domain\group[/color]=F
SubInAcl /SUBDIRECTORIES "%ProgramFiles%\SIMS\*.*" /GRANT=[color="red"]domain\group[/color]=F
SubInAcl /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes /GRANT=[color="red"]domain\group[/color]
SubInAcl /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID /GRANT=[color="red"]domain\group[/color]
SubInAcl /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface /GRANT=[color="red"]domain\group[/color]
SubInAcl /KEYREG HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib /GRANT=[color="red"]domain\group[/color]

echo y >"%ProgramFiles%\SIMS\doneperm.txt"

:end

 

Notes: SubInAcl.exe must be copied to the netlogon folder.

 

This has been tested with Windows XP only. Not sure if it will work on Vista/7.

6 Comments


Recommended Comments

vikpaw

Posted

Good job. Why don't you post it in the MIS forum for others to test.

It would be good to have a windows 7 version as i'm pretty sure it would need modifying to cope with the increased security on the C drive, so maybe you or someone there can do that.

kevin_lane

Posted

i didnt think simsperm was needed any more
benrwb

Posted (edited)

@vikpaw I'm trying to get hold of a Windows 7 system to test it on. If I can get it working I will report back with the results.

 

@kevin_lane In my school simsperm is still required, as we haven't switched to SOLUS yet.

Edited by benrwb
vikpaw

Posted

If you post in that thread, they can test for you...
ChrisH

Posted

For Windows 7 I just made a copy of the simsperm script and then did a search and replace on program files to program files (x86) seems to work fine. This is assuming your Windows 7 folders are installing into the x86 folder.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...