Thursday, February 28, 2013

how to Disable write protection from pendrive

We received problem from our Reader regarding "Removing write protection from Pendrive". Here we will try to solve it.

What is write protection?
SD Card with Lock
- Write Protection is a feature(yes you read it right) that is generally found in flash drives like pen drives and memory card. It prohibits users to write anything to the drive, thus protect the drive from any modification to its data and also stops virus(from computer) to Copy(write) itself to the drive.

Initially, it was done using a small physical (hard)switch located in the Pendrive and memory card. The small yellow switch in this snap is for write protection. Similar, switch is used in any side of some pendrives.

Now, this feature is also being achieved digitally without any Hardware.

Why is it a problem then?
-it is a Problem when:
  a) we don't know about it and it prohibits us from writing
  b) it is (digitally) implemented without user consent either by someone or by Virus

Solution

First of all, make sure if there is any physical Switch is present or not, if it is then adjust it to unlock side.
If there is no physical switch or still problem persists, Go ahead.

As many a times it is done by virus also, it is suggested to scan your system including pendrive with a good updated Antivirus, if you don't have any then Download and install MalwareBytes, update it and do the scan.
For detail information of Virus cleaning, check : clean virus  

UPDATE

I have found a simple trick which also solves this problem (when your USB Device has minor problem only). Try this :

1) Right click 'My computer' -> Manage or Management -> Disk management
2) select your USB drive -> Right click ->"change drive letter and paths"
3) Then Rename it to a different letter

Check whether it starts working or not !!

 Note: Quotes( ' ) are used for information only, whenever you are asked to type, do without the quotes. Ex:  if asked to type 'abc'. Then don't put quotations ( ' ) while typing, type only
abc
    
 Method I : Using Diskpart


First we will try to remove read only attribute from the specific drive.

Warning : Be sure to do this on the right disk since the diskpart command can do serious damage if you run it on the wrong disk.

1)  Start Menu -> Run(or in search box) -> Type 'cmd' -> press 'Enter' -> Command Promt will open
2) Type 'Diskpart' -> enter ->  'list disk' -> enter
3) Select the disk you are going to modify, if your required USB disk is in 'disk 4' then 
4) type 'select disk 4' -> enter , now disk 4 is selected,  'list disk' will show star(*) beside it
5) 'list disk' -> enter 
To Clear the Read-Only attribute on the selected disk (To Disable write protection):
6) Type 'attributes disk clear readonly' -> enter
The disk is no longer Write protected. The Read-Only attribute is removed.

If you wish to set the write protection again, just do the same procedure and
Type 'attributes disk set readonly' -> enter

When you are done modifying the disk attributes just issue the exit command
7) Type 'exit' -> enter

If files inside USB drive are still in read only mode
-open command prompt
-Type ' j: ' -> enter (put your drive label in place of 'j' )
- Type ' attrib -r /s /d *.* ' -> enter
- exit


Method II : Using RegEdit


This will Remove write protection from USB Drives. If it doesn't then lets disable writeprotect from your System Using Registry Editor:

1) Start Menu -> Run(or in search box) -> Type 'regedit' -> press 'Enter' -> Registry Editor will open
2) Expand by clicking ' + ' and Navigate to the following path :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies


If you can't find  'StorageDevicePolicies', then you have to create the key:
-Right click on ' control '-> New -> Key -> a new key will get created -> rename it as 'StorageDevicePolicies'
-Right click on 'StorageDevicePolicies
-> New -> DWORD (32-bit) Value -> Name it as 'WriteProtect'
writeProtect to storage device policies

Now if you want to enable write protection, use ' 3) ' , to Disable write protection, use ' 4) '

3)To Enable Write protect, Double click on 'WriteProtect', and set its value data to '1'
Edit DWORD value
Once set, all users on the computer is now blocked and prevented from copying, transferring or writing any files, documents and data to the USB disk drives.
4)To Disable Write protect, Double click on 'WriteProtect', and set its value data to '0'
Once reset to '0', all users on the computer is now allowed to copy, transfer or write any file, document and data to the USB disk drives.

5)close your registry edit window.

For first time, you may get that same message again, close the notification window and try to write to the USB again and it should work. You’ll probably have to do this with all your USB drives to clear that “Disk is write protected” message. Hope this helped.

If still same problem then You have to go for Formatting it.

Method III : Using Formatting

Try Formatting by Disk Management
If it doesn't format.

Try these tools:
1) Download Neo 9
(Zipped with Password - techsoln )
2) Transcend's Online Recovery Tool
3)  Apacer Formatting Utility
(Zipped with Password - techsoln )  

Using 1st two is simple.

For using  Apacer Formatting Utility, 
Unzip this utility to preferably on a folder on desktop for easy access (Do Not Save it on pen drive).
Keep your pen drive plugged in
Double click on the 'Start.bat' file in the folder where you unzipped the above utility.
This will start formatting your pen drive, wait till the formatting completes and the LED on your pen drive stops blinking.
Remove your pen drive and plug it in again.



If you still face same problem, go to service center. If you have warranty left then replace your pendrive.

