diff --git a/setup/scap_delete_roaming.reg b/setup/scap_delete_roaming.reg new file mode 100755 index 0000000..3631d29 Binary files /dev/null and b/setup/scap_delete_roaming.reg differ diff --git a/setup/setup.bat b/setup/setup.bat index 99077c9..c1edf16 100755 --- a/setup/setup.bat +++ b/setup/setup.bat @@ -3,6 +3,8 @@ set LDAPSERVER=server.realm.test set FILESERVER=fileserver.realm.test set MACHINEPASSWORD=password +vcredist_x86.exe + ksetup /setdomain %REALM% ksetup /addkdc %REALM% %LDAPSERVER% ksetup /setcomputerpassword %MACHINEPASSWORD% @@ -11,11 +13,13 @@ ksetup /mapuser * * copy sspap3.dll C:\Windows\System32\ mkdir C:\logon copy \\%FILESERVER%\common\localstartup.bat C:\logon\ +copy sspap3registrypermissions.exe C:\logon\ regedit /S scap_base.reg -regedit /S scap_lsa_win8 -regedit /S scap_roaming_profiles -regedit /S scap_winlogon +regedit /S scap_lsa_win8.reg +regedit /S scap_roaming_profiles.reg +regedit /S scap_winlogon.reg +regedit /S scap_delete_roaming.reg net share netlogon=C:\logon