View RSS Feed

benrwb

SIMSPERM!

Rate this Entry
by , 23rd May 2011 at 09:35 AM (6914 Views)
I have adapted the SIMSPERM batch file so that it can be applied as a Startup Script via Group Policy.

Code:
@echo off

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

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

path \\server\netlogon

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

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.
Tags: sims.net
Categories
Uncategorized

Comments

  1. vikpaw's Avatar
    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.
  2. kevin_lane's Avatar
    i didnt think simsperm was needed any more
  3. vikpaw's Avatar
    It is until SOLUS 3 is fully working everywhere, at least for the upgrade process. Users still need permissions on certain areas just for daily usage, though they may not need to be all that elevated, as most files would be in the documents folder.
    See here though: http://www.edugeek.net/forums/mis-sy...t-win-7-a.html
  4. benrwb's Avatar
    @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.
    Updated 25th May 2011 at 08:13 AM by benrwb
  5. vikpaw's Avatar
    If you post in that thread, they can test for you...
  6. ChrisH's Avatar
    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.

Trackbacks

Total Trackbacks 0
Trackback URL: