Windows automatically hides devices that are not presently connected to the system, but they still exist in Windows’ configuration. This is especially problematic when changing virtual network adapters and not being able to remove IP configurations from old adapters. To resolve: Click Start, click Run, type cmd.exe, and then press ENTER. Type “set devmgr_show_nonpresent_devices=1“, and…
Quick and Simple Way to Export DHCP Scope Settings From One Server to Another
Applies to: Windows Server 2008 R2, Windows Server 2012R2, Windows Server 2016 From the command prompt on the source DHCP server run the following command:
1 |
netsh dhcp server export c:\dhcp.dat all |
2. Copy the “dhcp.dat†file to the new, or destination, DHCP server and run the following command:
1 |
netsh dhcp server import c:\dhcp.dat all |
While running the export command, the DHCP service will be temporarily…
“Host SMBus controller not enabled!â€
CentOSÂ guest instances in VMware sometimes come up with the boot error message:
1 |
piix4_smbus 0000:00:007.3: Host SMBus controller not enabled! |
This error is being caused because VMware doesn’t actually provide that level interface for CPU access, but Ubuntu try to load the kernel module anyway. How to fix it:
1 |
sudo nano /etc/modprobe.d/blacklist.conf |
add the line:
1 |
blacklist i2c-piix4 |
Reboot. NOTE: for older versions use blacklist i2c_piix4…
Find out mapped network drive logins
If you have shared drives in a multi-domain environment and need to know what each drive was logged on as, this is the command to find out:
1 |
WMIC NETUSE GET Name,UserName |
or
1 |
WMIC NETUSE LIST /FORMAT:LIST |
or Another way to see this is to look on the machine that is hosting the shares. Look in Computer Management -> Shared Files ->…
Remove group membership of disabled accounts
Majority of the system administrators I’ve met forget this very important rule. When an account is not needed remove its membership from the security/ distribution groups, otherwise you get disabled account showing up in groups, and that looks ugly. You will need Quest ActiveRoles for Powershell installed to get this working. Depending on the size…
ManageEngine ADSelfService Plus – How to apply a wildcard cert ?
ADSelfService Plus by ManageEngine is a great tool. The instructions provided to configure SSL did not work for me, but I was able to figure it out doing the following: You need a PFX File: Wild Card Cert for *.yourdomain.com (Yourdomain-WildCard.pfx) – This can be generated/ exported by IIS if you have a wildcard cert. STEPS…
Deleting Thumbs.db & Desktop.ini files and How to prevent them
Removing thumbs.db file from explorer might take time. So you may also try the command interface. Press Windows Key + R for Run window, type cmd for opening command prompt del /s /ah thumbs.db This command will quickly remove thumbs.db files from your computer. How to prevent thumbs.db file from getting recreated? The above method…
How to Start and Enable Firewalld on CentOS 7
It is highly recommended that you have a firewall protecting your server. Pre-Flight Check These instructions are intended specifically for enabling and starting firewalld CentOS 7. I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root. Check the Status of Firewalld To check the status of…
How to check status, stop, and disable firewall on CentOS 7
Firewalld is a complete firewall solution that has been made available by default on all CentOS 7 servers, including Liquid Web Core Managed CentOS 7, and Liquid Web Self Managed CentOS 7. On occasion, perhaps for testing, disabling or stopping firewalld may be necessary. Follow the instructions below to disable firewalld and stop firewalld. It…
Find files hiding in a lot of sub directories
So I was moving a lot of my music to Amazon Cloud Drive, and ended with a lot of files still showing under a lot of sub directories. Problem was – how do I know which files are in what sub directory with out going into each of them. Here is the answer:
1 |
K:\Music\dir /b /s /A-D /o:gn>list.txt |
This…