zoukankan      html  css  js  c++  java
  • Win10系统优化/设置脚本

    Win10系统优化/设置脚本

      用了很长时间win10了,用的过程中,发现了一些问题,关于系统基本的优化,和个人的使用习惯设置等等,做成了一个脚本,可以一键设置win10的系统设置,结合DWS对Win10的系统的优化,下面是脚本的内容,把内容复制到txt文档中,改后缀为.bat,右键以管理员方式运行,可以做相应的操作了.测试环境为win10

      Win10去掉桌面箭头

    
    

    reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /d "%systemroot%system32imageres.dll,197" /t reg_sz /f
    taskkill /f /im explorer.exe
    attrib -s -r -h "%userprofile%AppDataLocaliconcache.db"
    del "%userprofile%AppDataLocaliconcache.db" /f /q
    start explorer
    pause

    
    

      Win10恢复桌面箭头

    reg delete "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /f
    taskkill /f /im explorer.exe
    attrib -s -r -h "%userprofile%AppDataLocaliconcache.db"
    del "%userprofile%AppDataLocaliconcache.db" /f /q
    start explorer
    pause

      理论上说使用以上脚本是没有问题的,如果因为环境等出现以下问题,则相应的解决方案如下:

      访问主题-桌面图标设置-->提示: 无法访问指定设备,路径或文件.您可能没有合适的权限访问这个项目

      解决:

      win+R 输入control userpasswords2 --> 点击用户属性-->选择组成员-->选择管理员访问权限-->应用-->完成-->重启

                                                                                   

  • 相关阅读:
    POJ 2253 Frogger
    C++map函数的用法
    蓝桥杯 幂方分解
    蓝桥杯 危险系数
    POJ 2234 Matches Game
    POJ 1852 Ants
    POJ 1144 Network
    POJ1419 Graph Coloring
    poj 2573 Bridge(有A、B、C、D四个人,要在夜里过一座桥……)
    小知识(输出源文件的标题和目前执行行的行数)
  • 原文地址:https://www.cnblogs.com/YangGC/p/9273001.html
Copyright © 2011-2022 走看看