<?xml version="1.0"?>
<rss version="2.0"><channel><title/><link>https://www.edugeek.net/blogs/blog/8-browolfs-blog/</link><description/><language>en</language><item><title>A script that finds accounts with no password allowed and changes the flag</title><link>https://www.edugeek.net/blogs/entry/1187-a-script-that-finds-accounts-with-no-password-allowed-and-changes-the-flag/</link><description><![CDATA[<pre class="ipsCode">

#Looks for user accounts with no password allowed and changes it

#timestamp function 
filter timestamp {"$(get-date -Format G): $_"} 
#get script name 
$scriptname = $MyInvocation.MyCommand.Name 
#output file 
$log = ".\$($scriptname).csv" 
#test for log file 
if (!(test-path $log)) { New-Item -Path $log | Out-Null} 
else { clear-content -path $log -Force } 
##================================================ 


get-aduser -filter * -properties * | select-object samaccountname,useraccountcontrol | ForEach-Object {    
   if ($_.useraccountcontrol -eq "544") {
       write-output "$($_.samaccountname) - $($_.useraccountcontrol)" 
       #Add-Content -path $log "$($_.samaccountname),$($_.useraccountcontrol)" 
       set-adaccountcontrol $_.samaccountname -PasswordNotRequired $false
   }
}

</pre><div></div><p></p>]]></description><guid isPermaLink="false">1187</guid><pubDate>Fri, 03 Dec 2021 15:19:50 +0000</pubDate></item><item><title>Msys2 certificate errors</title><link>https://www.edugeek.net/blogs/entry/1178-msys2-certificate-errors/</link><description><![CDATA[<p>If you get these types of error running pacman update</p><p> </p><p> </p><p>
</p><pre class="ipsCode">error: failed retrieving file 'mingw32.db' from repo.msys2.org : SSL certificate problem: self signed certificate in certificate chain</pre><div></div><p></p><p> </p><p>
one way to fix it is to replace ca-bundle.crt with the self-signed certificate.</p><p> </p><p>
This works for us going through netsweeper.</p>]]></description><guid isPermaLink="false">1178</guid><pubDate>Thu, 25 Mar 2021 09:56:34 +0000</pubDate></item><item><title>Msys2 certificate errors</title><link>https://www.edugeek.net/blogs/entry/1177-msys2-certificate-errors/</link><description><![CDATA[<p>If you get these types of error running pacman update</p><p> </p><p>
</p><pre class="ipsCode">error: failed retrieving file 'mingw32.db' from repo.msys2.org : SSL certificate problem: self signed certificate in certificate chain</pre><div></div><p></p><p> </p><p>
one way to fix it is to replace ca-bundle.crt with the self-signed certificate. </p><p> </p><p>
This works for us running through netsweeper.</p>]]></description><guid isPermaLink="false">1177</guid><pubDate>Thu, 25 Mar 2021 08:34:48 +0000</pubDate></item><item><title>When your teachers create their own class teams</title><link>https://www.edugeek.net/blogs/entry/1171-when-your-teachers-create-their-own-class-teams/</link><description><![CDATA[<p>How to add the pupils to existing empty teams with powershell</p><p> </p><p> </p><p> </p><p> </p><p>
req: a sims report with the columns classcode, admission number, admission number in the office field of 365 accounts, class code in the team name of the format #:classcode#</p><p> </p><p> </p><p>
</p><pre class="ipsCode">

#get useraccounts, drop in file
get-msoluser -all | where-object {$_.office} | Select-Object Userprincipalname,office | export-csv -path msoluser.csv -NoTypeInformation

#add useraccounts to lookup table
write-output "Adding pupils to lookup"
$xpupils = @{}
import-csv msoluser.csv | foreach {
   $xpupils.add($_.office,$_.userprincipalname)
   }

#fetch teams
write-output "Fetching teams"
$xteams = get-team | Select-Object groupid,displayname

#process teams
write-output "processing teams"
foreach ($xteam in $xteams)  
{

   $xgroupid = $xteam.groupid
   $xname = $xteam.displayname

   $xListofCodes = [regex]::match($xname,'#.*)#').Groups[1].Value

   if ($xListofCodes.length -gt 3){


       $xCodeArray = $xListofCodes -split ","
       Write-Output $xteam.groupid
       foreach ($xcode in $xCodeArray) {
               Write-Output $xcode
               #Write-Output $xcode    
               #make an array of admission numbers that are assigned to this code
               $xclassarray = @()    
               import-csv studentclasses.csv | foreach {
                   #check row classcode matches $xcode
                   if ($_.class -eq $xcode) {
                           #add to array
                           $xclassarray += $xpupils[$_.adno]
                           }

                   
                   



                    }
           #printarray
           foreach ($ad in $xclassarray) {
           
           
                   Write-Output $ad
                   
                   #add to team. 

                   Add-TeamUser -GroupID $xgroupid -user $ad
                   
                   }
           
           
           }
       
       
       
       }


}



</pre><div></div><p></p>]]></description><guid isPermaLink="false">1171</guid><pubDate>Thu, 08 Oct 2020 15:31:18 +0000</pubDate></item><item><title>Office 365 Powershell commands</title><link>https://www.edugeek.net/blogs/entry/1167-office-365-powershell-commands/</link><description><![CDATA[<p>Not being overly familiar with powershell I keep this list to remeber how to do stuff and help do new stuff. </p><p> </p><p>
I reproduce the list to help anyone else looking for the right command</p><p>
</p><p><span style="text-decoration:underline;"><strong>
Connect to Office365</strong></span></p><p> </p><p> </p><p>
</p><pre class="ipsCode">Connect-MsolService  </pre><div></div><p></p><p> </p><p> </p><p>
<span style="text-decoration:underline;"><strong>connect to exchange online</strong></span></p><p> </p><p> </p><p>
</p><pre class="ipsCode">$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri [url]https://outlook.office365.com/powershell-liveid/[/url] -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session -DisableNameChecking

