- Joined
- Jan 28, 2006
- Messages
- 42,829
- Reaction score
- 1,505
Anyone good at righting a small basic GUI for a small program. Basically to replace your start button in Windows 7 you have to go through these steps below:
Ok there must be an easier way to do this, like an automated task or script that would do this for you will a simple go button and a completed button asking you to restart. How hard would this be to create? There is quite a few people on the web asking for a simple program like this. This may help with the code:Take ownership of explorer.exe and give yourself full permissions to it. (Right click on it > Properties > Security Tab > Advanced > Owner Tab > Edit > Click on Administrators > OK > OK > OK > OK > YES then Right Click on the file again, Properties > Security Tab, click on EDIT > click on Administrators, Full Control: Allow > OK > OK)Rename explorer.exe by explorerBackup.exe (in order to have a backup of the original if you enconter problemsThen paste the explorer.exe modified
Restart Windows and enjoy
NOTE : to win time you can kill the process explorer.exe in task manager and start it again
But it would be nice to incorporate this into a little GUI. Anyone up for this?@echo offecho "Taking ownership of the UXTheme libraries..."echo y | takeown /f "C:\Windows\System32\uxtheme.dll"
echo y | takeown /f "C:\Windows\System32\themeui.dll"
echo y | takeown /f "C:\Windows\System32\shsvcs.dll"
echo "Setting permissions UXTheme libraries..."
echo y | icacls "C:\Windows\System32\uxtheme.dll" /grant Administrators:F
echo y | icacls "C:\Windows\System32\themeui.dll" /grant Administrators:F
echo y | icacls "C:\Windows\System32\shsvcs.dll" /grant Administrators:F
echo "Deleting old backed up UXTheme libraries..."
echo y | del "C:\Windows\System32\uxtheme.dll.old"
echo y | del "C:\Windows\System32\themeui.dll.old"
echo y | del "C:\Windows\System32\shsvcs.dll.old"
echo "Backing up old UXTheme libraries..."
echo y | ren "C:\Windows\System32\uxtheme.dll" "uxtheme.dll.old"
echo y | ren "C:\Windows\System32\themeui.dll" "themeui.dll.old"
echo y | ren "C:\Windows\System32\shsvcs.dll" "shsvcs.dll.old"
echo "Copying new UXTheme libraries..."
echo y | copy "X:\Backups\UXTheme\uxtheme.dll" "C:\Windows\System32\"
echo y | copy "X:\Backups\UXTheme\themeui.dll" "C:\Windows\System32\"
echo y | copy "X:\Backups\UXTheme\shsvcs.dll" "C:\Windows\System32\"
echo "Taking ownership of system files..."
echo y | takeown /f "C:\Windows\Explorer.exe"
echo y | takeown /f "C:\Windows\Branding\Basebrd\basebrd.dll"
echo y | takeown /f "C:\Windows\en-US\explorer.exe.mui"
echo y | takeown /f "C:\Windows\System32\authui.dll"
echo y | takeown /f "C:\Windows\System32\browseui.dll"
echo y | takeown /f "C:\Windows\System32\gameux.dll"
echo y | takeown /f "C:\Windows\System32\ieframe.dll"
echo y | takeown /f "C:\Windows\System32\imageres.dll"
echo y | takeown /f "C:\Windows\System32\shell32.dll"
echo y | takeown /f "C:\Windows\System32\wmploc.DLL"
echo y | takeown /f "C:\Windows\System32\en-US\browseui.dll.mui"
echo y | takeown /f "C:\Windows\System32\en-US\shell32.dll.mui"
echo y | takeown /f "C:\Windows\SysWOW64\browseui.dll"
echo y | takeown /f "C:\Windows\SysWOW64\shell32.dll"
echo "Setting permissions to system files..."
echo y | icacls "C:\Windows\Explorer.exe" /grant Administrators:F
echo y | icacls "C:\Windows\Branding\Basebrd\basebrd.dll" /grant Administrators:F
echo y | icacls "C:\Windows\en-US\explorer.exe.mui" /grant Administrators:F
echo y | icacls "C:\Windows\System32\authui.dll" /grant Administrators:F
echo y | icacls "C:\Windows\System32\browseui.dll" /grant Administrators:F
echo y | icacls "C:\Windows\System32\gameux.dll" /grant Administrators:F
echo y | icacls "C:\Windows\System32\ieframe.dll" /grant Administrators:F
echo y | icacls "C:\Windows\System32\imageres.dll" /grant Administrators:F
echo y | icacls "C:\Windows\System32\shell32.dll" /grant Administrators:F
echo y | icacls "C:\Windows\System32\wmploc.DLL" /grant Administrators:F
echo y | icacls "C:\Windows\System32\en-US\browseui.dll.mui" /grant Administrators:F
echo y | icacls "C:\Windows\System32\en-US\shell32.dll.mui" /grant Administrators:F
echo y | icacls "C:\Windows\SysWOW64\browseui.dll" /grant Administrators:F
echo y | icacls "C:\Windows\SysWOW64\shell32.dll" /grant Administrators:F
echo "Deleting all OLD files..."
echo y | del "C:\Windows\Explorer.exe.old"
echo y | del "C:\Windows\Branding\Basebrd\basebrd.dll.old"
echo y | del "C:\Windows\en-US\explorer.exe.mui.old"
echo y | del "C:\Windows\System32\authui.dll.old"
echo y | del "C:\Windows\System32\browseui.dll.old"
echo y | del "C:\Windows\System32\gameux.dll.old"
echo y | del "C:\Windows\System32\ieframe.dll.old"
echo y | del "C:\Windows\System32\imageres.dll.old"
echo y | del "C:\Windows\System32\shell32.dll.old"
echo y | del "C:\Windows\System32\wmploc.DLl.old"
echo y | del "C:\Windows\System32\en-US\browseui.dll.mui.old"
echo y | del "C:\Windows\System32\en-US\shell32.dll.mui.old"
echo y | del "C:\Windows\SysWOW64\browseui.dll.old"
echo y | del "C:\Windows\SysWOW64\shell32.dll.old"
echo "Backing up the original system files..."
echo y | ren "C:\Windows\explorer.exe" "explorer.exe.old"
echo y | ren "C:\Windows\Branding\Basebrd\basebrd.dll" "basebrd.dll.old"
echo y | ren "C:\Windows\en-US\explorer.exe.mui" "explorer.exe.mui.old"
echo y | ren "C:\Windows\System32\authui.dll" "authui.dll.old"
echo y | ren "C:\Windows\System32\browseui.dll" "browseui.dll.old"
echo y | ren "C:\Windows\System32\gameux.dll" "gameux.dll.old"
echo y | ren "C:\Windows\System32\ieframe.dll" "ieframe.dll.old"
echo y | ren "C:\Windows\System32\imageres.dll" "imageres.dll.old"
echo y | ren "C:\Windows\System32\shell32.dll" "shell32.dll.old"
echo y | ren "C:\Windows\System32\wmploc.DLL" "wmploc.DLL.old"
echo y | ren "C:\Windows\System32\en-US\browseui.dll.mui" "browseui.dll.mui.old"
echo y | ren "C:\Windows\System32\en-US\shell32.dll.mui" "shell32.dll.mui.old"
echo y | ren "C:\Windows\SysWOW64\browseui.dll" "browseui.dll.old"
echo y | ren "C:\Windows\SysWOW64\shell32.dll" "shell32.dll.old"
echo "Copying modified system files..."
echo y | copy "X:\Backups\Windows\Explorer.exe" "C:\Windows\"
echo y | copy "X:\Backups\Windows\Branding\Basebrd\basebrd.dll" "C:\Windows\Branding\Basebrd\"
echo y | copy "X:\Backups\Windows\en-US\explorer.exe.mui" "C:\Windows\en-US\"
echo y | copy "X:\Backups\Windows\System32\authui.dll" "C:\Windows\System32\"
echo y | copy "X:\Backups\Windows\System32\browseui.dll" "C:\Windows\System32\"
echo y | copy "X:\Backups\Windows\System32\gameux.dll" "C:\Windows\System32\"
echo y | copy "X:\Backups\Windows\System32\ieframe.dll" "C:\Windows\System32\"
echo y | copy "X:\Backups\Windows\System32\imageres.dll" "C:\Windows\System32\"
echo y | copy "X:\Backups\Windows\System32\shell32.dll" "C:\Windows\System32\"
echo y | copy "X:\Backups\Windows\System32\wmploc.DLL" "C:\Windows\System32\"
echo y | copy "X:\Backups\Windows\System32\en-US\browseui.dll.mui" "C:\Windows\System32\en-US\"
echo y | copy "X:\Backups\Windows\System32\en-US\shell32.dll.mui" "C:\Windows\System32\en-US\"
echo y | copy "X:\Backups\Windows\SysWOW64\browseui.dll" "C:\Windows\SysWOW64\"
echo y | copy "X:\Backups\Windows\SysWOW64\shell32.dll" "C:\Windows\SysWOW64\"