2021-01-10 23:14:52 +01:00
|
|
|
@echo off
|
|
|
|
set TOOLS=c:\tools
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|
2021-01-12 22:54:02 +01:00
|
|
|
echo add "This PC" icon for current user on desktop Windows 10 ...
|
2021-01-12 15:14:31 +01:00
|
|
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" ^
|
2021-01-12 22:54:02 +01:00
|
|
|
/v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f 1>nul
|
2021-01-12 15:14:31 +01:00
|
|
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" ^
|
2021-01-12 22:54:02 +01:00
|
|
|
/v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f 1>nul
|
2021-01-12 15:14:31 +01:00
|
|
|
|
2021-01-12 22:54:02 +01:00
|
|
|
echo add userhome icon on windows 10 desktop for current user ...
|
2021-01-12 15:14:31 +01:00
|
|
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" ^
|
2021-01-12 22:54:02 +01:00
|
|
|
/v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d 0 /f 1>nul
|
2021-01-12 15:14:31 +01:00
|
|
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" ^
|
2021-01-12 22:54:02 +01:00
|
|
|
/v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d 0 /f 1>nul
|
2021-01-12 15:14:31 +01:00
|
|
|
|
|
|
|
rem refresh desktop (W10 style)
|
|
|
|
ie4uinit.exe -show
|
|
|
|
|
2021-01-12 17:01:34 +01:00
|
|
|
echo removing wallpaper ...
|
2021-01-12 22:54:02 +01:00
|
|
|
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f 1>nul
|
|
|
|
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
|
2021-01-10 23:14:52 +01:00
|
|
|
|
|
|
|
echo set desktop colour ...
|
|
|
|
%TOOLS%\setbgcol
|
|
|
|
|
|
|
|
echo starting BGInfo ...
|
|
|
|
%TOOLS%\bginfo\bginfo64.exe %TOOLS%\bginfo\config.bgi /NOLICPROMPT /silent /timer:0
|
|
|
|
|
2021-01-27 22:05:17 +01:00
|
|
|
|
2021-02-13 20:05:56 +01:00
|
|
|
rem #####
|
|
|
|
rem #####
|
|
|
|
rem #####
|
|
|
|
|
2021-01-27 22:05:17 +01:00
|
|
|
echo creating some directories and copy files for current user ...
|
|
|
|
|
|
|
|
rem SSH
|
2021-01-12 17:01:34 +01:00
|
|
|
mkdir %USERPROFILE%\workspace 1>nul 2>nul
|
|
|
|
mkdir %USERPROFILE%\.ssh 1>nul 2>nul
|
2021-01-29 12:30:37 +01:00
|
|
|
if NOT EXIST %USERPROFILE%\.ssh\config (
|
|
|
|
copy /Y %TOOLS%\scripts\config\ssh-config.txt %USERPROFILE%\.ssh\config
|
|
|
|
)
|
2021-01-27 22:05:17 +01:00
|
|
|
|
2021-01-30 21:38:46 +01:00
|
|
|
rem VIM
|
|
|
|
if NOT EXIST %USERPROFILE%\.vimrc (
|
|
|
|
copy /Y %TOOLS%\scripts\config\vimrc.txt ^
|
|
|
|
%USERPROFILE%\.vimrc
|
|
|
|
)
|
|
|
|
|
2021-01-27 22:05:17 +01:00
|
|
|
rem TOTALCOMMANDER
|
2021-01-31 23:59:16 +01:00
|
|
|
if NOT EXIST %APPDATA%\GHISLER\WINCMD.ini (
|
|
|
|
mkdir %APPDATA%\GHISLER 1>nul 2>nul
|
|
|
|
copy /Y %TOOLS%\scripts\config\WINCMD.ini %APPDATA%\GHISLER
|
|
|
|
copy /Y %TOOLS%\scripts\config\wcx_ftp.ini %APPDATA%\GHISLER
|
2021-01-29 12:30:37 +01:00
|
|
|
)
|
2021-01-27 22:05:17 +01:00
|
|
|
|
2021-02-03 13:37:54 +01:00
|
|
|
rem WINDOWS TERMINAL
|
|
|
|
set LOCALSTATE=%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
|
|
|
|
if NOT EXIST %LOCALSTATE%\settings.json (
|
|
|
|
mkdir %LOCALSTATE% 1>nul 2>nul
|
|
|
|
copy /Y %TOOLS%\scripts\config\wt-settings.json ^
|
|
|
|
%LOCALSTATE%\settings.json
|
|
|
|
)
|
|
|
|
|
2021-02-13 20:05:56 +01:00
|
|
|
rem #####
|
|
|
|
rem #####
|
|
|
|
rem #####
|
|
|
|
|
|
|
|
echo disable search box on taskbar ...
|
|
|
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" ^
|
|
|
|
/v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f 1>nul
|
|
|
|
|
|
|
|
echo disable multi tasking view button on taskbar ...
|
|
|
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" ^
|
|
|
|
/v "ShowTaskViewButton" /t REG_DWORD /d 0 /f 1>nul
|
|
|
|
|
|
|
|
echo restarting explorer ...
|
|
|
|
taskkill /f /im explorer.exe 1>nul 2>nul
|
|
|
|
start explorer.exe
|
|
|
|
|
|
|
|
rem #####
|
|
|
|
rem #####
|
|
|
|
rem #####
|
2021-02-03 13:37:54 +01:00
|
|
|
|
2021-01-27 22:05:17 +01:00
|
|
|
|
2021-01-30 21:38:46 +01:00
|
|
|
rem deleting useless files (FUCK YOU AGAIN MICROSOFT!) ...
|
2021-01-29 19:09:28 +01:00
|
|
|
del /F "$APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" 1>nul 2>nul
|
|
|
|
del /F "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" 1>nul 2>nul
|
|
|
|
del /F "%USERPROFILE%\Desktop\Microsoft Edge.lnk" 1>nul 2>nul
|
2021-01-12 17:01:34 +01:00
|
|
|
|
2021-01-10 23:14:52 +01:00
|
|
|
echo start workstation service ...
|
|
|
|
net start workstation 1>nul 2>nul
|
|
|
|
net config workstation
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|