**if you need to enable running scripts
set-executionpolicy remotesigned</pre><div></div><p></p><p> </p><p> </p><p> </p><p>
<strong><span style="text-decoration:underline;">Export staff emails from office365</span></strong></p><p> </p><p>
</p><pre class="ipsCode">
get-msoluser -all | where-object {$_.userprincipalname -like "*@domain*"} | select-object userprincipalname | export-csv -path "d:\staffemails.csv"
</pre><div></div><p></p><p> </p><p>
<strong><span style="text-decoration:underline;">Computers in AD and their last logon date</span></strong></p><p>
</p><pre class="ipsCode">
get-adcomputer -filter * -properties Name,LastLogonDate | sort LastLogonDate | FT Name,LastLogonDate -autosize | out-file "d:\allcomputers.txt"
</pre><div></div><p></p><p> </p><p>
<strong><span style="text-decoration:underline;">Printers (not sure what this for)</span></strong></p><p> </p><p> </p><p>
</p><pre class="ipsCode">get-wmiobject -class win32_printer -computername printserver -Filter "name='sci-colour'"</pre><div></div><p></p><p> </p><p> </p><p>
<strong><span style="text-decoration:underline;">Add staff to security group</span></strong></p><p> </p><p> </p><p>
</p><pre class="ipsCode">get-msoluser -all | where-object {$_.userprincipalname -like "*@domain*"} | export-csv -path "d:\staffemails.csv" 

$securitygroup = get-msolgroup | where-object {$_.displayname -eq "Encrypted_mail_users"}

import-csv d:\staffemails.csv | Foreach {add-msolgroupmember -groupobjectid $securitygroup.objectid -groupmembertype "User" -groupmemberobjectid $_.objectid}
</pre><div></div><p></p><p> </p><p>
<strong><span style="text-decoration:underline;">add staff to mail enabled group using exchange online</span></strong></p><p> </p><p>
make csv with msol. </p><p> </p><p>
</p><pre class="ipsCode">$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri [url]https://outlook.office365.com/powershell-liveid/[/url] -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session -DisableNameChecking

import-csv "d:\staffemails.csv" | foreach {add-distributiongroupmember -identity "groupname" -member $_.userprincipalname}
</pre><div></div><p></p><p> </p><p>
<strong><span style="text-decoration:underline;">Remove a user or many users</span></strong></p><p> </p><p>
#userprincipalname is usually their email address. CSV needs userprincipalname as column name</p><p>
</p><pre class="ipsCode">import-csv d:\tobedeleted.csv | foreach {remove-msoluser -userprincipalname $_.userprincipalname -force}</pre><div></div><p></p><p> </p><p> </p><p>
<strong><span style="text-decoration:underline;">Assign license to many users</span></strong></p><p> </p><p>
Set usage location first</p><p>
</p><pre class="ipsCode">import-csv d:\2019emails.csv | foreach {set-msoluser -userprincipalname $_.userprincipalname -usagelocation GB}

import-csv d:\2019emails.csv | foreach {set-msoluserlicense -userprincipalname $_.userprincipalname -addlicenses &lt;tenantID&gt;:STANDARDWOFFPACK_IW_STUDENT}</pre><div></div><p></p><p> </p><p>
(it has an invalid error if the license is already assigned) </p><p> </p><p>
<strong><span style="text-decoration:underline;">Add office field(admission number) from AD to many users</span></strong></p><p> </p><p> </p><p>
the column headings in the csv can be referenced with $_.</p><p> </p><p>
</p><pre class="ipsCode">import-csv pupils.csv | foreach {set-msoluser -userprincipalname $_.emailaddress -office $_.officecolumn}</pre><div></div><p></p><p> </p><p> </p><p>
<strong><span style="text-decoration:underline;">Account SKU IDs for students</span></strong></p><p> </p><p>
</p><pre class="ipsCode">get-msolaccountsku</pre><div></div><p></p><p> </p><p>
AccountSkuId                        ActiveUnits WarningUnits ConsumedUnits</p><p>
------------                        ----------- ------------ -------------</p><p>
&lt;tenantID&gt;:STANDARDWOFFPACK_STUDENT    3000        0            893</p><p>
&lt;tenantID&gt;:STANDARDWOFFPACK_IW_STUDENT 1000000     0            661        (this one includes office apps) </p><p> </p><p>
&lt;tenantID&gt;:STANDARDWOFFPACK_IW_FACULTY    staff with office365 apps</p><p> </p><p>
</p><p><strong><span style="text-decoration:underline;">
Get a list of users' UPNs</span></strong></p><p> </p><p>
</p><pre class="ipsCode">get-msoluser -all | where-object {$_.userprincipalname -like "*domain*"} | select-object userprincipalname,displayname | export-csv -path "d:\allemail.csv"</pre><div></div><p></p><p> </p><p>
<strong><span style="text-decoration:underline;">get last useractivity time</span></strong></p><p> </p><p>
</p><pre class="ipsCode"> import-csv "D:\allemail.csv" | foreach {$UPN = $_.UserPrincipalName; get-mailboxstatistics -identity $UPN | select @{n='UserPrincipalName';e={$UPN}},displayname,lastuseractiontime}</pre><div></div><p></p><p> </p><p>
Need to do "Get a list of users' UPNs" above to get the UPNs </p><p> </p><p>
<strong><span style="text-decoration:underline;">Remove groups using exchange online</span></strong></p><p> </p><p> </p><p>
export groups from admin groups list</p><p> </p><p>
</p><pre class="ipsCode">import csv groups.csv | foreach {remove-unifiedgroup -identity $_.groupemail -confirm:$False}</pre><div></div><p></p><p> </p><p>
</p><p><strong><span style="text-decoration:underline;">
Set the name of ADusers the same as sims "preferred name"</span></strong></p><p> </p><p> </p><p>
</p><pre class="ipsCode">
import-csv .\update.csv | foreach {set-aduser -identity $_.UserName -givenname $_.Forename -surname $_.Surname -displayname $_.Fullname}

