System 32 command prompt commands to factory reset hp notebook 2000 laptop

Need to factory reset notebook from command prompt

Normally tapping the F11 key immediately after powering on will boot into Recovery Manager.
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others**

Similar Messages

  • How to execute a Command Prompt command from J2SE code executing on Windows

    How to execute a Command Prompt command from J2SE code executing on Windows??
    Please help me

    [http://java.sun.com/docs/books/tutorial/getStarted/]
    ~

  • Runtime.exec() I need to run a command prompt command from java.

    the code i have that doesn't seem to work is:
    String driveloc = System.getProperty("user.dir").substring( 0, 1 );
            String path = jTextFieldPath.getText();
            String path2 = jTextFieldPath.getText().substring(0, jTextFieldPath.getText().length()-3) + "lst";
            String[] cmd = { "cmd.exe", "/" + driveloc, "ASMtools\\AS11 " + path + " -L >" + path2};
            txt_mf.append( cmd[3] );
            try {
                Process np = Runtime.getRuntime().exec( cmd );
            catch( java.io.IOException ioe) {
                //error
            }jTextFieldPath.getText() contains the path of the file saved by my program.
    the line of code i am trying to run is:
    AS11 FILE1 -L FILE2this line compiles the asm file and converts it to a lst creating an s19 file in the process. AS11 is an exe that aids the command prompt much like javac.
    If you could help me figure this out it would be great.
    Thanks in advance,
    -Juke

    String driveloc =
    System.getProperty("user.dir").substring( 0, 1 );
    String[] cmd = { "cmd.exe", "/" + driveloc,
      "ASMtools\\AS11 " + path + " -L >" + path2};Are you sure you want to invoke cmd.exe with the switch /c or /d or whatever depending on System.getProperty("user.dir") ?
    Starts a new instance of the Windows 2000 command interpreter
    CMD [A | /U] [Q] [D] [E:ON | /E:OFF] [F:ON | /F:OFF] [V:ON | /V:OFF]
        [[S] [C | /K] string]
    /C      Carries out the command specified by string and then terminates
    /K      Carries out the command specified by string but remains
    /S      Modifies the treatment of string after /C or /K (see below)
    /Q      Turns echo off
    /D      Disable execution of AutoRun commands from registry (see below)
    /A      Causes the output of internal commands to a pipe or file to be ANSI
    /U      Causes the output of internal commands to a pipe or file to be
            Unicode
    /T:fg   Sets the foreground/background colors (see COLOR /? for more info)
    /E:ON   Enable command extensions (see below)
    /E:OFF  Disable command extensions (see below)
    /F:ON   Enable file and directory name completion characters (see below)
    /F:OFF  Disable file and directory name completion characters (see below)
    /V:ON   Enable delayed environment variable expansion using c as the
            delimiter. For example, /V:ON would allow !var! to expand the
            variable var at execution time.  The var syntax expands variables
            at input time, which is quite a different thing when inside of a FOR
            loop.
    /V:OFF  Disable delayed environment expansion.

  • Problem in executing command prompt commands through application

    Hi,
    I am facing issue in executing commands through VC++ application.
    My application is a dialog based MFC application in VS2008.
    I want to execute below commands programmatically.
    devenv D:\TestApp\TestApp.sln /rebuild release
    devenv D:\TestApp\TestApp.sln /rebuild debug
    But I am not able to set the current directory path as "D:\TestApp\" programatically.
    Through which API I can execute multiple commands on command prompt programmatically same as  we do manually on cmd.
    Please Help.
    Thanks in Advance. 
    Thanks & Regards, Mayank Agarwal

    I want to execute below commands programmatically.
    devenv D:\TestApp\TestApp.sln /rebuild release
    devenv D:\TestApp\TestApp.sln /rebuild debug
    But I am not able to set the current directory path as "D:\TestApp\" programatically.
    Through which API I can execute multiple commands on command prompt programmatically same as  we do manually on cmd.
    Why can you "not able to set the current directory path as "D:\TestApp\" programatically"? Are you forgetting to escape the backslashes?
    Why to you need to set the current directory anyway?
    What is the problem with executing multiple commands?
    As to your basic goal, have you looked at
    system()
    ShellExecute()
    ShelExecuteEx()
    CreateProcess()
    ? Perhaps you should show us what you have tried.
    David Wilkinson | Visual C++ MVP

  • How to run a command prompt " command " through java code

    hi all,
    There is a command
    "java -jar selenium-server.jar -interactive"
    which i am running through command prompt after going to D:\MyFolder\Examples .
    i want to execute this command using java code .please help

    This has already been answered in your other two threads on this topic - http://forum.java.sun.com/thread.jspa?threadID=5221221&messageID=9898287#9898287 and http://forum.java.sun.com/thread.jspa?threadID=5221223&messageID=9898290#9898290.
    For some reason you don't want to read the reference that tells you exactly how to do what you want and how to avoid the pitfalls - http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html .

  • Command Prompt commands

    I know that while I use the command prompt in windows to execute java application, I cannot use the other windows commands such as
    ipconfig,
    telnet...
    etc
    Is there anyway where I can use the java commands (javac, java) AND the other regular commands??

    The problem is happening because the PATH variable
    settings is not proper.
    Go to the environment variables in your machine and
    append the following to the PATH environment
    variable
    %SystemRoot%\system32;%SystemRoot%;Save and then open a new command window and try.Yep, you were right.
    I did that to the user's path and it worked after I appended it. It works for both now,
    thanks.

  • Java Command Prompt Commands

    This is a stoopid question and I've searched the forums, but what is the command in DOS prompt to view your classpath.
    When I run java -classpath it gives me all the various options e.g.
    java -cp -classpath
    but non of these work? whats the craic?
    M.

    What do you mean by "none of these work"?
    Suppose that you have a file HelloWorld.class in the directory C:\MyClasses. If you type:
    java -classpath C:\MyClasses HelloWorld
    it should run your program without problems.
    Are you getting an error message? What's the error message?
    Jesper

  • Running command prompt commands in java

    I can use:
    Process j = Runtime.getRuntime().exec("command";
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(j.getInputStream()));
    BufferedReader stdError = new BufferedReader(new InputStreamReader(j.getErrorStream()));
    to run commands in the command line buf if i make another process..the command will not run...any ideas?

    ProcessBuilder can simplify things:
    redirectErrorStream
    <quote>
    If this property is true, then any error output generated by subprocesses subsequently started by this object's start() method will be merged with the standard output, so that both can be read using the Process.getInputStream() method. This makes it easier to correlate error messages with the corresponding output.
    </quote>

  • Reading states of usb-6501 kit from command prompt?

    Hi all!
    I have been planning to use USB-6501 kit as one part of my test bench.
    There will be need of checking state of some relays on 
    tested  unit.
    I would like to connect  6501  to those relays and read those
    states using bare command prompt commands like readDigPort.exe
    1. What software in need to install minimum to use writeDigPort.exe or readDigPort.exe commands at command prompt??
    Those commands should be included in python script.
    2. Is there such Linux commands also included somewhere in installation media/net ?
    I am Using Fedora 3 ( Comedi not supporting 6501 ?)
    3. I need only easy way to set and read values from 6501 ports which are my possibilities to do it?
    Thank you!
    Narsu Man

    Hello,
    Here are the answers:
    1) You need NI-DAQmx Base driver for Linux. You may find the driver from web:
    http://digital.ni.com/softlib.nsf/websearch/930D8687AD03A02C86256F8C00823BDB
    Supported platforms and installation instructions can be found from here:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/42b73a7b82f0fec786256fb1007227ec
    Please read the readme-file before installation.
    2 & 3) LabVIEW and C-examples are shipped with the driver. C examples are installed by default to /usr/local/natinst/nidaqmxbase/examples. Use the example as a basic body for your application. NI-DAQmx Base Function reference help can be found from here:
    http://digital.ni.com/manuals.nsf/websearch/D7184CB9E6366E2186256FBF0076BBC3
    This should help you to continue.
    Vesa K
    National Instruments

  • Command prompt to see remote connections

    are there any command prompt commands to see which remote servers my apps are connected to? specifically database servers.

    You can use:
    netstat -ano (this command will show you all connections established, listening, etc.)
    or
    netstat -ano | findstr /C:"1433" (this command will show you all connections using 1433 port for example).
    Daniel Lima

  • Manipulating Windows command prompt through Java

    I am wondering if there is any way to manipulate simple Windows command prompt commands like color, cd, dir, cls through a java application. Any help or informative redirection would be much appreciated.

    BinaryBurnout wrote:
    I am wondering if there is any way to manipulate simple Windows command prompt commands like color, cd, dir, cls through a java application. Any help or informative redirection would be much appreciated.Realize that the Windows command prompt is an application (cmd.exe), and those commands are specific to that application.

  • Windows 8 not active after factory reset

    I bought this laptop a year ago in US, with windows 8 and was upgradable to 8.1. I upgraded and was using 8.1, until 2 days before when system crashed. I was not able to perform a system restore, therefore did a factory reset. Now when the system boots or when i try to upgrade, its asking for an activation code which I dont have. I was in the assumption that the system restore version of windows should have a valid license key but its not the same in my case .
    please advise.
    Additional information: windows update are still working. not sure if this is helpful.
    Thanks in advance for responding.

    HI @Sasikaran ,
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I understand that you have done a factory recovery and it is now asking for the activation code.
    The code is stored in the bios and  it should automatically pick it up .
    Here  is a link to Windows 8 Product Activation to assist you.
    Here is another link to assist you with reupgrading to Windows 8.1
    Updating Windows 8 to 8.1
    Best of Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Maintenance Boot Mode factory reset my phone TWICE

    Phone was charging in car, then the screen was black with yellow caution triangle. At the top of the screen, a DOS prompt appeared with FACTORY RESET IN RED. The FIRST time I didn't see what it was doing, I panicked and hit the home key and back key to stop it and it erased all my information and it did a factory reset. I was on the phone for 2 hours with VZ Tech who had no idea what happened and had not heard of it occurring. The SECOND time I had someone take a picture of the screen and there were 3 options. Safe mode, normal mode and factory reset. The volume changes the selection and it comes up with the option to factory reset, to confirm your selection you press the HOME key, hit it again on accident. This is very upsetting for this phone is not even a month old and I've talked to people and this shouldn't be happening.

    "the only thing worse than usb charging is car charging, it's unregulated & will overcharge/kill the battery."
    That's just plain wrong in almost every way a statement can be wrong.  I don't even know where to begin.  It's just wrong.  That's not how charging works with lithium ion batteries.  The power adapter only provides power.  It doesn't regulate charging.  A lithium ion battery won't "overcharge" because the charging current is reduced as the cell approaches its maximum capacity and stops when it is full.  When battery voltage drops below a certain mark, low-current charging resumes and tops off the battery again.  That's controlled inside the phone and battery pack, not the power supply.
    This person either has a defective phone or a defective charger.  But charging from a USB port or a car charger is not inherently bad or wrong.
    Please don't mislead people.

  • How do I save files to keep after I factory reset my laptop.

    Hello, I need help on how to save files to keep after I factory reset my HP 2000-2b20NR laptop without any external drive. I need to save files to keep after I factory reset because I have malware on my laptop.  Any information will help Thank you. 

    Chris257 wrote:
    Hello, I need help on how to save files to keep after I factory reset my HP 2000-2b20NR laptop without any external drive. I need to save files to keep after I factory reset because I have malware on my laptop.  Any information will help Thank you. Hi, Burn files to CD or DVD or to a large (capacity) USB sticks. You can buy a 1TB external, portable HDD now for under 80 dollars. Regards.

  • Factory Reset my Stream 11???

    At some point in my owning this product (in the last 4-5 months), I had received a low disk space warning, so I started to uninstall programs that I thought I didn't need. I may have removed something that was necessary for another program to use, but I don't know what that might have been. All the programs I was removing were pre-installed on my notebook.Is there a way to factory reset my notebook to its original settings before I started uninstalling like crazy? or to see what I might have uninstalled so I can re-install? And even after I removed programs I still get the "Low Disk Space" warning, despite backing up all my personal files to my SD card and cleaning out the "Downloads" folder -- since everything seems to go there, which makes me think this computer NEVER had space to begin with. HELP pLEASE! 

    I believe you hold the Esc key down while powering up to enter the UEFI setup and then press the F11 key to restore from the recovery partition.

