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
Computing
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.
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 […]
/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
Add a new disk to the backup schedule by running the wbadmin command from an elevated command prompt. Run the following command from an elevated command prompt to determine the Disk Identifier of the new disk: wbadmin get disks Based on the output, locate the disk that will be added […]
In common situation, "system ip address" is the ETH0 address. So edit /etc/sysconfig/network-scripts/ifcfg-eth0 with your favourite text editor and run service network restart ps don't forget to change default gw also, it's located in /etc/sysconfig/network.
How to set the NTP client on a Mikrotik router using the Terminal /system ntp client set enabled=yes primary-ntp=###.###.###.### secondary-ntp=###.###.###.### Change the ### for IP address’s Once done use the below to check if the settings has been applied /system ntp client print Below are two IP addresess for NTP […]
This post shows how to find out what version of Centos you are running from the command line. tail /etc/redhat-release This will output the version in a simple format: Centos release 5.10 (Final)
This is the command to remove a folder/directory including its contents, use with caution as you wont get an “are you sure” prompt rm -rf example In the above example it would delete a folder/directory called example. Just change that to your folder/directory name. The below code will do the […]
If you have locked down the web management port to 1 IP address and you need to access it from a different IP you can telnet to the router and using the below commands remove the secured Ip address allowing access from the web gui from any IP. sys server […]
There seems to be a bug in the Draytek 2860 router, even though I had changed the management ports from the default 80 and 443 to 8080 and 8080. I was still unable to port forward any 443 traffic and would end up getting an 404 error page from the […]
This tcpdump command will grab the first 1024 bytes (vs. smaller 68 or so) and line buffer the output for all packets using port 80 (http) tcpdump -s 1024 -l -A port 80