set-aduser $_.Username -passthru | rename-adobject -newname $_.Fullname</pre><div></div><p></p><p>
</p><p><strong><span style="text-decoration:underline;">
Change the name of  office365 accounts to match sims "preferred name"</span></strong></p><p> </p><p> </p><p>
</p><pre class="ipsCode">set-msoluser -UserPrincipalName [email]pupil@domain.sch.uk[/email] -FirstName "Fred" -Lastname "Bloggs" -DisplayName "Fred Bloggs"

Import-Csv .\update.csv | foreach {set-msoluser -UserPrincipalName $_.EMail -FirstName $_.Forename -Lastname $_.Surname -DisplayName $_.Fullname}</pre><div></div><p></p>]]></description><guid isPermaLink="false">1167</guid><pubDate>Sat, 27 Jun 2020 13:19:28 +0000</pubDate></item><item><title>Ninite with group policy</title><link>https://www.edugeek.net/blogs/entry/1158-ninite-with-group-policy/</link><description><![CDATA[<p><a href="https://brashear.me/blog/2015/01/23/deploy-application-updates-with-ninite-with-a-cache-on-your-lan/" rel="external nofollow">https://brashear.me/blog/2015/01/23/deploy-application-updates-with-ninite-with-a-cache-on-your-lan/</a></p><p> </p><p>
It's taken me 3 hours to figure out that the scheduled task command </p><p> </p><p>
</p><pre class="ipsCode">
powershell -ExecutionPolicy Bypass -file .....
</pre><div></div><p></p><p> </p><p>
No longer works as intended. Although it allows the powershell script and by extension ninite pro to run, something is getting blocked. </p><p>
If I run the ninite command on the command line it works fine.  If I run the powershell command on the command line, the script runs ninite runs but then it's unable to find the applications.</p><p> </p><p>
Edit: I've worked out that powershell doesn't like the brackets in the  line</p><p> </p><p>
</p><pre class="ipsCode">
Set-Variable APPS -option constant -value 'Chrome Flash "Flash (PPAPI)" "7-Zip" Irfanview "Notepad++" Audacity "Visual Studio Code" Blender Krita GIMP "Reader DC" "Paint.net" "Google Earth" Inkscape "Flash (IE)"'
</pre><div></div><p></p><p> </p><p>
I haven't worked out how to fix it yet.</p><p> </p><p>
Edit2: Made enquiries and the string is correct. Apparently it all goes wrong when powershell inserts the string in the execute command....</p><p> </p><p>
EDIT3: It works if you don't have a separate apps variable.  I guess I can manage without that. I was planning to rewrite the script to deliver different apps to different devices. It's going to be a less efficient script.</p>]]></description><guid isPermaLink="false">1158</guid><pubDate>Sat, 19 Oct 2019 16:20:13 +0000</pubDate></item><item><title>When virtualization does you over worse than the old system ever could</title><link>https://www.edugeek.net/blogs/entry/1139-when-virtualization-does-you-over-worse-than-the-old-system-ever-could/</link><description><![CDATA[<p>So it was always my impression that one of the benefits of virtualization was less disasters and easier recovery. And practically the only way to loose a virtual server would be either accidently broke windows or the SAN broke.  In any other circumstance the VM could be recovered from the SAN.  We have a backup NAS for the most important VMs as a means for fast recovery in case of accidental breakage. Important Vms like print server or Domain controller. Other things It wouldn't be disaster to have to reinstall windows. </p><p> </p><p>
In the previous non virtualized system we had 5 main servers, a san, and a bunch of other servers doing various jobs. If one of the 5 main servers went down we'd have to attach the volume on the san to one of the other servers and maybe remap a bunch of user areas. Any other server that broke would only affect its singular function. In the 7 year life of those 5 servers we never had a major outage. </p><p> </p><p>
In the new system we have 3 host servers running vmware off SD card and a 12TB san hosting all the data. On Thursday night one of the host servers crashed which put a 3rd of the VMs offline. Luckily it was mostly not any important ones.</p><p> </p><p>
After rebooting and a day of our support company trying to fix the situation we have 1 print server restored from backup, 6 other servers wiped out and a call in to vmware because VMX files have locks which refuse to delete making the vms unrecoverable!  </p><p> </p><p>
I really hope Vmware know what to do as otherwise we just lost 1/3 of the VMs...</p><p> </p><p>
Imaging server + all the images</p><p>
Proxy server for computer maintenance</p><p>
Antivirus sophos server</p><p>
Remote desktop server</p><p>
Lucid Server (learning support program)</p><p>
Dev server (all the install files, ISOs, login logs etc) </p><p> </p><p>
I'm shocked that something this bad could happen. Now the NAS is going to have to back up all the VMS just in case VMware kills them all, make sure the DCs are never on the same host, have a duplicate print server on a different host and consider having some functions running outside of the virtual system altogether.</p>]]></description><guid isPermaLink="false">1139</guid><pubDate>Sat, 26 Jan 2019 17:08:31 +0000</pubDate></item><item><title>Add members to an Office 365 distribution group with powershell.</title><link>https://www.edugeek.net/blogs/entry/1132-add-members-to-an-office-365-distribution-group-with-powershell/</link><description><![CDATA[<p>There's 2 ways to connect to office365 through powershell.</p><p> </p><p>
MSOL</p><p>
Exchange online. </p><p> </p><p>
You can add members to a security group using MSOL but you have to use EOL for distribution groups or mail-enabled security groups. </p><p> </p><p>
At this juncture I only know how to get user data using msol. </p><p> </p><p>
(we use -like @ domain because pupils have a different subdomain)</p><p> </p><p> </p><p>
</p><pre class="ipsCode">
#connect MSOL
connect-msolservice

