Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

DeskView - Problem with BIOS-Settings

$
0
0

Dear Support,

 

my Name is Thiel Bernd.

I am an technical Consultant.

 

Whe want to use DeskView for one of our customers to standardize Fujitsu Workstations and Notebook’s.

Whe Checked all Model’s and they are all supported.

 

Version 6.60 x86 and x64

Operating Systems Windows 7x64

 

Now whe have the Problem, that on some models our Script doesn’t work.

 

Please Check our Syntax, and gave us response, where the failure is:

Variables

echo off

Cls

 

setlocal ENABLEDELAYEDEXPANSION

 

:: all

set "model=Lifebook"

set "PWD=1way"

 

set "BOOTORDER=1LAN,2CD,3HDD"

set "ZEROWATT=OFF"

set "WOL=ON"

set "USB=ON"

set "USBPORTS=ENAALL"

set "USBREAR=ON"                

set "USBLEGACY=ON"              

 

:: DeskViewModelOnly

set "UPWD=4u"

set "HDDPWD=4u"

 

set "PWOB=FIRSTBOOT"

set "HDDPWOB=OFF"               

 

set "DeskviewSettings="

rem /WOL=%WOL% /USB=%USB% /USBPORTS=%USBPORTS%"

rem /USBREAR=%USBREAR% /USBLEGACY=%USBLEGACY%"

 

:START

echo YOUR Device:

echo ############

wmic computersystem get manufacturer, model

echo.

 

 

Clear old PWD

:1PWD

echo ############# Step 1 - Clear old Password's

%~dp0BiosSet.exe /PWD=1way2sos /NEWPWD=

%~dp0BiosSet.exe /PWD=sosit4u /NEWPWD=

%~dp0BiosSet.exe /PWD= /NEWPWD=

 

 

Set Net PWD

echo ############# Step 2 - Set Password

%~dp0BiosSet.exe /PWD= /NEWPWD=%PWD%

%~dp0BiosSet.exe /PWD=%PWD% /NEWUPWD=

%~dp0BiosSet.exe /PWD=%PWD% /DEFAULT

 

 

Set Parameters

echo Step 3 - Config

for %%a in (

BOOTORDER=%BOOTORDER%

ZEROWATT=%ZEROWATT%

WOL=%WOL%

USB=%USB%

USBPORTS=%USBPORTS%

USBREAR=%USBREAR%           

USBLEGACY=%USBLEGACY%

) do (

set "variable=%%a"

echo.

echo    ### !variable:"=! ###

 "%~dp0BiosSet.exe" /PWD=%PWD% /!variable:"=!

)

 

 

Check about lifebook and set Paramters

wmic computersystem get model | findstr /i "%model%"

if not errorlevel 1 ( goto model ) else ( goto ende )

 

:model

for %%a in (

NEWUPWD=%UPWD%

NEWHDDPWD=%HDDPWD%

PWOB=FIRSTBOOT

HDDPWOB=OFF

) do (

set "variable=%%a"

echo.

echo    ### !variable:"=! ###

 "%~dp0BiosSet.exe" /PWD=%PWD% /!variable:"=!

)

 

:ende

echo.

echo ### END OF SCRIPT ###

 

 

 

Pause

 

 

Reboot

shutdown -r -f -t 00

 

Problem’s are, that some Machine’s

  1. show’s in the Biosset.exe that our PWD is incorrect, but when whe boot into the BIOS the Password will be allowed.
  2. Doesn’t allow bootorder=1LAN

 

Whe have checked all Variable’s and whe are 100% sure, that the work’s fine.

 

Please Help J

THX



Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>