View Single Post
  #11  
Old 12-11-2017, 11:14 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

FIXED

The security system and hardware monitor have been blocking any changes, even new drivers would not hold.

MMM...

Fixed it by forcing UAC to let me give administrator permission for the drivers to go in.

Here's the script, it can be modified to work with any programs that need to get admin permission in Windows 10 when you can't do it from the desktop, modify filenames, paths and executable names as needed.

Code:
@echo off
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
    goto CallUAC
) else ( goto MakeStompemAdmin )
:CallUAC
    Echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\stompemdmin.vbs"
    Echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\stompemdmin.vbs"
    "%temp%\stompemdmin.vbs"
    exit /B
:MakeStompemAdmin
if exist "%temp%\stompemdmin.vbs" ( del "%temp%\stompemdmin.vbs"
)
    pushd "%CD%"
    CD /D "%~dp0"
if exist "%USERPROFILE%\Desktop\388.59-desktop-win10-64bit-international-whql.exe" ( goto InstallDrivers
) else ( goto Exit )
:InstallDrivers
%ComSpec% /c start "%USERPROFILE%\Desktop" 388.59-desktop-win10-64bit-international-whql.exe
:Exit

Last edited by Guest001; 12-11-2017 at 01:28 PM.
Reply With Quote