get-msoluser -all | where-object {$_.userprincipalname -like  "domain"} | export-csv -path "d:\staffemails.csv" 

#connect EOL
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri [url]https://outlook.office365.com/powershell-liveid/[/url] -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking

import-csv "d:\staffemails.csv" | foreach {add-distributiongroupmember -identity "groupname" -member $_.userprincipalname}
</pre><div></div><p></p>]]></description><guid isPermaLink="false">1132</guid><pubDate>Wed, 17 Oct 2018 14:01:59 +0000</pubDate></item><item><title>Cryptonight News</title><link>https://www.edugeek.net/blogs/entry/1119-cryptonight-news/</link><description><![CDATA[<p>Word is that Haven Protocol (XHV) is a decent CPU/GPU currency to mine at the moment.  Cryptoknight.cc reports it's profit as around $2.60 KH/$/Day but you have to remember Haven uses cryptonight-heavy which means 1KH is  2-3 times as much power as normal cryptonight coins e.g Monero. </p><p> </p><p>
Also worth a look is a Brazillian cryptonight coin called Niobio, although I haven't managed to find a remote daemon link for it as the wallet itself had a problem downloading the blockchain. But you can sell it on Tradeogre. </p><p> </p><p>
If you'd have sold stellite coins last week you would have made double what you could now. </p><p> </p><p>
Graft has forked to monero7 and the difficulty is way down at the moment so that's worth mining and selling for a few days.</p><p> </p><p>
Since a bunch of cryptonight currencies forked to counteract asic mining, the asic owners are on the prowl for currencies that haven't forked yet. Currently they're on Electroneum whose hash rate has spiked to 750MH.</p><p> </p><p>
An attacker on the intensecoin network caused 8 days worth of blocks in a few hours. They're going to roll the block chain back when they're ready to hard fork. </p><p>
<a href="https://intensecoin.com/2018/04/16/imminent-hard-fork-and-network-attack/" rel="external nofollow">https://intensecoin.com/2018/04/16/imminent-hard-fork-and-network-attack/</a></p><p> </p><p>
is Turtlecoin dying as buy orders dry up?  Apparently that's what's been happening on tradeogre and tradesatoshi. But if  you believe cryptunit - Trtl is 4th worth $1.6 for 1000kh. Since Turtle runs cryptonight-light  that's easily obtainable on as low as a GTX1060. Probably cryptunit.com doesn't bear in mind whether you can actually sell it or not. Turtle is so low in value it can't get cheaper.  There's plenty of developers hard at work developing stuff but no sign of industrial interest. So I'm not sure where it's going to go. Don't go mad mining it. </p><p> </p><p>
Finally ultranote was last on cryptunit.com and has shot up to the middle of the table and it's price on tradeogre is  up nearly 40%.  40% of nearly nothing is still nearly nothing. But it's worth 40 times turtle but you only get 150 XUN per block whereas turtle give ~29000 coins per  block. </p><p>
The difficulty has doubled in the last 2 days but the network hashrate is under 2MH - so i'm not sure what's happening with that.</p>]]></description><guid isPermaLink="false">1119</guid><pubDate>Wed, 18 Apr 2018 15:03:42 +0000</pubDate></item><item><title>Selling computing power.</title><link>https://www.edugeek.net/blogs/entry/1116-selling-computing-power/</link><description><![CDATA[<p>What I need is a company that comes to school and says. </p><p> </p><p>
<em>We want to rent  some of your computing power to do "work", you'll get a percentage of the value of the "work". Due to the market the value of the "work" changes  but you'll always get more than you would spend in electricity.  All you have to do is install our client on  your computers. We'll send you a monthly report of how much "work" your  computers performed,  the cost of the electricity and how much we'll pay you for the work.  It's the same as having solar panels - how much electricity you make and sell back to the electric co depends on sunny days. - In our case how much you make depends on how much your computers are turned on/logged in </em></p><p> </p><p>
Any companies like that around?</p>]]></description><guid isPermaLink="false">1116</guid><pubDate>Tue, 06 Mar 2018 12:02:41 +0000</pubDate></item><item><title>Avoid these</title><link>https://www.edugeek.net/blogs/entry/1114-avoid-these/</link><description><![CDATA[<p>If you get any emails like this, sent to our general school email, </p><p>
delete them because Narconon is a subsidiary of the church of Scientology and you don't want to get involved with those charlatans. </p><p> </p><p>
info: <a href="https://tonyortega.org/2016/10/09/exclusive-recent-deaths-of-scientology-rehab-staffers-points-to-ongoing-problem/" rel="external nofollow">https://tonyortega.org/2016/10/09/exclusive-recent-deaths-of-scientology-rehab-staffers-points-to-ongoing-problem/</a></p><p> </p><p>
[ATTACH=CONFIG]47290[/ATTACH]</p>]]></description><guid isPermaLink="false">1114</guid><pubDate>Wed, 24 Jan 2018 12:51:43 +0000</pubDate></item><item><title>Here's  a strange thing</title><link>https://www.edugeek.net/blogs/entry/1105-heres-a-strange-thing/</link><description><![CDATA[<p>My email is <a href="mailto:" rel="">something.somethingelse@gmail.com</a> </p><p> </p><p>
Occasionally I get mail addressed to <a href="mailto:" rel="">somethingsomethingelse@gmail.com</a></p><p>
i.e. no dot</p><p> </p><p>
As it happens, gmail accounts with dots in also have an alias of no dot.  So <a href="mailto:" rel="">somethingsomethingelse@gmail.com</a>  is a legit alias of my email. </p><p> </p><p>
So the strange thing is the mail i get to the alias is someone else's mail. </p><p> </p><p>
My email is def not compromised and I have 2 factor authentication. </p><p> </p><p>
The mails I get are typically signup mails where the signup mail is for verification and not required to log in so I request a password change on the account and then go through the account delete process. </p><p> </p><p>
Recently I've seen a dubious looking twitter account which had the language set to thai and a pornhub signup!</p><p>
I get spotify promo emails in thai too. </p><p> </p><p>
It's hard to imagine someone has a similar prefix to mine and types it in wrong.</p>]]></description><guid isPermaLink="false">1105</guid><pubDate>Sat, 21 Oct 2017 23:22:38 +0000</pubDate></item><item><title>PC Build July 2017</title><link>https://www.edugeek.net/blogs/entry/1101-pc-build-july-2017/</link><description><![CDATA[<p>Every month I ponder whether I should make myself a new computer; since I've had this one for 5 years.  I think I can put it off till Fallout 5 is released.  The last time I  replaced my PC it was so that Final Fantasy xiv would work.  </p><p>
I still plan what I would buy if I were to do it.  </p><p>
My Budget is usually around £800 but I got some extra in lieu from a long service award.  My ideal pc has decent quality components, best performance, quiet as possible.</p><p>
Also I'm "attached" to certain brands. It pains me that it's hard to get hold of HIS graphics cards at the moment. </p><p> </p><p>
This is what I propose for July:  (£902) </p><p> </p><p>
[ATTACH=CONFIG]44430[/ATTACH]</p>]]></description><guid isPermaLink="false">1101</guid><pubDate>Mon, 10 Jul 2017 12:54:26 +0000</pubDate></item><item><title>PC Build July 2017</title><link>https://www.edugeek.net/blogs/entry/1100-pc-build-july-2017/</link><description><![CDATA[<p>Every month I ponder whether I should make myself a new computer; since I've had this one for 5 years.  I think I can put it off till Fallout 5 is released.  The last time I  replaced my PC it was so that Final Fantasy xiv would work.  </p><p>
I still plan what I would buy if I were to do it.  </p><p>
My Budget is usually around £800 but I got some extra in lieu from a long service award.  My ideal pc has decent quality components, best performance, quiet as possible.</p><p>
Also I'm "attached" to certain brands. It pains me that it's hard to get hold of HIS graphics cards at the moment. </p><p> </p><p>
This is what I propose for July :</p>]]></description><guid isPermaLink="false">1100</guid><pubDate>Mon, 10 Jul 2017 12:42:48 +0000</pubDate></item><item><title>Win 10 Office 2013/2016</title><link>https://www.edugeek.net/blogs/entry/1096-win-10-office-20132016/</link><description><![CDATA[<p>I just discovered you can't install Office 2013 or 2016 32bit on Win 10 version 1703 64bit.  I suppose it makes sense to keep all the bits the same.  Still it would have been better if there was an actual error message rather than the installer just exiting. </p><p> </p><p>
the main error seems to be related to ExcelMUI.MSI. </p><p> </p><p> </p><p>
Of course the 64bit version of either works just fine...</p>]]></description><guid isPermaLink="false">1096</guid><pubDate>Mon, 22 May 2017 11:53:23 +0000</pubDate></item><item><title>Script for auto changing control assessment passwords</title><link>https://www.edugeek.net/blogs/entry/1079-script-for-auto-changing-control-assessment-passwords/</link><description><![CDATA[<p>Barely anyone outside these circles can  understand the frustration one has from windows when</p><p> </p><p>
Spent 5 hours writing the perfect script for changing the control assessment passwords. </p><p>
It </p><p>
chooses a random word out of 1600</p><p>
changes the passwords using dsmod</p><p>
writes them to files on the staff drive</p><p>
emails them to relevant teachers using blat. </p><p> </p><p>
It took 5 hours because I don't code in vbscript often so practically every line had errors. Only 34 lines... Also originally I was going to have the vbs get the word and then feed it into a batch file to do the rest but later i realised I could do the whole lot in vbs using object.run. </p><p> </p><p>
2 hours later, today.....<strong>I can not </strong>make it work in a scheduled task and it doesn't tell me why it doesn't work. </p><p> </p><p>
I've tried using cscript in the scheduled task and a batch file that works from the command line.</p><p> </p><p>
<strong>Update</strong></p><p> </p><p> </p><p>
I found out how to get a log file from a scheduled batch file from here: <a href="http://blog.functionalfun.net/2010/07/debugging-windows-batch-files-when-used.html" rel="external nofollow">Functional Fun: Debugging Windows batch files when used as scheduled tasks</a></p><p> </p><p>
Turns the out the problem all along that I hadn't noticed is where it initialises the text files it refers to them by drive letter which doesn't exist in the environment the scheduled task runs in. </p><p> </p><p>
Here is the script:</p><p> </p><p>
</p><pre class="ipsCode">