Maybe you are looking for

  • SmartForm Text not printing from SAP printer but prints on LOCL

    I have a smartform that looks great on the screen and if i print locally ( default printer). When i print it on an SAP printer the text is not readable. It looks like barcodes or that the text is stretched about 1 inch high. The data that doesnt prin

  • Cartridge

    I have an HP 940c printer which uses a tri-color C6578D or DN.  I recently purchased a cartridge online but the seller sent C6578A instead.  Can this work in my printer?  The color cartridge is only printing pink at the moment.

  • CC 2014 and Canon RAW

    So, I have been searching the forums for the last hour and can't find if Canon DSLR RAW (via Magic Lantern) is supported in CC 2014. It does state that 'Canon RAW' is supported. I'm Shooting RAW video from my 5D MK3 in 1920x1080 and if this format is

  • CustomTaskPane Title font size changed when upgrading from 2010 to 2013

    I just upgraded my Word project from Office 2010 to Office 2013. The title of my task pane has changed font size considerably. Is there anyway to control the font size of the custom task pane title? taskPane = Globals.ThisAddIn.CustomTaskPanes.Add(ne

  • SQL clustering.

    Hi experts. Does sap support clustering SQL but not SAP, meaning can I cluster my sql 2008 r2 but install SAP in a distributed mode and not HA mode?