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

Saving Windows Disk Space | Removing “Installer\$PatchCache$”

Running out of the diskspace on C:\ I found the C:\WINDOWS\Installer\$PatchCache$ to be massive! I used JamSoftware “treesize” to view what was taking up the space. From research this folder can be...

View Article



Delete folder/files | CL

Methods to delete files via command line: Normally I take ownership of the folder/files (takeown): takeown /f c:\folder\location /r /d y /r Performs a recursive operation on all files/folders. /d...

View Article

.PAC File Example

Basic PAC file configuration. The browser can be configured to point to this file (proxy.pac) in order to direct the browser traffic to the correct Gateway Proxy server. The path can be configured to...

View Article

Change/View/Edit Microsoft Office Product Key | CScript

View Office License/Product Key installed: Office 2010 (32-bit) on a 32-bit version of Windows: cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /dstatus Office 2010 (32-bit) on a 64-bit...

View Article

Outlook 2010 | Enable/Disable Cached Exchange Mode | Regedit

If “Cached Exchange Mode” in Outlook is grayed it can be switched on/off via regedit. To Enable OST files and switch cached exchange mode on: Windows Registry Editor Version 5.00...

View Article


Adding “Trusted Sites” to IE10 | Regedit | BAT | GPO

I’ve been looking for a simple method to add trusted sites into Internet Explorer 10 since they removed the “Internet Explorer Maintenance” (“The Internet Explorer Maintenance (IEM) snap-in is replaced...

View Article

AD Objects via CL | CSVDE | DSADD | LDIFDE

There are a couple of tools for creating objects in AD: CSVDE DSADD (Preferred due to ease but less options to CSVDE & LDIFDE) LDIFDE NET USER CSVDE: Export all users from specific OU: csvde -m -f...

View Article

AD LDAP Attributes | Common Entries

List of common LDAP AD fields which can be used with the “DSQuery” or other tools which lookup AD objects. csvde -m -f c:\DSQueryUsers.csv -d "OU=Users,OU=UK,DC=domain,DC=localm" -r...

View Article


Office 2013 | Changing *.OST Location | Regedit

This needs a registry update, customize the string value with your OST path. This is for Office 2013, but can be used with Office 2007/2003 by changing the “15.0” version option. Windows Registry...

View Article


Show “system uptime” single/multiple servers

“Show uptime of multiple computers” – Looking after multiple servers, I wanted to check which have rebooted and require rebooting due to windows updates. In order to interrogate multiple servers I can...

View Article

Lync 2013 Deployment

Excellent post on the deployment of Lync 2013 via Script: Unifiedme.co.uk I customized the Lync installation using the Office /admin application (see above) and then pushed this out to users via...

View Article

Vmware ESXi Host | Enable SNMP

Although SNMP traps can be configured within Windows VMs installed on the VMWare host it can also be configured to report directly from ESXi. This configuration helps monitoring software such as...

View Article

Formatting Device |“diskpart”

Formatting a USB Flash Drive using the “diskpart” utility: Diskpart also resolves issues with formatting within Windows GUI: Error: “Format Cannot Run because the volume is in use by another process”...

View Article


PSEXEC | Remove File Share Remotely

Sometime it takes time to go and speak to a user, then stop what they are doing so you can make a change or tweak on their PC/Laptop so I like to do this in the background remotely without their...

View Article

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
Browsing all 34 articles
Browse latest View live




Latest Images