Const ForReading = 1, ForWriting = 2


Set objFSO = CreateObject("Scripting.FileSystemObject") 
Set objTextFile = objFSO.OpenTextFile("wordlist.csv", ForReading) 


thefile=objtextfile.readall
myArray = Split(theFile,vbcrlf)
objtextfile.close



function getword()
Dim max,min
max=1162
min=1
Randomize
getnumber=Int((max-min+1)*Rnd+min)
getword=myarray(getnumber)
wscript.echo(getword)
end function


Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
Set f = objFSO.OpenTextFile("\\server\staffdrive\controlassessi.txt", ForWriting, True)
Set g = objFSO.OpenTextFile("\\server\staffdrive\controlassess.txt", ForWriting, True)

'controlassessi password change
tempword=getword() 
f.writeline(tempword)
objShell.Run  ("c:\windows\system32\dsmod.exe user " &amp; Chr(34) &amp; "cn=controlled assessmenti,ou=pupils,dc=domain" &amp; Chr(34) &amp; " -pwd " &amp; tempword), false
objShell.Run ("blat - -body " &amp; chr(34) &amp; "new controlassessi password is " &amp; tempword &amp; chr(34) &amp;  " -to browolf@domain -server server -f academic\administrator -subject " &amp; chr(34) &amp; "new controlassessi password" &amp; chr(34)),false


