Alpheratz13 Posted October 14, 2004 Share Posted October 14, 2004 Thanks kyuuzo I have this :RunOnceEx.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Configuration des logiciels" /fREG ADD %KEY%\045 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\Messenger62\MsnMsgs.msi /qb" /fREG ADD %KEY%\046 /VE /D "MSN Messenger Plus! 3.20" /fREG ADD %KEY%\046 /V 1 /D "%systemdrive%\Install\MsgPlus320\MsgPlus-320.exe /SilentInstallNoSponsor" /fREG ADD %KEY%\046 /V 2 /D "pskill.exe MsgPlus.exe" /fREG ADD %KEY%\046 /V 3 /D "pskill.exe msnmsgr.exe" /fREG ADD %KEY%\046 /V 4 /D "REGEDIT /S %systemdrive%\Install\MsgPlus320\MsgPlusoff.reg"REG ADD %KEY%\046 /V 5 /D "REGEDIT /S %systemdrive%\Install\MsgPlus320\msgplusfr.reg"REG ADD %KEY%\048 /VE /D "WinRAR 3.40 Fr" /fREG ADD %KEY%\048 /V 1 /D "%systemdrive%\Install\Winrar\Winrarfr.exe /s /W" /fREG ADD %KEY%\049 /VE /D "Tag&Rename 3.1.5" /fREG ADD %KEY%\049 /V 1 /D "%systemdrive%\Install\Tag&Rename315\TagRename315.exe /VERYSILENT /SP- /NORESTART" /fREG ADD %KEY%\049 /V 2 /D "TASKKILL.exe /F /IM TagRename.exe" /fREG ADD %KEY%\060 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\076 /VE /D "Redemarrer L'Ordinateur" /fREG ADD %KEY%\076 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /fREG ADD %KEY%\076 /V 2 /D "%systemdrive%\install\extracleanup.cmd" /f EXITcleanup.cmdcmdow @ /HIDshutdown.exe -r -f -t 0 -c "Windows XP aller redémarrer dans 10 secondes..."net user aspnet /deleteRD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Java Web Start"DEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk"DEL "%UserProfile%\Desktop\Flashget.lnk"DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"DEL "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"DEL "%AllUsersProfile%\Desktop\Alcohol 120%.lnk"RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"RD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\instal\EXITextracleanup.cmdcmdow @ /HIDshutdown.exe -r -f -t 10 -c "Windows XP aller redémarrer dans 10 secondes..."SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\002 /VE /D "Cleaning Up and Rebooting" /fDEL /Q "%appdata%\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk"EXITIt's ok like this or is something wrong?ThanksIrving Link to comment Share on other sites More sharing options...
Alpheratz13 Posted October 14, 2004 Share Posted October 14, 2004 @buletov Is possible you can give different code, because i don't much about wating and sleep (i hope you know what i mean)ThanksIrving Link to comment Share on other sites More sharing options...
buletov Posted October 14, 2004 Share Posted October 14, 2004 my code firest deletes existing shortcut, but then waits until explorer creates a new one; the it deletes that one also. Link to comment Share on other sites More sharing options...
Alpheratz13 Posted October 14, 2004 Share Posted October 14, 2004 It's works, cool Thanks you guys, great work Irving Link to comment Share on other sites More sharing options...
chimborazo Posted November 9, 2004 Share Posted November 9, 2004 I was fighting a lot with the stupid IE icon on the QuickLaunch bar. Now I thing this will not be an issue any more. I use %systemroot%\system32\shmgrate OCInstallHideIE to hide all IE Icons everywhere. This does hide the IE icon for all user profiles.In my $OEM$\$docs\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch folder, I drop all links I need. Thats it. If you want to reverse, you just run %systemroot%\system32\shmgrate OCInstallShowIE on the command line and you,ll see it again.You can do the same with Outlook Express: %systemroot%\system32\shmgrate OCInstallHideOE Link to comment Share on other sites More sharing options...
my2001 Posted November 9, 2004 Share Posted November 9, 2004 @chimborazoWOW! This is imho doubtlessly the best and most elegant solution fot this stupid problem! By the way I found out that shmgrate seems to do the same as:rundll32.exe shell32.dll,OCInstall HideOE ... just in case somebody is interested. Link to comment Share on other sites More sharing options...
maxXPsoft Posted November 10, 2004 Share Posted November 10, 2004 All I do is just add it to very last thing in cleanup.cmd since time is long enough the desktop is loaded and my own Quicklaunch, soDEL "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk"I do notice in buletov as mine also that we add the %USERPROFILE%, wonder if that's the key?chimborazoBTW that's good to know. Link to comment Share on other sites More sharing options...
my2001 Posted November 10, 2004 Share Posted November 10, 2004 All I do is just add it to very last thing in cleanup.cmd since time is long enough the desktop is loaded and my own Quicklaunch, soDEL "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk"I do notice in buletov as mine also that we add the %USERPROFILE%, wonder if that's the key?chimborazoBTW that's good to know.Well, you could even make it shorter by replacing your "%USERPROFILE%\Application Data" by "%AppData%". But I couldn't use your "method" since I install all my apps during T-12 and at that time there is no user account data created yet on the HDD, let alone QuickLaunch. And I don't want to add a tiny delete-batch for this thing only. *hehe* 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