For Wordpad you can run this:
RunDll32 advpack.dll,LaunchINFSection %windir%\INF\wordpad.inf,
MSWordPadUninstall
In case your newreader breaks it the [spaces] are like so:
RunDll32[space]advpack.dll,LaunchINFSection[space]%windir%\INF\wordpad.inf,[space]MSWordPadUninstall
For Notepad I'm not sure where the inf information would be.
You should alos be able remove it with Sysocmgr:
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\ocm.txt /q
You need an answer file for it (ocm.txt):
===========================
[Components]
MSWordPad = off
===========================
The path to the answer file is specified in the u switch in the command,
sysocmgr /i:%windir%\inf\sysoc.inf /u:[path]\ocm.txt /q
You can suppress reboot (if needed) by using the /r switch:
sysocmgr /i:%windir%\inf\sysoc.inf /u:[path]\ocm.txt /q /r
Using either of these methods there may be privileges issues, in which
case you can use "runas" administrator with the command.
John
I need to remove notepad and wordpad from a set of Windows XP computers.
Does anyone know the issues I may run accross doing this and if there are any
simple ways of doing this. I know WFP (Windows File Protection) kicks in
when I try to delete notepad. I have not tried wordpad yet.