Relative Content

Technical

Send Mikrotik config via email

This script will export the config from your mikrotik router and email it to your email address. The scheduled time between exports and email sending can be decided by you. The exported file will take the name of your system identity ending in the extension .rsc /export file=”$[/system identity get name]” /tool e-mail send to=”router_configs@youremailaddress.com” […]

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.

Server 2008 R2 BSOD after Bare Metal Restore

After completing the BMR process don’t restart. Select Command Prompt. regedt32<CR> Highlight HKEY_LOCAL_MACHINE, File>Load Hive>[restored volume]:\Windows\System32\Config\SYSTEM>Open>Key Name = Restored_HKLM>OK. Expand Restored_HKLM\ControlSet001\services and ensure the following are set: If restored to a (VMWare) VM then ensure intelide>Start = 0 and LSI_SAS>Start = 0; msahci>Start = 3 and pciide>Start = 3 NB: I have only tested this […]

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 […]

Set AD Attributes

You can also view and set these values with PowerShell, provided you have the ActiveDirectory module installed. View: Get-ADUser <username> -Properties extensionattribute1 Set: Set-ADUser <username> -Add @{“extensionattribute1″=”Your Value Here”} Clear: Set-ADUser <username> -Clear extensionattribute1

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