Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

People Favorite Clean Up Cmds

Featured Replies

Just curious what some of the users favorite clean up commands are....

CD Eject batch executed before this (Because of WFP, and I'm not patching mine!):

cmdow @ /HID

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."

net user aspnet /delete

REN %windir%\System32\dllcache\notepad.exe notepad.old
COPY "%systemdrive%\install\notepad.exe" "%windir%\System32\dllcache\"
REN %windir%\System32\notepad.exe notepad.old
COPY "%systemdrive%\install\notepad.exe" "%windir%\System32\"
REN %windir%\notepad.exe notepad.old
COPY "%systemdrive%\install\notepad.exe" "%windir%"

REN %windir%\System32\dllcache\mstsc.exe mstsc.old
COPY "%systemdrive%\install\mstsc.exe" "%windir%\System32\dllcache\"
REN %windir%\System32\mstsc.exe mstsc.old
COPY "%systemdrive%\install\mstsc.exe" "%windir%\System32\"

REN %windir%\System32\dllcache\mstscax.dll mstscax.old
COPY "%systemdrive%\install\mstscax.dll" "%windir%\System32\dllcache\"
REN %windir%\System32\mstscax.dll mstscax.old
COPY "%systemdrive%\install\mstscax.dll" "%windir%\System32\"

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 "%UserProfile%\Desktop\Flashget.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk"
DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"
DEL "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"
DEL "%AllUsersProfile%\Desktop\Alcohol 120%.lnk"
DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"
RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Java Web Start"
RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"
RD /S /Q %systemdrive%\drivers\
RD /S /Q %systemdrive%\install\

Aaron, why are you renaming and copying files, like that notepad.exe and others...?

Whats the purpose?

C'mon, you're hiding teh thruth aren't ya? Share teh wisdom.

:P

Seriously, I'd like to know about it.

Aaron, why are you renaming and copying files, like that notepad.exe and others...?

Whats the purpose?

I'm replacing it with Metapad, and the Windows Server 2003 Remote Desktop client

Thanks, Im gonna give that Metapad a go,

just about to make a iSO-RC.45345415614 of my unattended and

make a test run on VM again.

:)

  • Author

Asta

What is that software in you Sig? Link etc?

Im figuring out that at the moment, he he...

First, you have to have your metapad.exe in your ..\install directory,

then rename metapad to notepad for these things to happen.

This is what I think happens during the unattended install:

1. Renaming the original notepad.exe in the windir\sys32\dllcache to notepad.old :

(ie. making a backup):

REN %windir%\System32\dllcache\notepad.exe notepad.old

Copying the your renamed metapad to windir\sys32\dllcache:

COPY "%systemdrive%\install\notepad.exe" "%windir%\System32\dllcache

2. Renaming, backing up the original notepad , copying your metapad but now in the windir\sys32\

REN %windir%\System32\notepad.exe notepad.old

COPY "%systemdrive%\install\notepad.exe" "%windir%\System32\"

3. Same again but in the windows directory.

REN %windir%\notepad.exe notepad.old

COPY "%systemdrive%\install\notepad.exe" "%windir%"

So, there's 3 copys of them

Did i miss something?

uhm, sorta...renaming the one in dllcache makes it so that when windows does its little wfp thing, it doesnt copy windows notepad over metapad...he renames it to old just to keep it in case, I assume...so thats why notepad.exe is renamed to notepad.old in every case...but the reason its done in dllcache first is because of wfp.

Ok, thanks for clearing it out,

Im doing everything to cutoff the wfp thing so im not expecting much

trouble for that but you never now,

it'll only take a one critical update and bam, all the crap is ON again...

:lol:

hmmm, unless the update overwrites sfc_os.dll wfp should never be turned back on...you just gotta watch out for when it gets overwritten...but, the other flipside of the coin is that if you disable wfp and delete dllcache, as I do, if sfc_os.dll gets overwritten, how will windows rebuild the dllcache...so I think even if it does get overwritten, itll never be able to truly reactivate wfp.

evilvoice and lolly

what is this for?

REN %windir%\System32\dllcache\mstsc.exe mstsc.old

COPY "%systemdrive%\install\mstsc.exe" "%windir%\System32\dllcache\"

REN %windir%\System32\mstsc.exe mstsc.old

COPY "%systemdrive%\install\mstsc.exe" "%windir%\System32\"

REN %windir%\System32\dllcache\mstscax.dll mstscax.old

COPY "%systemdrive%\install\mstscax.dll" "%windir%\System32\dllcache\"

REN %windir%\System32\mstscax.dll mstscax.old

COPY "%systemdrive%\install\mstscax.dll" "%windir%\System32\"

basically,

all i need to do is copy the script that Aaron wrote.

then put the renamed metapad to notepad and put into

$oem$\$1\Install

And that is it? ;)

u know i just looked at my prepare.cmd file, which i haven't touched in months.

Actually since i first learned about Unattended Install.

Aaron, or anyone can u post your Prepared.cmd

Just Curious what else u got up your sleeves... hehehehe :thumbup

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.