Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


b-man

cleanup.cmd removing directories

Recommended Posts

these are all empty folders but i cant seem to delete them i have run unlocker and it has winlogin.exe holding them. i unlocked them and ran the cmd again but still there yet i can manually delete after running unlocker

how do i remove them automatically

RD /S /Q "%systemroot%\Help\"

RD /S /Q "%systemroot%\Config\"

RD /S /Q "%systemroot%\Connection Wizard\"

RD /S /Q "%systemroot%\Cursors\"

RD /S /Q "%systemroot%\msagent\"

RD /S /Q "%systemroot%\ime\"

RD /S /Q "%systemroot%\msapps\"

RD /S /Q "%systemroot%\PeerNet\"

RD /S /Q "%systemroot%\srchasst\"

RD /S /Q "%Program Files%\ComPlus Applications\"

RD /S /Q "%Program Files%\microsoft frontpage\"

RD /S /Q "%Program Files%\movie maker\"

RD /S /Q "%Program Files%\MSXML 4.0\"

RD /S /Q "%Program Files%\windows nt\"

RD /S /Q "%Program Files%\xerox\"

Share this post


Link to post
Share on other sites

You're not supposed to 'delete' them, they are built-in, protected by WFP and therefore reside in those locations for a reason.

Share this post


Link to post
Share on other sites

but when there empty because i nlited the components out there not needed

Share this post


Link to post
Share on other sites

bump does any1 know?

and also how can i move admin tools in the start menu to the accessories menu in the start menu. u cant delete it but i want to move it i tried this in the clean up but it doesnt work

MOVE /S /Q "%AllUsersProfile%\Start Menu\Programs\Administrative Tools\" "%AllUsersProfile%\Start Menu\Programs\Accessories\Administrative Tools\"

Share this post


Link to post
Share on other sites

You need to disable SFC (nLite has an option to do so). Then you can remove them, and you can move the Admin Tools menu as well.

Share this post


Link to post
Share on other sites

I'm copying my shortcuts in the start menu the following way:

XCOPY "%AllUsersProfile%\STARTM~1\Programme\Mozilla Thunderbird\Mozilla Thunderbird.lnk" "%AllUsersProfile%\STARTM~1\Programme\Internet\E-Mail Client"

Share this post


Link to post
Share on other sites

i just wrapped up all my shortcuts in a winrar self extracting exe through run once its just that u cant delete the admin tools menu but u can move it was looking for a move batch line but it doent work

Share this post


Link to post
Share on other sites

but some of them are made essential to us

make sure on your final decision

Share this post


Link to post
Share on other sites

i want to move it to the accessories folder in the start bar i dont want to delete

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...