Dodao sam ovo u Registry i ovo radi:
Za Startup
Dim wsc As Variant
Set wsc = CreateObject("wscript.shell")
wsc.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\program", "c:\program.exe"
Za Iskljucivanje Task Managera i ostalo
Dim reg As Variant
Set reg = CreateObject("wscript.shell")
reg.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableChangePassword", "1", "REG_DWORD"
reg.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableLockWorkstation", "1", "REG_DWORD"
reg.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr", "1", "REG_DWORD"
reg.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoLogoff", "1", "REG_DWORD"
E sad kako da to iz VB-a obisem?