windows 实用技巧
1、系统激活:https://mp.weixin.qq.com/s/Kl_iEeSSxSprblfSRZ6yEQ
2、百度云下载:https://www.leiyun.org/
3、搭建ss链接: https://pan.baidu.com/s/1xa3sasW6jk_fzJBM_d268Q 提取码: jvv6
4、显卡天梯:http://www.yzmg.com/zhinengyingjian/189796.html
5、使用notepad2替换Windows自带的记事本:将下面的代码保存为批处理文件,右键管理员方式运行。
注意:要将notepad2复制到与系统记事本同一目录下,一般为:C:\Windows\System32\ 注意文件名大小写,下面的代码红色部分。
如果行要恢复用第二段代码,如果恢复失败,检查红色部分
替换.bat @ECHO OFF PUSHD %~DP0 taskkill /f /im notepad*>NUL 2>NUL Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 请使用右键管理员身份运行&&Pause >NUL&&Exit) Rd "%WinDir%\System32\test_permissions" 2>NUL SetLocal EnableDelayedExpansion if not exist "%WinDir%\SysWOW64" reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%~dp0notepad.exe\" /z" /f if exist "%WinDir%\SysWOW64" reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%~dp0notepad2.exe\" /z" /f exit
恢复系统记事本.bat @ECHO OFF PUSHD %~DP0 taskkill /f /im notepad*>NUL 2>NUL Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 请使用右键管理员身份运行&&Pause >NUL&&Exit) Rd "%WinDir%\System32\test_permissions" 2>NUL SetLocal EnableDelayedExpansion reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /f exit
6、office2019激活(需要网络),将面的代码保存为bat文件并双击等待一会儿就可以
@echo off (cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath '%0' -verb runas)&&(exit /B)) >NUL 2>&1 title Office 2019 Activator r/Piracy echo Converting... & mode 40,25 (if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul) cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul&set i=1 :server if %i%==1 set KMS_Sev=kms7.MSGuides.com if %i%==2 set KMS_Sev=kms8.MSGuides.com if %i%==3 set KMS_Sev=kms9.MSGuides.com cscript //nologo ospp.vbs /sethst:%KMS_Sev% >nul echo %KMS_Sev% & echo Activating... cscript //nologo ospp.vbs /act | find /i "successful" && (echo Complete) || (echo Trying another KMS Server & set /a i+=1 & goto server) pause >nul exit
7、windows激活工具(需要联网)。
链接: https://pan.baidu.com/s/1YfYRw6d78lc-11GbQlb8vQ 提取码: wh4j
8、获取TrustedInstaller权限,将下面代码复制到记事本,修改后缀名为reg,双击运行
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\runas] @="获取TrustedInstaller权限" [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\Directory\shell\runas] @="获取TrustedInstaller权限" "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"