'controlassess no internet password change
tempword=getword()
g.writeline(tempword)
objShell.Run  ("c:\windows\system32\dsmod user " &amp; Chr(34) &amp; "cn=controlled assessments,ou=internetban,ou=pupils,dc=domain" &amp; Chr(34) &amp; " -pwd " &amp; tempword),false
objShell.run ("blat - -body " &amp; chr(34) &amp; "new controlassess password is " &amp; tempword &amp; chr(34) &amp; " -to browolf@domain -server server -f academic\administrator -subject " &amp; chr(34) &amp; "new controlassess password" &amp; chr(34)), false


f.close
g.close



</pre><div></div><p></p>]]></description><guid isPermaLink="false">1079</guid><pubDate>Fri, 09 Dec 2016 10:40:57 +0000</pubDate></item><item><title>Looking for more money?</title><link>https://www.edugeek.net/blogs/entry/1062-looking-for-more-money/</link><description><![CDATA[<p>If you 're thinking you could do with more income, might I suggest taking up "Dropshipping".  It's a method of selling online whereby one holds no stock. Ebay call it "Product sourcing" and describe it thus: "Sellers using a product sourcing service never handle the item—instead it is sent directly from a warehouse to the buyer."   The "warehouse" is usually an online wholesaler or other retailer.</p><p> </p><p>
The good thing about Dropshipping is that it takes little to no money getting stated, and later when you need to start paying for things, your profits cover it. </p><p> </p><p>
My partner has done it for 18 months and is now making £700-£900 a month profit. </p><p>
I know a UK Amazon dropshipper who has 2000 items and makes £40k a year and has outsourced most of the work to the Philippines! </p><p>
I can show you an ebay seller who is dropshipping, has 5000 items, sells ~50 a day and is probably making £300-500 a day!  </p><p> </p><p>
There's tonnes of videos about it on you tube including a company called DS Domination.  DSD is an American company that teaches Dropshipping and has a lucrative affiliate scheme. </p><p>
What you can learn is useful, the basics and their facebook group is worth reading  but don't fall for the idea of needing to upgrade,  joining infinii or using their built in tracking. Just pay for a month or 2 then leave. </p><p> </p><p>
If you're interested PM me and I'll point you in the right direction.</p>]]></description><guid isPermaLink="false">1062</guid><pubDate>Wed, 25 May 2016 11:44:44 +0000</pubDate></item><item><title>Seasonal computer error.</title><link>https://www.edugeek.net/blogs/entry/1042-seasonal-computer-error/</link><description><![CDATA[<p>My home computer, which is 3-4 years old, every year has a weird error between the months of November and May. </p><p> </p><p>
It stalls on boot with CPU Fan error. Wait 30-60 seconds, reboot, and it works. Today it started happening again. </p><p> </p><p>
I know that the cpu fan is powered on an auxiliary fan power point and not the labelled cpu fan point. It didn't seem to be a problem when I first built the computer (probably because it wasn't between Nov and May at the time)</p><p> </p><p>
It has been suggested that it's a temperature thing with the board and ambient room temperature. </p><p> </p><p>
In any event I'm reluctant to mess with the insides of the computer and it's not a big problem. </p><p> </p><p>
Still, must be a contender for the weirdest computer error ever :-)</p>]]></description><guid isPermaLink="false">1042</guid><pubDate>Mon, 16 Nov 2015 16:46:29 +0000</pubDate></item><item><title>Outlook 2016</title><link>https://www.edugeek.net/blogs/entry/1038-outlook-2016/</link><description><![CDATA[<p>I fully expected outlook 2016 to automatically pick up my office 365 group memberships. </p><p> </p><p>
But it doesn't.</p><p> </p><p>
It finds the ITSupport group in "search people". I subscribed even though I'm a member.</p><p> </p><p>
Still nothing in groups section under mailbox :-(</p><p> </p><p>
this is a disaster as I told the deputy head that outlook 2016 would solve all our groups problems. The main one being people want to stay in OWA where the groups are, and not use outlook 2013. </p><p> </p><p>
It's not going to go down well if I have to tell them they need to remake all their groups in outlook 2016...</p><p> </p><p>
For the time being I'll just keep quiet about office 2016. Maybe it'll magically start working at a later date.</p>]]></description><guid isPermaLink="false">1038</guid><pubDate>Thu, 08 Oct 2015 11:18:12 +0000</pubDate></item><item><title>Interesting Videos #2 The Establishment and how they get away with it</title><link>https://www.edugeek.net/blogs/entry/1025-interesting-videos-2-the-establishment-and-how-they-get-away-with-it/</link><description><![CDATA[<p>Owen Jones looks very young; but he has a lot of clever things to say; that make sense. I always did wonder how politicians and big business get away with so much.  Here's some answers: </p><p> </p><p>

