gijs007 Posted January 6, 2013 Share Posted January 6, 2013 (edited) I'm hosting those games on server 2012, they all work fine except for garrys mod which needs to be ran in compatibility mode. To fix this i've put this as a script to run after the server is created: reg.exe Add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ThisService_Executable%" /d "WIN7RTM" And this as script before its removed: reg.exe delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ThisService_Executable%" /f Edited April 11, 2016 by gijs007 Link to comment Share on other sites More sharing options...
MeeJay Posted March 6, 2013 Share Posted March 6, 2013 Does not work, but by directly put the executable on compatibility it works Link to comment Share on other sites More sharing options...
CloudCUBE Posted March 7, 2013 Share Posted March 7, 2013 Does not work, but by directly put the executable on compatibility it works It does work. you're doing it wrong. Link to comment Share on other sites More sharing options...
ViolentCrimes Posted March 7, 2013 Share Posted March 7, 2013 How can you make it work for the tcadmin user? Link to comment Share on other sites More sharing options...
CloudCUBE Posted March 27, 2013 Share Posted March 27, 2013 How can you make it work for the tcadmin user? Custom Scripting. Event: After Created and After Move reg.exe Add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ThisService_Executable%" /d "WIN7RTM"'' Event: After Deleted and Before Move reg.exe delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ThisService_Executable%" /f That should work for you. Link to comment Share on other sites More sharing options...
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