Unsolved
This post is more than 5 years old
4 Posts
0
5404
September 30th, 2012 06:00
OptiPlex 755 and OMCI 8.1
Hi!
I have problem with changing "Wake on LAN" settings on OptiPlex 755, Works on 780 and 790.
Here is the error from OMCI 7.x method:
PS C:\WINDOWS\system32> gwmi -namespace root\dellomci Dell_SMBIOSSEttings | foreach {$_.WakeUpOnLAN=6; $_.WakeupOnLANMethod=3; $_.Put()}
Exception calling "Put" with "0" argument(s): "Generic failure "
At line:1 char:110
+ gwmi -namespace root\dellomci Dell_SMBIOSSEttings | foreach {$_.WakeUpOnLAN=6; $_.WakeupOnLANMethod=3; $_.Put <<<< ()}
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
Have no idea why! Anyone?
Here is the OMCI 8.1 way of doing it:
PS C:\WINDOWS\system32> (gwmi -Namespace root\dcim\sysman dcim_biosenumeration -filter "attributename='wake-on-lan'") | select CurrentValue
CurrentValue
------------
{0}
Current value is set to 0.
Make the changes:
PS C:\WINDOWS\system32> (gwmi -Namespace root\dcim\sysman DCIM_BIOSService -computer segotdt0413).setbiosattributes($null,$null,"wake-on-lan","4","PASSWORD")
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 2
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
ReturnValue : 0
SetResult :
Looks great right!?
Lets take a look at the current value again.
PS C:\WINDOWS\system32> (gwmi -Namespace root\dcim\sysman dcim_biosenumeration -filter "attributename='wake-on-lan'") | select CurrentValue
CurrentValue
------------
{0}
:(
Same as before! Have went into the BIOS to see that it not changes and it does not. WOL is actually ON but the WMI says that the current value is 0 which is off i guess.
Any ideas? :) Please help!
Env: Optiplex 755, Windows 7 x86, OMCI 8.1 with 7.x support.
// Bartoooo
No Events found!


Bartoooo
4 Posts
0
October 1st, 2012 08:00
Please, I really need help with this :(