ZZH123 当前离线
列兵
idwma 当前离线
少校
set "run=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" for /f %%i in ('reg query "%run%"^|findstr ".*oa.*"') do reg delete "%run%" /v "%%i"复制代码
TOP
set "run=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" for /f %%i in ('reg query "%run%"^|findstr "oa css 你好"') do reg delete "%run%" /v "%%i"复制代码
qixiaobin0715 当前离线
大校
WHY 当前离线
上校
$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run'; $name = (Get-Item $path).GetValueNames() -match '(?-i)css|你好|OA'; if($name.Count){Remove-ItemProperty $path $name;}复制代码