From fa27136b11de02753e6975a148568c333aba3d8f Mon Sep 17 00:00:00 2001 From: wchen-r7 Date: Wed, 26 Oct 2016 18:32:36 -0500 Subject: [PATCH] Hide users except Vagrant --- scripts/configs/create_users.bat | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/scripts/configs/create_users.bat b/scripts/configs/create_users.bat index 4bdd4ae..68c89e1 100644 --- a/scripts/configs/create_users.bat +++ b/scripts/configs/create_users.bat @@ -27,4 +27,20 @@ net localgroup "Performance Monitor Users" lando_calrissian /ADD net localgroup "Power Users" boba_fett /ADD net localgroup "Print Operators" jabba_hutt /ADD net localgroup "Remote Desktop Users" greedo /ADD -net localgroup "Replicator" chewbacca /ADD \ No newline at end of file +net localgroup "Replicator" chewbacca /ADD + +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v leah_organa /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v luke_skywalker /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v han_solo /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v artoo_detoo /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v c_three_pio /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v ben_kenobi /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v darth_vader /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v anakin_skywalker /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v jarjar_binks /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v lando_calrissian /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v boba_fett /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v jabba_hutt /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v greedo /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v chewbacca /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v kylo_ren /t REG_DWORD /d 0 /f