codeblue Posted January 21, 2005 Share Posted January 21, 2005 Within my XPCD i have a tweek to put the Administrative Tools menu on the start menu. This is good. But it also puts it on the All Programs menu.Is there a reg tweek to only put it on the Start Menu, or a tweek to remove it from the All Programs menu? Link to comment Share on other sites More sharing options...
ml20 Posted January 21, 2005 Share Posted January 21, 2005 just delete the folder created in the all programs menu after running the tweak. with something like "del c:\documents and settings\all users\start menu\programs\administrative tools\*.* /q/s" Link to comment Share on other sites More sharing options...
durex Posted January 22, 2005 Share Posted January 22, 2005 The problem with this I noticed is that it also removes the shortcuts from Admin Tools in the Control Panel... anyone know how to either prevent this from happening or copy the shortcuts back into the control panel section?? Link to comment Share on other sites More sharing options...
codeblue Posted January 22, 2005 Author Share Posted January 22, 2005 just delete the folder created in the all programs menu after running the tweak. with something like "del c:\documents and settings\all users\start menu\programs\administrative tools\*.* /q/s"ml20, i've tryed this by using the following-RD /S /Q "%allusersprofile%\Start Menu\Programs\Administrative Tools"....this only deletes the shortcuts in the Admin Tools folder, not the folder itself, but as durex (not your real name i hope ) said, it also removes the shortcuts from Admin Tools in the Control Panel.I have also tryed moving it to the System Tools folder with this-MOVE /y "%allusersprofile%\Start Menu\Programs\Administrative Tools" "%allusersprofile%\Start Menu\Programs\Accessories\System Tools"....which does indeed move the folder Administrative Tools and all its content to the System Tools folder..BUT leaves a empty Administrative Tools folder behind . I have then tryed to delete this folder in the Cleanup.cmd but it wont delete All this is run via a Cleanup.cmd file i copy to the Startup folder during istallation so it runs AFTER the start menu icons are in place. The last command in the batch file is to delete itself....but is doesnt??these are the only issues i have left in my XPcd........ Link to comment Share on other sites More sharing options...
codeblue Posted January 22, 2005 Author Share Posted January 22, 2005 Found this reg key, download attached fileThis is how it looked on first boot. I will try deleted the entries for Admin Tools. these could be whats stopping it being deleted, so deleting the reg then the folder would release the folder for deletion......I think one entry is for the Start Menu and the other for All Programs?? Link to comment Share on other sites More sharing options...
Tsunami Posted January 22, 2005 Share Posted January 22, 2005 There's no way to delete the Administrative Tools folder, because it's protected by Windows I guess the best way would be to hide the Administrative Tools folder from your start menu. I use this command also to hide the Startup folder.ATTRIB -S +H "%UserProfile%\Start Menu\Programs\Administrative Tools" Link to comment Share on other sites More sharing options...
codeblue Posted January 22, 2005 Author Share Posted January 22, 2005 Yep Tsunami your proable right . I've been trying everything i can think of today, including using Regshot to record the registray when i move it manualy. Then converting it into a registray entry and incorpreating it into my XPcd. But No, it didnt work.There must be away to do it before first boot, but im afraid thats way beyond my level of tecnicial ability. Maybe someone out there can look into this?? But for now hidding it will have to do Link to comment Share on other sites More sharing options...
Yzöwl Posted January 22, 2005 Share Posted January 22, 2005 @ codeblueplease remove the attachment too, all it is is a usage tracking list key. It's contents are of no real use to anyone, even you! Link to comment Share on other sites More sharing options...
prathapml Posted January 22, 2005 Share Posted January 22, 2005 That folder is a virtual folder - none of the (non-existent) folder hiding will work. Its just a cascaded display of what you see from the Control Panel.Look into the registry tweaks thread here for the tweak to set/remove it. Or configure it to how you want, and export these keys:HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedStart_AdminToolsRoot: 0x00000000HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedStartMenuAdminTools: 0x00000001And using regshot is what showed up the above. It can save you a lot of head-ache and forum posts. Link to comment Share on other sites More sharing options...
durex Posted January 22, 2005 Share Posted January 22, 2005 Hey Code-Ive already looked into what you want to do and havent had any luck either. I just accepted defeat and realized theres 1 thing Ill have to manually do.I really would, however, love to find out how I can move the admin tools folder in the start menu, but not effect the admin tools in the control panel... theres got to be a way to do this. Link to comment Share on other sites More sharing options...
durex Posted January 22, 2005 Share Posted January 22, 2005 Ok.. I think Ive found the best way to do want we want to do here...Follow these steps:1. In youre regtweaks.reg include the following line:[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"StartMenuAdminTools"=dword:00000001This will turn enable the Admin Tools folder in the Start Menu2. In your cleanup.cmd, include the following code:MD "%AllUsersProfile%\Start Menu\Programs\Utilities\Administrative ToolsCOPY /Y "%AllUsersProfile%\Start Menu\Programs\Administrative Tools" "%AllUsersProfile%\Start Menu\Programs\Utilities\Administrative Tools"REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v StartMenuAdminTools /t REG_DWORD /d 0 /fIn this example 'Utilities' is the subfolder that I want Admin Tools to be in, instead. As you can see, I create the new Admin Tools folder, copy the original Admin Tools shorcuts into it and then remove the original Admin Tools from the Start menu with the Reg Tweak.This way you can have and alternate Start Menu Admin Tools folder and still have all the shortcuts in the control panel admin tools...Better than nothin I guess! Link to comment Share on other sites More sharing options...
jfmartel Posted January 28, 2005 Share Posted January 28, 2005 You migh consider adding 2 ligne to your cleanup.cmd so all user can benefit thisREG LOAD "HKLM\User" c:\Doc And Setting\Default User\NTUSER.DATREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v StartMenuAdminTools /t REG_DWORD /d 0 /fREG ADD "HKLM\User\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v StartMenuAdminTools /t REG_DWORD /d 0 /fREG UNLOAD "HKLM\User"That way, default user will have it, and the current user too Link to comment Share on other sites More sharing options...
durex Posted January 28, 2005 Share Posted January 28, 2005 meh... I havent had much luck with ntuser.. and im the only one who uses my pc anyway.Perhaps others will use it though... thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now