(Ebook - PDF) Untold Windows Tips and Secrets (Ankit Fadia)
(Ebook - PDF) Untold Windows Tips and Secrets (Ankit Fadia)
(Ebook - PDF) Untold Windows Tips and Secrets (Ankit Fadia)
cc
______________________________________________________
****************
Important Note: Before you read on, you need to keep one thing in
mind. Whenever you make changes to the Windows Registry you
need to Refresh it before the changes take place. Simply press F5 to
refresh the registry and enable the changes. If this does not work
Restart your system
****************
Normally it takes a hell lot of time just Shutting down Windows, you
have to move your mouse to the Start Button, click on it, move it
again over Shut Down, click, then move it over the necessary option
and click, then move the cursor over the OK button and once again
(you guessed it) click.This whole process can be shortened by
creating shortcuts on the Desktop which will shut down Windows at
the click of a button. Start by creating a new shortcut( right click
and select New> Shortcut). Then in the command line box, type
(without the quotes.)
'C:\windows\rundll.exe user.exe,exitwindowsexec'
'c:\windows\rundll.exe user.exe,exitwindows'
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
This is a neat trick you can play on that lamer that has a huge ego,
in this section I teach you, how to disable the Shut Down option in
the Shut Down Dialog Box. This trick involves editing the registry,
so please make backups. Launch regedit.exe and go to :
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Policies\Explorer
In the right pane look for the NoClose Key. If it is not already there
then create it by right clicking in the right pane and selecting New >
String Value.(Name it NoCloseKey ) Now once you see the
NoCloseKey in the right pane, right click on it and select Modify.
Then Type 1 in the Value Data Box.
Doing the above on a Win98 system disables the Shut Down option
in the Shut Down Dialog Box. But on a Win95 machine if the value
of NoCloseKey is set to 1 then click on the Start > Shut Down
button displays the following error message:
You can enable the shut down option by changing the value of
NoCloseKey to 0 or simply deleting the particular entry i.e. deleting
NoCloseKey.
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersio
n\Policies\Explorer]
"NoClose"="1"
This is yet another trick you can play on your geek friend. To
disable the display of local or networked drives when you click My
Computer go to :
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Policies\Explorer
Now in the right pane create a new DWORD item and name it
NoDrives. Now modify it's value and set it to 3FFFFFF (Hexadecimal)
Now press F5 to refresh. When you click on My Computer, no drives
will be shown. To enable display of drives in My Computer, simply
delete this DWORD item. It's .reg file is as follows:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersio
n\Policies\Explorer]
"NoDrives"=dword:03ffffff
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\ScreenSavers
Now add a new string value and name it Mouse Corners. Edit this
new value to -Y-N. Press F5 to refresh the registry. Voila! Now you
can activate your screensaver by simply placing the mouse cursor
at the top right corner of the screen and if you take the mouse to
the bottom left corner of the screen, the screensaver will
deactivate.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers
ion\WinLogon
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVer
sion\Winlogon]
"LegalNoticeCaption"="Caption here."
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\Explorer\Tips
Now simply delete these tricks by selecting and pressing the DEL
key.
To change the default drive or path where Windows will look for it's
installation files, go to the key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\Setup\SourcePath
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Policies\Explorer
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\Explorer\Desktop\Namespace{xxxxxxxx-xxxx-xxxx-xxxx-
xxxxxxxxxxxx}
My Briefcase:{85BBD920-42AO-1069-A2E4-08002B30309D}
Desktop: {00021400-0000-0000-C000-0000000000046}
Control Panel:{21EC2020-3AEA-1069-A2DD-08002B30309D}
Dial-Up-Networking:{992CFFA0-F557-101A-88EC-00DD01CCC48}
Fonts: {BD84B380-8CA2-1069-AB1D-08000948534}
Inbox :{00020D76-0000-0000-C000-000000000046}
My Computer :{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Network Neighborhood:{208D2C60-3AEA-1069-A2D7-
O8002B30309D}
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
Printers :{2227A280-3AEA-1069-A2DE-O8002B30309D}
History: {FF393560-C2A7-11CF-BFF4-444553540000}
Winzip :{E0D79300-84BE-11CE-9641-444553540000}
For example, to delete the Recycle Bin, first note down it's CLSID
value, which is: 645FF040-5081-101B-9F08-00AA002F954E. Now
go to the Namespace key in the registry and delete the
corresponding key.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers
ion\explorer\Desktop\NameSpace\{645FF040-5081-101B-9F08-
00AA002F954E}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers
ion\explorer\Desktop\NameSpace\{FBF23B42-E3F0-101B-8488-
00AA003E56F8}
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Policies\Explorer
Till now you simply learnt how to delete the special system folders
by deleting a registry key, but the hack would have been better if
there was a way of adding the DELETE and RENAME option to the
right click context menus of these special folders. You can actually
change the right click context menu of any system folder and add
any of the following options: RENAME, DELETE, CUT, COPY, PASTE
and lots more.
This hack too requires you to know the CLSID value of the system
folder whose menu you want to customize. In this section, I have
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
Firstly launch the registry editor and open the following registry
key:
HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-
00AA002F954E}\ShellFolder.
In Case you want to edit some other folder like say the FONTS
folder, then you will open the following key:
3. To add both the Rename & Delete options to the menu, change
the value of Attributes to 70,01,00,20
10.Add all Cut, Copy & Paste to the menu, change Attributes to 47
01 00 20
We want to add only the Rename option to the right click context
menu of the Recycle Bin, so change the value of attributes to: 50 01
00 20. Press F5 to refresh and then after rebooting you will find that
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
when you right click on the Recycle Bin a RENAME option pops up
too.
40 01 00 20
The Registry File which one can create for the above process would
be something like the below:
REGEDIT4
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-
00AA002F954E}\Shell-Folder]
"Attributes"=hex:50,01,00,20
To access say the Modem Properties in the Control Panel Folder, the
normal procedure is: Click on Start, Click on Settings> Control
Panel and then wait for the Control Panel window to pop up and
then ultimately click on the Modems icon.
Now right click on the Start Button and select Open. Now create a
new folder and name it: Control Panel.{21EC2020-3AEA-1069-
A2DD-08002B30309D}
NOTE: Do not forget the period after the 'l' in Panel. Similarly all
system folders can be added to the Start Menu.(accept My
Briefcase, I think)
You can actually remove the Find and Run options from the start
menu by performing a simple registry hack. Again like always
Launch the registry editor and scroll down to the below key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Policies\Explorer
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
Right-click on the right pane and select New, DWORD Value. Name
it NoFind.(To remove the RUN option name it NoRun). Double-click
the newly create DWORD to edit it's value and enter 1 as its value.
This will disable the FIND option of the Start Menu and will also
disable the default Shortcut key(F3 for Find.)
You can easily change the boring yellow folder icons to your own
personalized icons. Simply create a text file and copy the following
lines into it:
[.ShellClassInfo]
ICONFILE=Drive:\Path\Icon_name.extension
Save this text file by the name, desktop.ini in the folder, whose icon
you want to change. Now to prevent this file from getting deleted
change it's attributes to Hidden and Read Only by using the ATTRIB
command.
[Autorun]
ICON=Drive:\Path\Icon_name.extension
Save this file in the root of the drive whose icon you want to change
and name it autorun.inf For Example, if you want to change the icon
of a floppy, SAVE THE icon in a:\icon_name.ico One can also create
a kewl icon for the Hard Disk and create a text file [autorun.inf] and
store it in "c:\".
Securing NT
By default, NT 4.0 displays the last person who logged onto the
system. This can be considered to be a security threat, especially in
the case of those who choose their password to be same as their
Username. To disable this bug which actually is a feature, go to the
following key in the registry editor:
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVer
sion\Winlogon
Click and select the ReportBookOK item and create a new string
value called DontDisplayLastUserName. Modify it and set it's value
to 1.
When you log on to Win NT, you should disable Password Caching,
this ensures Single NT Domain login and also prevents secondary
Windows Logon screen.
Simply copy the following lines to a plain text ASCII editor like:
Notepad and save it with an extension, .reg
----------------DISABLE.reg-----------------
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVer
sion\Policies\Network]
"DisablePwdCaching"=dword:00000001
----------------DISABLE.reg-----------------
--------------Enable.reg-----------------
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVer
sion\Policies\Network]
"DisablePwdCaching"=dword:00000000
--------------Enable.reg-----------------
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Policies\Explorer
Now in the right pane, create a new DWORD value by the name:
NoRecentDocsMenu and set it's value to 1. Restart Explorer to save
the changes.
You can also clear the RUN MRU history. All the listings are stored in
the key:
HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\
Explorer\RunMRU
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Explorer\Doc Find Spec MRU
and delete.
When you right click on the start menu, only 3 options pop up:
Open, Explore, and Find. You can add your own programs to this
pop up menu( which comes up when we right click on it.) Open
Regedit and go to the following registry key:
HKEY_CLASSES_ROOT\Directory\Shell
Right click on the shell and create a new Sub Key (You can create a
new SubKey by right clicking on the Shell Key and selecting New >
Key.). Type in the name of the application you want to add to the
start menu. I want to add Notepad to the Start Menu and hence I
name this new sub key, Notepad. Now right click on the new
registry key that you just created and create yet another new key
named Command. Enter the full path of the application, in this case
Notepad in the default value of Command in the right
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
pane. So I Modify the value of the default string value and enter the
full pathname of Notepad:
c:\wndows\notepad.exe.
Now press F5 to refresh. Now if you right click on the Start Button
you will find a new addition to the Pop Up Menu called Notepad.
Clicking on it will launch Notepad.
We can not only add but also remove the existing options in this
pop up box.
HKEY_CLASSES_ROOT\Directory\Shell\Find
Delete Find. DO NOT delete Open else you will not be able to open
any folders in the Start Menu like Programs, Accessories etc.
You can actually change the default BMP icon to a thumbnail version
of the actual BMP file. To do this simply go to
HKCU\Paint.Picture\Default. In the right pane change the value of
default to %1. Please note however that this will slow down the
display rate in explorer if there are too many BMP thumbnails to
display. You can use other icons too, simply enter the pathname.To
restore back to the normal change the vale of default back to:
C:\Progra~1\Access~1\MSPAINT.EXE,1.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers
ion\explorer\Shell Icons.
Now, on the right pane is a list of icons ( we found out that on some
systems, Windows 98 especially, the right pane is blank. Don't
worry, just add the value as required ). Find the value 29. If it isn't
there, just add it. The value of this string should be
C:\Windows\system\shell32.dll, 29 ( which means the 30th icon in
shell32.dll - the first one begins with 0 ). Now, we need blank icon
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
to do this. Just create one with white as the whole icon. Go here to
learn how to create an icon. Once done just change the value to
C:\xxx.ico, 0 where "xxx" is the full path of the icon file and "0" is
the icon in it.
Now for some fun. If the blank icon is a bit boring, change it again.
You will find that under shell32.dll there is a gear icon, a shared
folder ( the hand ) and much more. Experiment for yourself!
Use the following Perl Script to get a list of Services running on your
NT system
--------------script.pl-----------------
#!c:\per\bin\perl.exe
use Win32::Service;
Win32::Service::GetServices(' ',\%services);
\%status);
-------------script.pl-------------------
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
The Full Screen option increases the viewable area and makes
surfing more enjoyable but sometimes we need the Toolbar but also
need to have extra viewing area. Now this hack teaches you how to
change the size of the Internet Explorer toolbar. This registry hack
is a bit complicated as it involves Binary values, so to make it
simple, I have included the following registry file which will enable
the resizable option of the Internet Explorer toolbar which was
present in the beta version of IE.
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Toolbar]
"Theater"=hex:0c,00,00,00,4c,00,00,00,74,00,00,00,18,00,00,00,1
b,00,00,00,5c,\
00,00,00,01,00,00,00,e0,00,00,00,a0,0f,00,00,05,00,00,00,22,00,
00,00,26,00,\
00,00,02,00,00,00,21,00,00,00,a0,0f,00,00,04,00,00,00,01,00,00,
00,a0,0f,00,\
00,03,00,00,00,08,00,00,00,00,00,00,00
*******************
*******************
Now in the right pane create a new String Value and name it
BackBitmap and modify it's value to the path of the Bitmap you
want to dress it up with by rightclicking on it and choosing Modify.
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
When you reboot the Internet Explorer and the Windows Explorer
toolbars will have a new look.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
Explorer\Main.
In the right pane create a new String Value names Window Title
(Note the space between Window and Title). Right click on this
newly created String Value and select Modify. Type in the new
caption you want to be displayed. Restart for the settings to take
place.
On the left pane, click on ColorCycle or select Edit and Modify in the
menu. Now change the value to 1. Close and restart. Now, launch
Outlook Express and whenever you open up a New Message, hold
down ctrl-shift and tap the z key to scroll to change the background
color. Repeat the keystroke to cycle through the colors.
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet
Explorer\Restrictions
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
Hacking Secrets
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
Sometimes this software does make life really hard for a Hacker. So
how can we remove the restrictions imposed by the Policy Editor?
Well read ahead to learn more.
You see the Policy Editor is not the only way to restrict a user's
activities. As we already know that the Policy Editor edits the
Windows Registry(user.dat) file to impose such restrictions. So this
in turn would mean that we can directly make changes to the
Windows Registry using a .reg file or directly to remove or add
restrictions.
HKEY_CURRENT_USER/Software/Microsoft/CurrentVersion/Policies
Under this key, there will definitely be a key named explorer. Now
under this explorer key we can create new DWORD values and
modify it's value to 1 in order to impose the restriction. If you want
to remove the Restriction, then you can simply delete the respective
DWORD values or instead change their values to 0. The following is
a list of DWORD values that can be created under the Explorer Key-
:
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
So you see if you have access to the Windows Registry, then you
can easily create new DWORD values and set heir value to 1 for
enabling the particular option and 0 for disabling the particular
option. But Sometimes, access to the Windows Registry is blocked.
So what do you do? Go to the Windows Directory and delete either
user.dat or system.dat (These 2 files constitute the Windows
Registry.) and reboot. As soon as Windows logs in, it will display a
Warning Message informing you about an error in the Windows
Registry. Simply ignore this Warning Message and Press
CTRL+DEL+ALT to get out of this warning message.(Do not press
OK) You will find that all restrictions have been removed.
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
****************
***************
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
Some systems have the floppy disk disabled through the BIOS. On
those systems if the BIOS is protected, you may need to crack the
BIOS password. (For that Refer to the Windows Hacking Chapter).
Sometimes making drives readable (Removing R +) and then
creating Shortcuts to them also helps us to get access to them.
If you have installed Windows Desktop Update and have the view as
Web Page option enabled, you can customise the way the folder
looks by selecting View > Customise this folder. Here you can
change the background and other things about that particular
folder. Well that is pretty lame, right? We hackers already know
things as lame as that. Read on for some kewl stuff.
Well, you could also change the default that is stored in a Hidden
HTML Template file (I think so..) which is nothing but a HTML
document with a .htt extension. This .htt file is found at:
%systemroot%\web\folder.htt.
You can edit these .htt files almost just like you edit normal .HTM or
.HTML files. Simply open them in an ASCII editor like Notepad. The
following is a list of .htt files on your system which control various
folders and which can be edited to customise the way various
folders look.
printers.htt Printers
www.download-all-ebooks.blogspot.com
www.ebookbottle.co.cc
mycomp.htt My Computer
All these files are found in the web folder in %systemfolder%. The
folder.htt file has a line:
which is the place where you can add your own A HREF links. These
links would then appear in the folder whose folder.htt file you
edited. All this might sound really easy and simple, but you see
these .htt files do not contain normal HTML code, instead they
contain a mixture of HTML and web bots. Hence they can be difficult
for newbies to understand.
Well that's it for now, more tricks later, till then goodbye.
Ankit Fadia
To get the manuals in your Inbox join his mailing list by sending an
email to:
www.download-all-ebooks.blogspot.com