No menu Iniciar, há 6 botões, Shutdown , Restart , Logoff , Switch User , Lock e Hibernate , desejo removê-los todos, mas manter apenas o botão Restart .
Eu fiz algumas pesquisas e encontrei alguns comandos úteis.
Remover Shutdown , Restart e Hibernate ,
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoClose" /d 1 /t REG_DWORD /f
Desative o botão Logoff , você pode vê-lo, mas fica cinza,
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "StartMenuLogOff" /d 1 /t REG_DWORD /f
Desative o botão Switch User ,
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "HideFastUserSwitching" /d 1 /t REG_DWORD /f
Desative os botões Switch User e Lock ,
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableLockWorkstation" /d 1 /t REG_DWORD /f
Mas não encontrei nenhuma combinação que possa remover todos os outros 5 botões, mas mantenha apenas o botão Restart .
Alguma ideia? Obrigado!