Jump to content

Recommended Posts

Posted

Morning,

 

Facing that time old problem of getting into rooms and offices during the holidays. Sadly there isn't a master key that will get me in the rooms and trying to get time from the caretakers is hard. Is there something someone may have setup to overcome this, as it becomes a nightmare when I need to get the SIMS update out.

 

I don't mind if I have to get access to the PC's during the term to set this up, it will be worth it!

 

I did try to get a script to run at start up and get the mac address so I would script this, but it didn't work.

 

Any ideas?

 

Stuart

Posted
Morning,

 

Facing that time old problem of getting into rooms and offices during the holidays. Sadly there isn't a master key that will get me in the rooms and trying to get time from the caretakers is hard. Is there something someone may have setup to overcome this, as it becomes a nightmare when I need to get the SIMS update out.

 

I don't mind if I have to get access to the PC's during the term to set this up, it will be worth it!

 

I did try to get a script to run at start up and get the mac address so I would script this, but it didn't work.

 

Any ideas?

 

Stuart

 

Morning Stuart,

 

Are you just looking for a solution that will let you remotely power on PCs on demand or scheduled when you need it ? I have just been discussing this topic on another thread, so if you are looking for a power management solution this thread may be helpful ?

http://www.edugeek.net/forums/enterprise-software/173117-dell-pcs-power-management-solution-required.html#post1485617

 

If i have misunderstood, apologies.

 

 

Al.

Posted
Morning,

 

Facing that time old problem of getting into rooms and offices during the holidays. Sadly there isn't a master key that will get me in the rooms and trying to get time from the caretakers is hard. Is there something someone may have setup to overcome this, as it becomes a nightmare when I need to get the SIMS update out.

 

I don't mind if I have to get access to the PC's during the term to set this up, it will be worth it!

 

I did try to get a script to run at start up and get the mac address so I would script this, but it didn't work.

 

Any ideas?

 

Stuart

 

Net Support DNA ;) you can set the schedule that you want them to turn on and off, they have even added a nice little feature so you can assign holidays into it as well.

  • Thanks 1
Posted

Wake On LAN is what you want, only snag is that most tools will need you to know the mac address of the machine you want to turn on.

 

Some good ones I've used are Solar Winds and Depicus, although be warned there will be a lot of messing about with BIOS and NIC settings to get WoL working reliably.

 

I seem to remember NetOp had WoL built into the interface way back when, it was a nice GUI with all devices listed in groups, you could right click and turn a suite on in one go. Pity the rest of the product was a bunch of a*se really.

  • 3 weeks later...
Posted
Seems to be a problem many of us are plagued with. I dream of a masterkey. Our staff are told to leave their classroom keys in secure staff room trays when they aren't at work but there are always a few who just can't oblige. Impero does the job for us but if the staff have turned the actual power off then you are stuffed anyhow. The other thing I have found is some client machines will only WOL if the BIOS is of a certain upgrade. Some Dell machines in particular.
Posted
I have a script that can be used with SCCM. It is successful with Windows 7. But seems to have issues with Windows 10. If I remember I'll upload it. To get wol working you need a database of the mac addresses to pc name. You also need to test each model and push out some registry entries. I think you can get Windows update to wake the pc if its in standby. With Windows 10 having more major updates that put the PC out of use for an hour WOL and scheduled wakeup is going to be a issue.
Posted

Heres the script. Also need these:

PropertiesHive HKEY_LOCAL_MACHINE

Key path SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0004

Value name EnablePME

Value type REG_SZ

Value data 1

 

 

PropertiesHive HKEY_LOCAL_MACHINE

Key path SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0007

Value name EnablePME

Value type REG_SZ

Value data 1

 

 

PropertiesHive HKEY_LOCAL_MACHINE

Key path SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0004

Value name PnPCapabilities

Value type REG_DWORD

Value data 0x20 (32)

 

 

PropertiesHive HKEY_LOCAL_MACHINE

Key path SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0007

Value name PnPCapabilities

Value type REG_DWORD

Value data 0x20 (32)

 

 

$SiteServer = ''

$SiteCode = '

$CollectionName = ''

 

 

Remove-Item e:\wol\$CollectionName.txt

 

 

$Collections = Get-WmiObject -ComputerName $SiteServer -Namespace "ROOT\SMS\site_$SiteCode" -Class SMS_Collection | where {$_.Name -like "$CollectionName"}

 

 

foreach ($Collection in $Collections){

$SMSClients = Get-WmiObject -ComputerName $SiteServer -Namespace "ROOT\SMS\site_$SiteCode" -Query "SELECT * FROM SMS_FullCollectionMembership WHERE CollectionID='$($Collection.CollectionID)' order by name" | select *

foreach ($SMSClient in $SMSClients){

$ClientName = $SMSClient.Name

$ClientMAC = (Get-WmiObject -Class SMS_R_SYSTEM -ComputerName $SiteServer -Namespace root\sms\site_$SiteCode | where {$_.Name -eq "$ClientName"}).MACAddresses

$ClientMAC| out-file -append "e:\wol\$CollectionName.txt"

}

}

 

 

$maclist1to10 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (0..9)

$maclist10to20 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (10..20)

$maclist21to31 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (21..31)

$maclist32to42 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (32..42)

$maclist43to53 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (43..53)

$maclist54to64 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (54..64)

$maclist65to75 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (65..75)

$maclist76to86 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (76..86)

$maclist87to98 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (87..98)

$maclist99to109 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (99..109)

$maclist110to120 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (110..120)

$maclist121to131 = (Get-Content "e:\wol\$collectionname.txt") | Select-Object -Index (121..131)

 

 

foreach ($_ in $maclist1to10)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist10to20)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist21to31)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist32to42)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist43to53)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist54to64)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist65to75)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist76to86)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist87to98)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist99to109)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist110to120)

{e:\wol\mc-wol.exe $_}

 

 

Start-Sleep -s 20

 

 

foreach ($_ in $maclist121to131)

{e:\wol\mc-wol.exe $_}

  • Thanks 1
Posted
I think you need to get your own set of keys, it's ridiculous trying to do maintenance without access to the rooms with the kit in.

 

Agreed - speak with your line manager and say it holds you up when needing to carry out maintenance. Do you have access to the site out of hours in case of issues? If so, definitely should get a master key. If your job is to ensure the network is always running and is closely monitored then you may need acces 24/7 in the event of an emergency. No good waiting for a caretaker say for example your server room air con failed over the weekend.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...