WD 2 TB External Hard Drive not Showing up in Computer

92

Initializing a disk will indeed delete the data, so I would first recommend you not do that.

In order to recover the data, you would have to use a third party tool in order to recover it. It's possible that the master partition table on the drive was deleted somehow.

There are many tools out there that can recover data, personally I've used EaseUS Partition Manager and Wondershare Data Recovery, which have done the job for me in the past, though there is no guarantee.

Share:
92

Related videos on Youtube

Jack
Author by

Jack

Updated on September 18, 2022

Comments

  • Jack
    Jack almost 2 years

    This is my current code:

    import java.util.*;
    import java.util.regex.*;
    
    public class TestClass {
        public static void main(String[] args) {
            Scanner scan = new Scanner(System.in);
            String password = scan.nextLine();
            if (password.length() >= 10) {
                if (Pattern.matches("[a-zA-Z]\\d{2}", password)) {
                    System.out.println("Password is valid");
                }
            }
        }
    }
    

    Description

    Password rules:

    • A password must have at least ten characters.
    • A password consists of only letters and digits.
    • A password must contain at least two digits

    This is the code that I've been trying for validating the password but It doesn't print my output.

  • Romeo Ninov
    Romeo Ninov about 9 years
    The same (assign letter) can be done via OS instruments, there is no need ot external software
  • Romeo Ninov
    Romeo Ninov about 9 years
    Also recuva is good instrument to recover files
  • Bryan
    Bryan about 9 years
    I do know that, but I am simply suggesting this fix the way I have always worked.
  • DavidPostill
    DavidPostill over 8 years
    Welcome to Super User! Please read the question again carefully. Your answer does not answer the original question. His hard disk is not new. It has data on it he doesn't want to lose.
  • Subrato Pattanaik
    Subrato Pattanaik over 3 years
    Could you suggest to me where I can learn how to build the regex from scratch? I am interested in building the regex expression. Any useful resource that you would recommend
  • Tim Biegeleisen
    Tim Biegeleisen over 3 years
    Tough question, as the general answer to your comment is that you just have to learn how to use regex. I can suggest a good tutorial site: rexegg.com ... this is a good place to start.
  • Subrato Pattanaik
    Subrato Pattanaik over 3 years
    Any best resource for testing the regex is correct or not that you would recommend. I'll use it in my learning.@Tim
  • Tim Biegeleisen
    Tim Biegeleisen over 3 years