zoukankan      html  css  js  c++  java
  • 如何去掉系统快捷方式的箭头和更改登录界面背景图片

                      如何去掉系统快捷方式的箭头

      本文转自:http://blog.sina.com.cn/s/blog_5d2ced280100ocvb.html。

      网上有很多去掉系统快捷方式箭头的方法,但基本每种方法都有缺陷,会带来一些问题。下面这种方法可以完美的去掉快捷方式的箭头。

    1.针对winows xp系统

      将下面的代码复制粘贴到一个记事本文件里1.txt:

    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\shell32.dll,49" /t reg_sz /f
    taskkill /f /im explorer.exe
    attrib -s -r -h "%userprofile%\Local Settings\Application Data\iconcache.db"
    del "%userprofile%\Local Settings\Application Data\iconcache.db" /f /q
    start explorer

      然后将1.txt改名为1.bat,以管理员身份运行该文件即可,即可去掉xp系统快捷方式的箭头。

      如果想要恢复箭头,以同样的方法运行下面这段代码即可:

    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /f
    taskkill /f /im explorer.exe
    attrib -s -r -h "%userprofile%\Local Settings\Application Data\iconcache.db"
    del "%userprofile%\Local Settings\Application Data\iconcache.db" /f /q
    start explorer

    2.针对win7系统

      去除箭头:

    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,196" /t reg_sz /f
    taskkill /f /im explorer.exe
    attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
    del "%userprofile%\AppData\Local\iconcache.db" /f /q
    start explorer

      恢复箭头:

    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /f
    taskkill /f /im explorer.exe
    attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
    del "%userprofile%\AppData\Local\iconcache.db" /f /q
    start explorer

      win7右键添加“获取管理员权限”

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\*\shell\runas]
    @="获取管理员权限"
    "NoWorkingDirectory"=""
    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" & icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" & icacls \"%1\" /grant administrators:F"
    [HKEY_CLASSES_ROOT\exefile\shell\runas2]
    @="获取管理员权限"
    "NoWorkingDirectory"=""
    [HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
    @="cmd.exe /c takeown /f \"%1\" & icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" & icacls \"%1\" /grant administrators:F"
    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="获取管理员权限"
    "NoWorkingDirectory"=""
    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" /r /d y & icacls \"%1\" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y & icacls \"%1\" /grant administrators:F /t"

      将上述代码粘贴到1.reg文件中,运行即可。

    3. 如何更改win8.1的登录界面背景图片

      win8.1的登录界面背景图片在目录 C:\ProgramData\Microsoft\Windows\SystemData\S-1-5-18\ReadOnly\LockScreen_Z 下面,找到合适的图片覆盖此文件夹下的图片即可。

    作者:Matrix海子
             
    本博客中未标明转载的文章归作者Matrix海子和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    Towards Life-Long Autonomy of Mobile Robots Through Feature-Based Change Detection
    Magnetic field constraints and sequence-based matching for indoor pose graph SLAM
    3D Image-based Indoor Localization Joint With WiFi Positioning
    Online Probabilistic Change Detection in Feature-Based Maps
    Detectron2--(1)
    detectron2 + ubuntu + cpu
    出去上网-ubuntu-ss
    深度学习入门4
    IDM添加代理
    [转载]clover引导黑苹果icloud已达到账户数量限制解决方法
  • 原文地址:https://www.cnblogs.com/dolphin0520/p/2864838.html
Copyright © 2011-2022 走看看