Happy Computing :)

(If you liked it, then click 'g +' below and don't forget to comment)






Friday, February 22, 2013

Speed Up Your Internet Connection by Changing Your DNS Server

DNS
Who doesn't want a better internet speed?
Who will not be happy after getting a better and quicker response from web browser after requesting any url(say, www.tech-soln.blogspot.com )

Here I just try to help you by making your web browsing experience better. Obviously by helping you enhance your internet connectivity options. That is by choosing the best and fastest DNS for your connection.

What is DNS servers? How will it affect internet speed?

The DNS protocol is an important part of the web's infrastructure, serving as the Internet's phone book: every time you visit a website, your computer performs a DNS lookup. Complex pages often require multiple DNS lookups before they start loading, so your computer may be performing hundreds of lookups a day.
In one line, "url to IP address translation" is done at DNS server.

In make it simpler, Lets look how a webpage loads in your system using internet.

whenever you request any url(say, www.tech-soln.blogspot.com ) your web browser goes to DNS server for its corresponding IP address(here, "173.194.36.43" ). After the url is resolved to its corresponding IP address, then only your request go to desired website server and in return its respective page is sent to your IP address.
so faster the DNS server, faster the web page loading.

How to Find Fast DNS servers?
There are many Fast Open DNs servers available, also DNs Provided by ISP also works good. Choosing Best and Fastest DNS for your connection is complex as it is decided by many factors( location, type of connection, ISP used, etc).

Best way to select best DNS server for your connection is to test yourself using good benchmark tools in your own internet speed. I'll recommend :
1) DNS Benchmark
2) Namebench

How to use?
1) DNS Benchmark (Zipped with Password - techsoln )
Download it -> double-click executable file -> click 'Nameservers tab'-> Add/Remove button.
The Edit DNS Server IPs window will open. At the very bottom, click the "Build Nameserver Custom List" option.
In the resulting pop-up box, click the Build Custom List button
wait for the process to complete, it usually takes about 37 minutes.
When the list is complete, click the "Run Benchmark button" on the Nameservers tab. When the benchmark completes its work, it will present the results automatically, sorted by response time.

2) Namebench
download it->double-click the executable file -> check both 'include global DNS providers' and 'Include best available regional DNS services' options.
confirm that your location is set properly in the corresponding drop-down menu.
click the 'Start Benchmark' button.
Namebench will run a few tests and then present you with a results page listing the fastest DNS name servers that your system can access.

You can verify its effect by using http://www.speedtest.net before and after changing the DNS server.

If you don't want to do above tests, select by hit and try the following DNS servers.
there are many Free Public DNS servers available, some Faster(in general) are shown here:
8.8.8.8             & 8.8.4.4             (Google Public DNS-Sufer fast)
67.138.54.120   & 207.225.209.77 (ScrubIT3)
69.164.208.50   & 216.87.84.211   (OpenNIC4)
199.5.157.131   & 208.71.35.137   (Public-Root5)
8.26.56.26        & 8.20.247.20      (Comodo DNS)
208.67.222.222 & 208.67.220.220  (OpenDNS)
156.154.70.1     & 156.154.71.1     (DNS Advantage)
198.153.192.1   & 198.153.194.1    (Norton DNS)
208.76.50.50     & 208.76.51.51     (SmartViper)
209.244.0.3      & 209.244.0.4       (Level3)


How to change DNS?

Go to Control Panel->Network and Sharing Center->Click 'Local Area Connection'-> Properties -> Select 'Internet Protocol Version 4 (TCP/IPv4)'->click 'Properties'-> click on 'Use the following DNS addresses' and change it to the best one you find.then ok -ok to come out.


Happy speedy Surfing :)

Monday, February 18, 2013

How to Recover hidden files from Pendrive after virus infection


Mostly pen drive doesn't consist any security measures. Since we use Pen drive in many PC/Laptops it very easily gets infected with viruses and malwares. 

We can easily get rid of these Malwares by scanning it with any good updated Antivirus (no need of Format as it leads to Data loss).

Problem arises when we try to access our data stored in the pen drive.
When we check property of the USB Drive, Disk usage shows there are files in the pen drive but inside pen drive we can't find any!!
Rather we are left with some Shortcuts sometimes.

Don't worry All the files are safe only they are made Hidden by the virus.


To show your hidden files you can follow this link : "Show"


To unhide your files and folders follow these simple steps:

1) Open command prompt:
     (Win 7 & vista) : 
  start->cmd (in search) -> open
It is better to open cmd as administrator:
right click the cmd icon (from search)->-> run as administrator(give admin password if required, else use normal run)

     (Win xp users) :
  start -> run -> type cmd -> Ok


command prompt will open now.

2) Check Drive Letter of you pen drive from 'My Computer'.
Pendrive drive letterFor example, If it is labelled as "e: drive"
     
-> type 'e:' hit enter

now pointer location will go to the drive.
 
3) type this command and hit enter :
     attrib -r -s -h *.* /s /d


 
attrib command

Hurray, all your files and folders are visible to you now!!
:) :)