Quantcast
Channel: Code – Dom's I.T. Humdrum
Browsing latest articles
Browse All 34 View Live

Enable ICMP (Ping) & WMI | CMD Line

Without enabling ICMP ping requests will not get a reply from the server. Enable ICMP using “netsh firewall” (Old Method): netsh firewall set icmpsetting 8 netsh firewall set icmpsetting 8 disable...

View Article



Disable Java Update | Windows

Quickest solution to stop this annoying update prompt is to use this regedit and which modifies the “Update” DWORD. This update prompt is even more annoying if the user does not have local...

View Article

Backup NTFS Permissions | iCACLS | SubINACL

iCACLS Backup NTFS permissions: Restore NTFS permissions: SubINACL Download here: SUBINACL  SUBINACL is not supported on WS2008R2/2012 but I’ve not heard any compatibility issues. Backup NTFS...

View Article

Windows Commands | Powershell

A few random PowerShell commands in Windows to help complete tasks: Create New AD User: Displays if “Desktop Experience” is installed: Installs “Desktop Experience” Feature: Remove Windows Patches...

View Article

DNS | Modify DNS entry CMD

Add/Remove a DNS record without the GUI Add Delete Reference: DNSCMD Examples

View Article


JumboFrames Test / Command Line

I usually configure JumboFrames on iSCSI devices. The quickest way to do this is with a direct Ethernet cable from iSCSI to Server (Configuring seperate LAN IPS for both devices) To test that...

View Article

iPhone Video Rename by Date/Time EXIF Values | Cheatsheet

I always like to copy the video’s off my iPhone onto my PC and then resync them back to the phone (selecting only the ones I want) unfortunately this process isn’t always straight forward when you also...

View Article

Obtaining local Passwords from Memory Dump

Outputting memory dump of Windows security sessions. (Obtaining passwords stored locally in cache). This can be run against a remote system to obtain password credential information. This requires...

View Article


Windows 7 | Delete Offline File Cache CSC Folder

After carrying out a domain migration on a PC the “offline files cache” still retains a local cache for the previous domain. Within “Offline Files” (Control Panel) there is an option to “Delete...

View Article


Windows Server Role via CLI | PowerShell

Windows Dedup CLI

View Article

Skype for Business 2016 | Enable “AppearOffline” mode

Skype for Business (Lync) 2016 does not enable the “Appear Offline” mode by default. A quick registry fix will update the options… Command Prompt (Run as Administrator)

View Article

Windows Server 2016 | Remove WSUS (Completely)

Trying to completely remove WSUS isn’t as straight forward as uninstalling the role. These steps are based on WSUS using the WID database (Not SQL) In Summary: Remove Windows Update Servers (WSUS) role...

View Article

SQL Firewall Rules | PowerShell

Add Windows Firewall exclusions for Microsoft SQL using PowerShell

View Article


VMware ESX 6.0 to 6.5 Upgrade | vSphere CLI commands

I’ve been working on a project to upgrade vCentre from 6.0 to 6.5. This meant that multiple Dell (R530, R630, R730) hosts required an update of ESX (using Update Manager). Unfortunately these upgrades...

View Article

Migrate Folder Shares | PowerShell

Basic objective, we’ve got a ton of shares which we need to move to a new server. The data has already been replicated but we need to re-share. There are methods of doing this by exporting the registry...

View Article


Remove “Windows.old” using Cleanmgr CLI | Windows 10

PowerShell Script for removing the “Windows.old” folder using cleanmgr.exe command line Great post on the syntax of “Cleanmgr.exe”...

View Article

Windows Dedup | Cheat Sheet

Get dedup status: Get dedup status formatted & additional info: Get dedup status for specified volumes: Show Dedup Metadata (How deduplication is being used) on the server: Show Dedup Metadata for...

View Article


Windows | DHCP PowerShell Options (Cheatsheet)

Managing DHCP on DHCP server: Managing DHCP on remote host: Powershell DHCP Module: Get all DHCP servers in AD Get DHCP scope configuration Get DHCP reservations on scope: Import/Export DHCP Scopes...

View Article

Windows | 3 Methods to “Unauthorised” DHCP server

There’s a couple of ways to “unauthorised” a DHCP server in Active Directory. Sometimes AD can get in a twist and says “the DHCP can’t be authorised” as it’s already been authorised. This could be...

View Article

Windows | Increase System Partition Size Remotely PS

After increasing a virtual machine VMDK size you need to also resize this partition in Windows. This can be completed remotely using PowerShell. There are various methods to run this but I prefer to...

View Article
Browsing latest articles
Browse All 34 View Live




Latest Images