What are you using to call it? If you are using RunPre/PostSetupCommands add a :1 to the end of the name of the section you want to hide (dont add it to the actual section just the [uninstall] one, same as you do for tskill/taskkill) RunPreSetupCommands=Close.Sidebar:1 [Close.Sidebar] TSKILL sidebar But I would better recommend this for deleting folders [Del.Gadgets.Settings] RUNDLL32 advpack.dll,DelNodeRunDLL32 %16422%\%GADS%,8 RUNDLL32 advpack.dll,DelNodeRunDLL32 %16422%\%SHGADS%,8 RUNDLL32 advpack.dll,DelNodeRunDLL32 %16422%\%VISXORG%,1 RUNDLL32 advpack.dll,DelNodeRunDLL32 %16412%\%WINSIDE%,8 RUNDLL32 advpack.dll,DelNodeRunDLL32 %16412%\%WINLIVE%,8 These are the numbers you can use Delete Folder 1 // delete the directory only if it's empty 2 // don't delete any sub-dirs; delete only the files 4 // don't delete the dir itself 8 // delete UNC [network] paths