The / r option under stop will stop windows and it will not restart when chkdsk is also in the same batch file

This batch will be the file windows stop and not restart it with the command chkdsk present.

OFF @ECHO
REM FIXDISK. BAT
CHKNTFS T:1
C:
ECHO Y | CHKDSK C: /F > ZERO
CLS
ECHO RESTARTING SYSTEM

SHUTDOWN /r /t 0

Hello V Trammell,

Where did you got the script? Do you have it created yourself?

If you need help with the script, I suggest you post in the forum TechNet in the category ' Forum official Scripting Guy.
Click here for a link to transfer your question.

Sincerely,

Marilyn

Tags: Windows

Similar Questions

  • Windows Explorer says he has stopped working and it does not restart. I tried the system restore, but will not return to explore

    I can't get rid of this pop up asking to restart or online solutions. I chose these two options in the last days and even managed to get into the restoration of the system (not easy without windows), but nothing works and I'm about to throw this pop up window with my laptop.

    '

    Hello

    References to Vista also apply to Windows 7.

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or
    Windows 7

    http://support.Microsoft.com/kb/929135

    Use advanced tools to solve performance problems in Windows 7
    http://www.howtogeek.com/HOWTO/6152/use-advanced-tools-to-troubleshoot-performance-problems-in-Windows-7/

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/default.aspx/GP/slow_windows_performance?p=1

    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Think about it an absolute must - manually update your drivers.

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Installation and update of drivers under Windows 7 (updated drivers manually using the methods above
    It is preferable to ensure that the latest drivers from the manufacturer of system and device manufacturers are located)
    http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    I hope this helps.

  • Windows Vista - all programs 'stopped working' and nothing does not open. McAfee is also not working and the help and support center/internet does not open even

    On my windows vista computer, whenever I turn on my computer and log on, none of my programs work. An error message appears saying that the program has stopped working and windows will try to find a solution to the problem.  The problem is that the help and support center opens either. None of my internet programs to be open, and the same error message for all. We have tried to turn off DEP, and that did not help. My computer is connected to the internet (2wire) but is not able to run due to the problems with my computer. I scanned my computer with windows defender, and we found no problem. Help, please

    Download the McAfee tool to remove it. Use it in safe mode.

    http://download.McAfee.com/Products/Licensed/cust_support_patches/MCPR.exe

    Reboot and install MSE.

  • Windows Vista - all programs 'stopped working' and nothing does not open. McAfee is also not working and help and support center does not even

    On my windows vista computer, whenever I turn on my computer and log on, none of my programs work. An error message appears saying that the program has stopped working and windows will try to find a solution to the problem.  The problem is that the help and support center opens either. None of my internet programs to be open, and the same error message for all. We have tried to turn off DEP, and that did not help. My computer is connected to the internet (2wire) but is not able to run due to the problems with my computer. I scanned my computer with windows defender, and we found no problem. Help, please

    Hi Anna1298,

    ·         Did you do changes on the computer before the show?

    Follow the suggestions below for a possible solution:

    Method 1:

    Step 1: Start in safe mode and check if the problem persists.

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

     

    Step 2: If the problem does not occur in safe mode, you can put your system to boot (in normal mode) to solve the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

     

    Note: After troubleshooting, be sure to configure the computer to start as usual as mentioned in step 7 provided in the above article.

    Method 2: Try the SFC (System File Checker) scan on the computer.

     

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

     

    Method 3: I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: During the scan of the hard drive if bad sectors are found, the scanner tries to repair this sector, all available on which data may be lost.

    Let us know if that helps.

  • Windows 7 will not restart after an installed cleaning

    After a clean install of windows 7, it will not restart when you click on restart. It just goes to the screen to the motherboard. If you go into the bios, windows will restart by clicking on the disk that contains windows 7. How to make computer restarts correctly?

    It is probably an incorrect configuration in the BIOS boot priority setting.

    When you install the operating system, you usually change the priority settings of your device to start to get my media you use (USB or optical drive). Therefore, it is possible that it was for the setting even after installation, so he's trying to boot from the recovery media instead of the operating system on the hard drive.

    The BIOS boot priority settings vary depending on the manufacturer of the computer. Therefore, for the change in the value of such assistance, we suggest that you contact the manufacturer of your computer.

  • (Redirected) Dell audio drivers will not load when the system is turned on for the first time after his stop.

    Dell audio drivers will not load when the system is turned on for the first time after adoption of Windows 10. I have to reboot every time. So what I'm doing puts the system into sleep. in this way, I don't need to stop and restart the system. It is Dell Inspiron N5559. Audio drivers are installed and up-to-date. Equipment works correctly.

    Hi akilesh.sharma18,

    Please repost this in the Audio forum from the laptop to help.

    http://en.community.Dell.com/support-forums/laptop/f/3517

  • My 6 month Apple Watch stopped charging and will not restart.

    My 6 month Apple Watch stopped charging and will not restart.

    Hello

    Try the following steps:

    Charge your watch about 2.5 hours, making sure you follow the instructions in charge here:

    Check your battery and load your Apple Watch - Apple Support

    After charging, if your watch has not already restarted automatically:

    -Try to restart it (by pressing the side button until you see the Apple logo).

    -If it still does not start, then try force it restarts again: hold down the side button and the digital Crown for about 10 seconds, until you see the logo.

    If the problem persists, contact Apple support (mail service may be available) or make a booking Genius Bar in order to have your watch checked under warranty:

    Contact - Support official Apple

    https://Twitter.com/applesupport

    More information:

    If your Apple Watch does not respond or won't turn on - Apple Support

  • USB-6009 DAQmx meter task stops and does not restart when you restart the VI

    I have the task of counter DAQmx which "hangs up" while troubleshooting a VI and does not restart when I restart Traoré.  See attached fragment VI.  The counter works reliably in normal operation, but some combinations of interruption and running "highlighted" causes to stop work.  It's in LabVIEW 2009.

    It will restart if I close the VI and reopen it.  However, this causes losing me my window probe laboriously built with ten

    the probes.

    Is it possible to re - initialize a DAQmx task without closing the VI?

    This significantly slows the troubleshooting.

    As an alternative, if anyone can suggest a way to preserve a probe Watch window after closing of associated VI, it would be a work around.

    Please do not take into account.

    Counteract the work of task - it's the rest of the program which is hung up.

  • I just downloaded CC but the two PS and Lightroom will not open when I click on open. using Windows 7 any ideas

    I just downloaded CC but the two PS and Lightroom will not open when I click on open. using Windows 7 any ideas

    Please contact support:

    Contact the customer service

    Concerning

    Megha Rawat

  • Repeat the questions of character: will not repeat when maintained key (even after change of repeat speed & delay at the fastest)

    When I type characters (as well as the arrow keys and backspace) etc they will not repeat when the button is kept pressed and you must wait a few seconds before being able to repeat a character or go back and delete a mistake!  This has been a problem since I accidentally leaned on a button and he kept extensible - a message box emerged by asking (I don't remember verbatum what he said) if I wanted to stop this does not happen - and in my drowsy State, I felt just OK!  I disappeared in the 'control panel' and changed the character of repetition and time short and fast many times and it never changes nothing!  I noticed that when I connect to my computer the character repeat works normally.  I'd appreciate any help because it is frustrating and annoying say the least!  Thank you, Danette

    Hello

    1. have you made changes on the computer recently?

     
    Please check if you face the same problem when recording in safe mode. It is a possibility that one of the non-Microsoft application or driver is causing this issue.
     
    Step 1.
    a. restart your computer.
    b. when the computer starts, you will see your computer hardware are listed. When you see this information tap the F8 on your keyboard key repeatedly until you are presented with the screen Windows 7 Advanced Startup Options.
    c. using the arrow keys, select the desired option of Mode without failure.
    d. press the Enter key on your keyboard to start in safe mode of Windows 7.
    e. when Windows starts, you will be at a typical logon screen. Connect to your computer and Windows 7 goes into safe mode.
    f. do whatever tasks you need and when you are done, reboot to return to normal mode.
     
    Step 2.
    If it works fine in safe mode try performing a clean boot in order to find the cause root.
    See the article below for instructions on how to start your computer in a clean boot state.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.
     
     
    I hope this helps.
  • Satellite P850 - Windows 8 will not restart properly

    Does anyone know why Windows 8 will not restart correctly on the laptop Satellite P850?

    It seems that whenever I have to restart, especially after the installation of an update, it crashes right on the screen of "Reboot" and I usually find myself having to hold the power button down to completely stop and then turn upwards again. Sometimes, I still have to do to make it stop.

    I would be very grateful for any help that anyone can give me please.

    I have no idea why the Windows 8 will not restart correctly, but this document should help you to repair or restore the system of Windows 8 on your Satellite P850

    + Windows 8 recovery & Repair +.
    http://APS2.toshiba-tro.de/KB0/TSB2A03ES0000R01.htm

    Please post comments if this helped and how you can solve this problem!

  • "Stop: c0000135" and "winsrv was not found" error

    Hello:

    I'm working on my aunt's computer and she recently started having an error message when it tries to start his computer: "Stop: c0000135" and "winsrv was not found" error.  I can't start in safe mode because it just goes back to the blue screen and gives the same error.  She can't find the cd of 'restoration' and I can't find a windows XP CD created to boot from.  In addition, as info, she has not installed anything new recently.

    However, I have access to a Windows 7 Cd, but as I understand it, this doesn't help me as much as a windows 7 CD won't work on an XP operating system.

    I'm not very high technology, I just generally help solve problems by searching the Web for answers.

    Can someone offer me some very specific steps to get his computer facing up and running, please?  Also, before doing anything that is suggested as I can and I have to back up his hard drive?  If so, how can I do that without possibility to connect to the computer?

    Thanks in advance

    Hello

    You can download a Windows XP recovery console (ISO) by http://www.mediafire.com/?ueyyzfymmig CD image

    Once you have downloaded the files burning the image on CD. You can do this with a program like Imgburn. ImgBurn can be downloaded at http://www.imgburn.com/index.php?act=download.

    Once you have written the CD you must restart the PC and start the PC with the CD. To do this, you will need to change the boot order in the BIOS to start first with the CD player. To access the BIOS, usually press you on F2, F10 or DEL. (when you put the top PC tell XX press the button to enter Setup/BIOS). Once in the BIOS search the menu for something in the sense of "Boot Priority" or "First Boot Device" or "Boot Order". Once you've found the setting change so that the CD drive is the first boot device. Save the settings and exit the BIOS.

    Now you can start the PC with the CD. If you get the message press any key to boot from CD - press a key.

    After the Conference on Disarmament has started, you will get a menu on the screen. Press 'r' to enter the Recovery Console.

    Follow the instructions on the screen. You will receive a list of the Windows Installations. Press '1' to connect to the Master Installation of Windows.

    You will be asked to enter the administrator password. Enter it or leave empty if there is no password and press ENTER.

    You should now be on the command line C:\Windows >

    Now type in

    CHKDSK c:/r

    Press ENTER. Allow chkdsk repair disk errors, it can find.

    Once done type in

    CD system32

    Press ENTER. Now type in

    dllcache\winsrv.dll copy

    Press ENTER. You should see a response saying that the file has been copied. (If one of these commands give a type error in the error in your next post).

    If everything is successful in type

    Output

    and press ENTER. Remove the CD and allow Windows to start normally.

    It's always a good idea to make a backup of your important/emails etc documents before attempting to repair a PC (just in case something goes wrong). Because you do not have Windows, you will need to take the hard drive on your PC and attach it as a 2nd or slave hard drive on another PC work. This will allow you to see it as a drive E: or F: (or the next drive letter, it's free). You will then be able to copy the data on the hard drive of the computer to work.

    I hope this helps.

    Edit: Afterwards, I know you said, nothing has been installed recently, but you might want to look at this article: http://support.microsoft.com/kb/885523. The article describes the situation even after installation of SP2. Maybe the SP2 has been installed inadvertently through Windows update?

  • SK2061: The wireless keyboard will not connect when the PC is turned on.

    My problem is, when I start the PC, (HPK-15 500, 319NA), wireless (SK2061) keyboard, does not connect. I have to shut down the PC so he can connect (no restart, you must stop it).  Have had the PC for 5 months and it has been published. Not changed the battery makes no difference.

    The internet statement States I shoud push the blue button until the USB receiver flashes. This PC does not have an external USB receiver, I guess it's built in! The mouse works OK.

    Hello @JimCar82,

    I read your post on how the wireless keyboard will not connect when the computer is turned on, and I'd be happy to help you in this case!

    Re-connect your keyboard to your desktop computer wireless, I advise you to follow the steps described in this document on the keyboard and wireless mouse troubleshooting. The USB receiver should be found at the back of the tower.

    Please re-post with the results of your troubleshooting, and I look forward to your response!

    Concerning

  • Why my windows freeze and go does not respond when I try to install the msn photo on hotmail download tool?

    Why my windows freeze and go does not respond when I try to install the msn photo on hotmail download tool?

    The active x bar descends into the small window and freezes all windows open right there and will not respond. This happens when I open a new message and try to attach photos.

    Things I tried but has not made a difference:

    reinstalled IE 8, deleted the history of the browser, disk Cleanup, removed msn photo upload control, optimized IE8

    With xp media center

    PS. This occurs also at any time the information down to install an active x on any site control

    The only way to surf now with frustration is to use IE 8 NOT add optional

    So I fixed that on my own and that's how I did it.

    You must uninstall IE 8 completely which will bring you to IE 7 (in my case) and then install IE 8 via the site updates or microsoft.

    Uninstallin IE 8 by going to:

    Start--->

    Control Panel--->

    Add Remove programs--->

    Scroll down to IE 8--->

    Click on delete.

    IE8 updates must be removed also, if not then click the box 'To see the updates' on the top of the window to scroll down, look for the IE 8 security updates and delete.

    Resart your computer and install IE 8.

    This worked for me and may or may not work for you.

  • L50 - B satellite will not start when the battery is completely discharged

    Hello

    My Toshiba L50 - B won't start when the battery is fully drained but connected to the power outlet.
    I try to work most of the time on the battery to keep the battery in good shape, but when I forgot to turn off the battery drains and the system will not start when I plug in the adapter.

    The battery charge indicator is orange light as it should. Only when the battery is fully charged to 100%, it will run at startup and function normally after that. I tried to turn on the laptop several times during the charge cycle, but only when the charge indicator changes from yellow to white it starts. Tested for 2 bodies.

    My old Toshiba always immediately turned on when I plugged the adapter even when the battery has been completely drained. Am I missing a setting somewhere?

    Thanks for responding... I hope well :-)

    Toshiba L50 - B
    Windows 8.1
    Any standard/original setting since I only acquired this laptop a month ago.

    The laptop should light up if the power adapter is plugged in and power the laptop corectly any if the battery is empty or during charge.

    Please check the version of the BIOS that is available on your mobile phone and compare with the BIOS available on the page of the Toshiba UE driver
    Maybe you need to update the BIOS, but to be honest, the history seems really odd to me and I m afraid that there could be some power supply electronic problem

    So in the worst case, the laptop must be checked by authorized service provider.

Maybe you are looking for

  • Home sharing timeout?

    I enabled home sharing to my iTunes library. All very well, I can access it from my Apple TV. However, the next Apple TV can't find the library more. I need to disable and re-enable the home sharing, then fine. Same next day and the next day, and...

  • How to create a controller for the window "Configuration of spectral measures.

    Hi all Problem: We know that to change the 'window' for spectral measurements. There need to double-click it, the spectral measurement set-up window pop up and select regardless of the window (for example, no, Hanning, Hamming, Blackman Harris etc.)

  • How can I reinstall uncdms.dll

    How can I reinstall uncdms.dll.

  • Photosmart 5512 will not scan to computer touch screen

    I have a new Windows 7 laptop and the only way I can scan is using the photosmart software on the PC.  I try to use the touch screen and even if my computer is recognized as being connected via USB, I get the following error:"Unsuccessful Scan.  An e

  • Get the Date and time of the given Date.

    Hello everyone, I'm stuck in a problem in my project. I have form having two ChoiceField 1 day 2 months I want the Date like this -"sam 12 08:45"... When the user select the date and the month of the ChoiceFields. Please it is urgent help me.