</p><div class="ipsEmbeddedVideo" contenteditable="false"><div><iframe width="200" height="113" frameborder="0" allowfullscreen="" title="The Establishment and how they get away with it" data-embed-src="https://www.youtube-nocookie.com/embed/Mb55teXcR90?feature=oembed"></iframe></div></div><p> </p><p>
This talk is based on a book of the same name.  Apparently he's on TV a lot, political debates and the like.</p>]]></description><guid isPermaLink="false">1025</guid><pubDate>Tue, 19 May 2015 22:18:16 +0000</pubDate></item><item><title>Interesting Videos #1 Published on Apr 30, 2015</title><link>https://www.edugeek.net/blogs/entry/1024-interesting-videos-1-published-on-apr-30-2015/</link><description><![CDATA[<p>Jon Ronson, author of books like "the men who stare at goats" and "the psychopath test"  talks about his new book "So you've been publicly shamed". </p><p>
It's about the stories of the people who have been massively publicly shamed online. </p><p> </p><p>
Jon Ronson has a lot of stories... and a wonderful way of describing them and events that have occurred to him or people he met. Funnily enough I've never read his books but I like listening to him talk about stuff. </p><p> </p><p>

</p><div class="ipsEmbeddedVideo" contenteditable="false"><div><iframe width="200" height="113" frameborder="0" allowfullscreen="" title="Jon Ronson: on writing, radio and shame" data-embed-src="https://www.youtube-nocookie.com/embed/LzZfNcHCecU?feature=oembed"></iframe></div></div><p> </p><p> </p><p>
If you like that; definitely check out this playlist of recordings from a radio show called "Jon Ronson on..... Stories on a variety of subjects. </p><p>

