Archive for the ‘Command Line’ Category

Windows Server 2012 reset networking TCP/IP when NIC team is “Host Unmanageable”

December 4th, 2015 No comments

After some scheduled maintenance (Windows Updates, software updates/installation etc) on an older HP DL370 G6 server running Windows Server 2012, a colleague noticed an issue with the networking configuration. Post maintenance, I was told that the server was not accessible on the network, and with it being weekend maintenance my colleague simply added it's IP address back to one of the 4 physical network card ports so that the server was at least accessible again. It later transpired that for some reason, the networking configuration on the server had broken in a way that NIC Teaming was no longer working. This server was also a standalone Hyper-V host, the Hyper-V virtual networking was also broken.


OS X view hidden files and folders

March 10th, 2013 No comments

After recently purchasing a MacBook Air, one of the first things I wanted to do was install Firefox and copy my user profile with all my addons and history onto my new machine. Being a first time OS X user meant that this proved a little trickier than anticipated.

Although this post is meant as more of a personal reminder for myself on how to enable and disable hidden files and folders in OS X, I'll include some brief notes for anyone that may need to use Firefox profile manager to manage their profile.


Windows Server time synchronization

April 15th, 2010 No comments

Something I have frequently seen implemented incorrectly on Windows Server domains is time synchronization. Many admins think that by creating a GPO with a modified policy setting for 'Configure Windows NTP Client' (and using it to address an NTP source) all Servers and Clients will synchronize their time with that source. This isn't entirely true and there is actually a time hierarchy that should be considered when implementing time synchronization for each domain.


SharePoint 2007 documents not opening in Office 2007

March 24th, 2010 No comments

Our company Intranet was deployed on Microsoft Office SharePoint Server (MOSS) 2007 and has been in operation for a few months. I recently had a user that reported that they were experiencing difficulties opening documents from their Team Site. A quick check revealed this problem actually affected all documents for the user and not just those in their Team Site. When the user clicked on any SharePoint document to open it they were presented with the dialog box with options to open the document in 'Read Only' or 'Edit' mode. Opening any document in 'Read Only' mode opened the document in the relevant Microsoft Office application but obviously did not allow them to save it directly back into SharePoint. Opening any document in 'Edit' mode failed to launch the Microsoft Office application associated with that document. This was the case for all Microsoft Office document types.


SSH SCP Hyperlink

March 13th, 2010 10 comments

Following on from a previous post about creating and using an RDP Hyperlink on a computer running Windows, I have written another two .bat files for use with SSH and SCP protocols.


RDP Hyperlink

February 21st, 2010 52 comments

I recently started using Zenoss (an open source application, server and network management platform) to monitor servers. One of the options that can be configured for each of the devices being managed is a hyperlink that can open a website or application of some relevance. In a situation where I am informed of an issue with a server/application I instinctively try to open a Windows remote desktop session to the server. This used to involve manually opening the Microsoft Terminal Services Console (mstsc.exe), keying the server name and then clicking the connect button. I wanted a way to click a hyperlink from the Zenoss web console and establish an rdp session to the relevant server.


Create file of a certain size

October 13th, 2008 No comments

Every now and then I find myself needing to create a file of a certain size for one reason or another. This is usually for testing in situations where people are experiencing email attachment issues or disk quota problems, things like that. The quickest way to do this is to use a Windows command line utility called fsutil.exe. This command line tool can be used (amongst other things) for quota management, system info enumeration and some basic file manipulation.


Categories: Command Line, Windows XP Tags: