Relative Content


Office 365 activation issue

run cmd as admin cd C:\program files\Microsoft office\office16 (or program files (x86), whatever’s relevant) type in: cscript ospp.vbs /dstatus this generates a list of all the license keys install on your pc. You want to look at the last line of each paragraph: “Last 5 characters of installed product key: *“ type in: cscript ospp.vbs […]

Convert AD synced office 365, to cloud only

install “Microsoft Online Services Sign in Assistant for IT Professionals” Open Powershell (Admin) Enter the following commands… Install-Module MSOnline Install-Module AzureAD Import-Module AzureAD Connect-MsolService Get-msoluser (to test connection. Should list users) NOTE:- Disable the Microsoft ADSync service!! Enter the following commands… Set-MsolDirSyncEnabled –EnableDirSync $false get-msolcompanyinformation (to check if the sync is really gone ,it will […]

Match a New AD user to an existing 365 user

To match a new AD user to an existing 365 user. match UPN and smtp Alias 2 install “Microsoft Online Services Sign in Assistant for IT Professionals 3 Open Powershell (Admin): Install-Module -Name AzureAD 4 connect to AD: Connect-MsolService 5 Return the immutable ID: Get-MsolUser -UserPrincipalName | select ImmutableID ::(should look like this qxZB3Nrxi0+OQHswuBLgrg==) […]

Windows 10 update loop

In an elevated CMD type Net stop bit Net stop wuauserv Net stop cryptsvc Rename systemroot\softwaredistribution to softwaredistribution.old And systemroot\system32\catroot2 to catroot2.old Then Net start bit Net start wuauserv Net start cryptsvc And restart pc

Exporting Mikrotik Firewall Rules

In a terminal windows or via ssh, enter the below line ip firewall export file=firewallrules then find a file called “firewallrules.rsc” in your files folder.

Migrate Windows DHCP server

A few weeks ago at work, I was tasked with the project of decommissioning one of our older Windows Server 2008 machines and upgrading it to Windows 2012. I was initially a little worried, seeing as this server ran a lot of key roles, such as DHCP, DNS, was a Domain Controller, and also acted […]

Mikrotik VPN place rule before dummy rule

/ip firewall filter add chain=forward dst-address=”remoterange” src-address=”localrange” place-before=0 /ip firewall filter add chain=forward dst-address=”localrange” src-address=”remoterange” place-before=0