Davit2005 Posted January 18, 2012 Posted January 18, 2012 Anyone managed to get this software working under restricted student logons. Seem to need logging on as Local Admin for the software to run. Also, it takes 15 to 20 seconds for the application to open as Local Admin. We run GameMaker 7 ok, allthough it brings up an error message it still works.
notalot Posted January 18, 2012 Posted January 18, 2012 (edited) I knocked this up for gamemaker 7 should just need a little editing. It uses xcacls How to use Xcacls.exe to modify NTFS permissions copy "\\Server\folder\Xcacls.vbs" "c:\" cscript c:\xcacls.vbs "c:\temp" /e /g "Domain\students":rew;rew cscript c:\xcacls.vbs "c:\Windows\Temp" /e /g "Domain\students":rew;rew cscript c:\xcacls.vbs "c:\Program Files\Game_Maker7" /e /g "Domain\students":rew;rew cscript c:\xcacls.vbs "c:\temp" /e /g "Domain\staff":rew;rew cscript c:\xcacls.vbs "c:\Windows\Temp" /e /g "Domain\staff":rew;rew cscript c:\xcacls.vbs "c:\Program Files\Game_Maker7" /e /g "Domain\staff":rew;rew del c:\xcacls.vbs /s /q Just need to change the Domain\students, domain\staff, server\folder and the path for the install then test it. If you get no luck Ill have a stab at doing it when I get some time Edited January 18, 2012 by notalot 1
Davit2005 Posted January 18, 2012 Author Posted January 18, 2012 Thanks, I'll give that a try. Gamemaker 7 is bringing up an error message at the moment. I had reimaged all the machines over the summer break to Windows 7 so this one is to remember for next image build. I suppose I could try doing as a machine startup script via policy if it sorts the problem by test running on a single machine. Again, thanks for help
HCC Posted January 18, 2012 Posted January 18, 2012 I have had this with gamemaker 7 and 8 running under student accounts. It produces the error "Error #5: You tried to run this software twice, or you do not have full permissions. in this case contact your administrator", then it goes "Softwrap file error 4" then it goes "Error: Inconsistent Files" Our solution to the problem was to delete a file and folder on each XP Computer delete C:\Documents and Settings\All Users\Documents\global.sw2 delete C:\Documents and Settings\All Users\Documents\softwrap (folder inc sub folders) then let gamemaker re-create them itself by running as a student not an admin.
Davit2005 Posted January 19, 2012 Author Posted January 19, 2012 Windows 7 a different kettle of fish from XP. xcacls no more, it is now icacls. Have tried the suggestion and need to fine tune the icacls syntax as different parameters are used. I noticed while installing it wanted to install to the C:\users dir but been a domain we have the documents redirected to the students server share. Profiles are local and not Mandatory or Roaming. I have found some software which I had to install as a user and the set that user as a default profile.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now