gpedit.msc could not create snap-in

When opening gpedit.msc you receive the following error: MMC could not create the snap-in. The snap-in might not have been installed correctly. Verify that "%SystemRoot%\System32\Wbem" is in the PATH environment variable. echo %PATH% Add if it is missing and rerun gpedit.msc…

CLI Quick Tip: Recursive File or Directory Permissions

Command to recursively change either file or directory permissions in Bash. Example of changing directory permissions to 755 sudo find . -type d -exec chmod 755 {} \; Example of changing file permissions to 666 sudo find . -type f -exec chmod 666 {} \; …

Bash 4 recursive globbing

Bash version 4 introduced a new option called globstar. When the option is set, recursive globbing with ** is enabled. Lets say you want to move all files from a directory and its subdirectories. Most common method would be to use the find command. For example, find and move all .mp3…

Solarized colors on Gnome Terminal

Solarized is a beautiful color palette. The palette was designed for readability and comes with both light and dark options. Solarized is a sixteen color palette (eight monotones, eight accent colors) designed for use with terminal and gui applications. It has several unique properties. I designed this color scheme with…

Citrix unable to connect to the CGP tunnel destination

Citrix users are receiving an error on login. The Citrix server is reporting a number of Event ID: 118 errors. Open the Terminal Services Manager and check for disconnected listeners. In my case the ICA Listener was down (disconnected). Resetting the listener resolved the issue.…

Windows 2008 access denied killing a process

There are multiple times where I have been unable to kill a process on Windows 2008 server. Generally the process is running as a domain account. Killing the process failed using an administrative prompt and/or the account the process was started with. The process is owned by the System…