Code: Select all
WinHide, % "ahk_id " DllCall("GetTaskmanWindow")
Code: Select all
WinHide, % "ahk_id " DllCall("GetTaskmanWindow")
Code: Select all
; Taskbar - Show/hide Store icon (0=Enable/Show / 1=Disable/Hide)
; Thanks to WindowsITPro.com (see http://windowsitpro.com/active-directory/microsoft-august-updates-secret-new-gpo-setting-unpin-store-icon-revealed)
RegWrite, REG_DWORD, HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer, NoPinningStoreToTaskbar, 1
; Taskbar - Show/hide Mail icon (0=Enable/Show / 1=Disable/Hide)
RegWrite, REG_DWORD, HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer, NoPinningMailToTaskbar, 1
; Taskbar - Show/hide TaskView icon (1=Enable/Show / 0=Disable/Hide)
RegWrite, REG_DWORD, HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, ShowTaskViewButton, 0
; Taskbar - Show/hide People icon (1=Enable/Show / 0=Disable/Hide)
RegWrite, REG_DWORD, HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People, PeopleBand, 1
Code: Select all
; Only allow one instance of the script to run at a time
#SingleInstance,Force
; Prompt to 'Run as administrator', i.e. show UAC dialog
If Not A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+
ExitApp
}
; Taskbar - Show/hide People icon (1=Enable/Show / 0=Disable/Hide)
SetRegView, 64
RegWrite, REG_DWORD, HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People, PeopleBand, 0
SetRegView, Default
run, taskkill /f /im explorer.exe,, Hide
sleep, 1000
run, explorer.exe
ExitApp
Code: Select all
psScript =
(
kill -n explorer
)
Run PowerShell.exe -Command %psScript%,, hide
Code: Select all
psScript =
(
Stop-Process -ProcessName explorer
)
Run PowerShell.exe -Command %psScript%,, hide
Users browsing this forum: Araphen, Dobbythenerd1 and 317 guests