</p><div class="ipsEmbeddedVideo" contenteditable="false"><div><iframe width="200" height="150" frameborder="0" allowfullscreen="" data-embed-src="https://www.youtube-nocookie.com/embed/cE9yvPWC5j8?list=PLBCE1A94B159C1E8C"></iframe></div></div><p> </p><p>
There's one about the time, every night when he went out to call his cat (Monty) in, he hears someone, an unknown neighbour,  mimicking his voice!</p>]]></description><guid isPermaLink="false">1024</guid><pubDate>Mon, 18 May 2015 11:17:47 +0000</pubDate></item><item><title>My New Favorite Album</title><link>https://www.edugeek.net/blogs/entry/1022-my-new-favorite-album/</link><description><![CDATA[<p>is actually 2 albums. They are "Hybrid" and "Mechanics of Emotion" by Elsiane. </p><p> </p><p>
If you like Zero 7 or perhaps björk, I think you'd like this too.</p><p> </p><p>
The singer, a peruvian woman has an incredible voice that it's hard to believe isn't being post-produced in some way.  This video from a russian radio station illustrates its live quality (they didn't believe it either)</p><p> </p><p>

</p><div class="ipsEmbeddedVideo" contenteditable="false"><div><iframe width="200" height="113" frameborder="0" allowfullscreen="" title="Группа «Elsiane» - «Mend (To Fix, To Repair)»" data-embed-src="https://www.youtube-nocookie.com/embed/kDh0NKwWwfA?feature=oembed"></iframe></div></div><p> </p><p>
this is the produced version is at 
</p><div class="ipsEmbeddedVideo" contenteditable="false"><div><iframe width="200" height="150" frameborder="0" allowfullscreen="" title="Elsiane - Mend (To Fix, To Repair)" data-embed-src="https://www.youtube-nocookie.com/embed/4m70sdq1Rnk?feature=oembed"></iframe></div></div>]]></description><guid isPermaLink="false">1022</guid><pubDate>Mon, 18 May 2015 10:57:39 +0000</pubDate></item><item><title><![CDATA[It's not &quot;Gambling&quot; if you can't loose!]]></title><link>https://www.edugeek.net/blogs/entry/1017-its-not-quotgamblingquot-if-you-cant-loose/</link><description><![CDATA[<p>Hit on this through a friend and made £100 in a month. That was being cautious with it and only doing 1 bet at a time. </p><p> </p><p>
It's called <a href="http://www.profitaccumulator.co.uk/idevaffiliate/idevaffiliate.php?id=426" rel="external nofollow">Profit Accumulator</a>, which is a sytem for doing "Matched betting". From what I can see, matched betting has been around for years, but not as simple as this. </p><p> </p><p>
It takes a while to get your head around how it works. </p><p> </p><p>
Makes money from bookies's free bets. Converts about ~75% of the free bet into money in your pocket.</p><p> </p><p>
Using tools on the <a href="http://www.profitaccumulator.co.uk/idevaffiliate/idevaffiliate.php?id=426" rel="external nofollow">Profit Accumulator</a> website,  you place an initial bet with minimal losses. then use freebie bet with a massive advantage. </p><p> </p><p>
The advantage comes because half the bet is free and you bet for and against.  It depends on close odds. The site lists the best for vs against odds. Betting against is effectively acting as the bookie vs some other punter's bet. </p><p> </p><p>
Say you have a £20 free bet and you see England to win at odds of 18 (sounds about right!) and loose(not win) at 17.5</p><p>
Use the tools on the site to figure you need to bet 19.48 against.  The calculation takes into account stake not returned and the against bet comission. </p><p> </p><p>
If england win, overall you gain £18.58</p><p>
If endland loose/draw (not win), overall you gain £18.51</p><p> </p><p>
Really the only traumatic bits are the liability of the against bet and knowing if you make a mistake...</p><p>
Because you're the bookie you might have to pay out for someone elses win....  but the amount you pay out is always less than what you win on the other end. </p><p> </p><p>
You need a bit of money to start with.  The best bit is you can join for free and get instructions on 2 free bets that you're guaranteed to make money on. I made about £30. </p><p> </p><p>
there's some videos on the <a href="http://www.profitaccumulator.co.uk/idevaffiliate/idevaffiliate.php?id=426" rel="external nofollow">Profit Accumulator</a> website which probably explain it better than i can.</p><p> </p><p>
With a premium account you also get added to a very busy facebook group which constantly has new bet opportunities and much discussion about existing ones.</p>]]></description><guid isPermaLink="false">1017</guid><pubDate>Mon, 20 Apr 2015 14:16:09 +0000</pubDate></item><item><title>Debian install CDs</title><link>https://www.edugeek.net/blogs/entry/1005-debian-install-cds/</link><description><![CDATA[<p>For the first time I've had to install debian from the DVDs. Usually I use the minimal ISO and update from the internet. </p><p> </p><p>
I need a machine to install FreeRadius on. Using debian on a hyper-V virtual machine on win 2008r2. It installed Really fast <img alt=":D" data-src="https://www.edugeek.net/uploads/emoticons/biggrin.png.4a4edb970cebba43a9a2d9de292c6dce.png" src="https://www.edugeek.net/applications/core/interface/js/spacer.png" /> </p><p> </p><p>
So what's a  mystery is after switching the sources from DVD to the internet ones in sources.list, only 3 mentions of radius can be found. Unlike the 63! in the wheezy repository site. </p><p> </p><p>
I've done apt-get update and even apt-get upgrade (which did upgrade files from the internet) but still can't find freeradius. </p><p> </p><p>
Anyone know why I can't apt-get install freeradius  ?</p>]]></description><guid isPermaLink="false">1005</guid><pubDate>Thu, 09 Oct 2014 14:51:37 +0000</pubDate></item><item><title>Friday's weird events</title><link>https://www.edugeek.net/blogs/entry/964-fridays-weird-events/</link><description><![CDATA[<p>This is strange. </p><p> </p><p>
Set up 2 dhcp boxes on the guest wireless to replace proxies. Proxies no longer needed, only dhcp to hand out county addresses. </p><p> </p><p>
First one works fine. Its a debian base install with only isc-dhcp-server, dnstools, ntfs-3g, dhcpstatus &amp; ssh. It's super quick on a dual core HP workstation!</p><p> </p><p>
the second one is a failover handing out the 2nd half of our allocated range. I was writing the documentation whilst I did that one. Sort of a record of how to set another up if something happened to me. </p><p> </p><p>
for some reason I can't fathom, dns lookups have stopped working on the 2nd one. I can ping the router, the 1st server, but not the upstream dns, which also i means I can't install ssh as now the repository won't resolve.  <img alt=":doh:" data-src="https://www.edugeek.net/uploads/emoticons/doh.gif.b926264d73432dab1308c07b38b7356a.gif" src="https://www.edugeek.net/applications/core/interface/js/spacer.png" /></p><p> </p><p>
It was working before as I managed to install everything upto and including ntfs-3g from the internet and dhcpstatus copied off usb. Configured dhcpd.conf, interfaces and dhcpstatus. Been scratching my head for an hour at least. </p><p> </p><p>
wait i just had an idea. </p><p> </p><p>
{thoughts about default gateways and routes}</p><p> </p><p>
Oh my god I put gatway in the interfaces file <img alt=":doh:" data-src="https://www.edugeek.net/uploads/emoticons/doh.gif.b926264d73432dab1308c07b38b7356a.gif" src="https://www.edugeek.net/applications/core/interface/js/spacer.png" /></p><p>
I looked at that like 3 times and didn't notice....</p><p> </p><p>
It's a miracle more things haven't "gone wrong", the number of times having to unjam printers, replace cables and the such in classrooms whilst I been doing this!</p>]]></description><guid isPermaLink="false">964</guid><pubDate>Fri, 21 Mar 2014 15:06:45 +0000</pubDate></item></channel></rss>
