1
Hardware / Re:Dell latitude E6440 Podsvit klávesnice v Linuxu Mint 20
« kdy: 11. 09. 2020, 07:46:31 »
E6440 mám doma. Nemám sice Mint ale podsvit klávesnice je funkční by default (regulovat lze Fn + → ). Co přesně nefunguje?
Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.
@echo off
set wu_stopped=
set wu_disabled=
REM --- Check for admin rights
REM fsutil dirty query %SystemDrive% >NUL && set admin=1
REM if NOT "%admin%"=="1" (
REM echo.
REM echo Run this script as administrator!
REM pause
REM goto :EOF
REM )
setlocal
if "%~1"=="dry" set dry=1
REM --- List of updates for the various Windows versions, December 2016
set prereq_windows6.0=KB3078601 KB3109094 KB3185911 KB3191203 KB3203859 KB3204723
set prereq_windows6.1=KB3177467 KB3172605 KB3020369 KB3205394 KB3207752
set prereq_windows8.1=KB3173424 KB3172614
set find=%SystemRoot%\system32\find.exe
set wmic=%SystemRoot%\system32\wbem\wmic.exe
set wusaSN=%SystemRoot%\SysNative\wusa.exe
set scSN=%SystemRoot%\SysNative\sc.exe
set wu=wuauserv
set sc=%SystemRoot%\system32\sc.exe
set wusa=%SystemRoot%\system32\wusa.exe
if exist "%scSN%" set sc=%scSN%
if exist "%wusaSN%" set wusa=%wusaSN%
REM --- Prüfung des Diensts "Windows Update"
"%sc%" qc %wu% | "%find%" /i "DISABLED" > NUL && set wu_disabled=1
"%sc%" query %wu% | "%find%" /i "STOPPED" > NUL && set wu_stopped=1
if "%wu_disabled%"=="1" if "%wu_stopped%"=="1" (
echo.
echo Service "Windows Update" is disabled!
echo Please enable it and try again.
echo.
pause
goto :EOF
)
set win=
ver | "%find%" "6.3." >NUL && set win=windows8.1
ver | "%find%" "6.1." >NUL && set win=windows6.1
ver | "%find%" "6.0." >NUL && set win=windows6.0
if "%win%"=="" (
echo.
echo Error determining the Windows version!
pause
goto :EOF
)
call set prereq=%%prereq_%win%%%
REM --- Determine the Windows architecture
set arch=x86
"%wmic%" COMPUTERSYSTEM GET SystemType | "%find%" /i "x64" >NUL && set arch=x64
for %%i IN (win arch wusa) DO (
call echo %%i = %%%%i%%
)
echo.
pushd %~dp0
echo List: %prereq%
for %%A IN (%prereq%) DO (
echo.
echo %%A
for /F %%i IN ('dir /b "%win%-%%A-*%arch%*.msu"') DO (
call :INSTALL_MSU "%%~i"
)
)
popd
endlocal
echo.
echo.
echo Installation finished. Please reboot the system.
echo.
pause
goto :EOF
:INSTALL_MSU
echo %~1
if NOT "%dry%"=="1" start /wait "install" "%wusa%" "%~dp0%~1" /quiet /norestart
echo Errorlevel: %errorlevel%
if "%errorlevel%"=="2359302" echo Update already installed.
if "%errorlevel%"=="3010" echo Reboot required
goto :EOF
Zdravim
Neviete ma niekto trocha nakopnut ako nakodit script pomocou ktoreho by som dokazal menit hodnotu v registroch??
pozeral som aj:
https://support.microsoft.com/en-us/kb/310516
urobil txt hodil tam polozky potom prepisal ako pisu .reg ale vypise len chybu...
Potrebujem na domene uzivatelom nastavit v registorch
local machine- currentcontrolset-control-terminal server
a v allowRemoteRPC nastavit 1
aby mohli prijmat spravy vo windows 7
Tak ma napada vytvorit skript a ten supnem do group policy nech sa mu spusti po restarte alebo je jednoduchsie riesenie???
diki
reg add "cesta v registru ke klíči"="požadovaná hodnota" "typ (např. REG_SZ)"
Tohle se pak dá krásně zapracovat do dávky s proměnnýma.