0

Config snippets : Cisco : Testing RADIUS authentication on IOS

-

Recently was migrating RADIUS server on Windows from one machien to another. Once new serer was ready had to reconfigure Cisco router to authenticate remote users against new RADIUS. After pointing Cisco to new RADIUS machine made a quick test to check if router can authenticate without any issues. Here is how ot do it quickly:

(more…)

0

Code snippets : List all logical disks in Windows 7 Command Prompt

-

Recently I was wondering how to list all available drives in Windows 7 PE Command Prompt. That happened to me when stuck in PXE boot command prompt window trying to find out what letter is assigned to USB stick I just plugged in. It looks like it’s not quite straightforward activity 🙂

(more…)

0

Config snippets : Configuring static IP address on Debian 6.0

-

Just quick config snippet for Debian 6.0 which I came across when setting up few Debian Linux 6.0 virtual machines for recent network LAB. By default network adapter is set to get IP address from DHCP.

/etc/network/interfaces – dynamic IP address configuration

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface auto lo iface lo inet loopback
# The primary network interface allow-hotplug
eth0 iface eth0 inet dhcp

(more…)

0

Configuring room-type resource mailbox on Exchange 2007 in auto accept mode

-

Mailboxes created for conference rooms (on Exchange 2007 Recipient Type : Room Mailbox) by default has disabled auto accept for calendar appointments. That causes issue when people trying to book room as all appointments show as tentative and manual interaction/accept is required. In order to streamline process and make it more handy for people (in case nobody is assigned to control room bookings) you can enable auto accept feature, so all appointments will be accepted automatically. To do that use PowerShell:

(more…)

0

Config snippets : ADLDS : Disable password policy

-

By default password policy from Active Directory domain will impact ADLDS and users created in ADLDS instance. To prevent domain policies from enforcing password restrictions and rules on ADLDS users one simple setting has to be adjusted:

  • ADAMDisablePasswordPolicies

Here is how it looks on computer which has ADLDS instance installed on port 50389:

(more…)

0

Config snippets : Cisco : Resetting interface statistics on Catalyst

-

Recently I went through troubleshooting of Site-to-Site Layer-2 link. One of the things we did during troubleshooting of that link was checking interface statistics for interfaces which were connecting two geographical sites together.

Below quick overview how ot check and reset port statistics if required during troubleshooting process.

(more…)

0

How-to : Relocate iTunes folders to different drive/partition

-

Using any of the iDevices with PC computer with Windows 7 will enfornce us to use iTunes as application which can synchronize content of a device with PC, backup device to the computer, etc. By default iTunes will create all folders for content synchronization between PC and iDevice on C: drive. However, sometimes this might be inconvinient, especially if someone has multiple partitions on hard disk dedicated for certain type of content. Also, when number of applications, music files and movies is growing on iDevice iTunes can consume lot of space, so this might be reasonable to move iTunes content to another partition or disk on our system. I will show quick way how ot make iTunes data move smooth and transparent for our device.

(more…)

0

Code snippets : Exchange Server : Count messages submitted by user

-

In some companies performance is measured based on number of emails someone sent. regardless the reason for those emails and content, what matters the most is if someone is sending something to others. So, I was asked to produce quick count how many emails one individual sent.

Here is quick PowerShell command which I ran on Exchange 2007 Mailbox server to find requested number:

(more…)

0

First look : System Center Operations Manager 2012 RC installation screenshots

-

As we can download SCOM 2012 RC from Microsoft, I decided to do quick installation in LAB environment. Whole test environment is based on VMware Workstation 8. Deployment of SCOM 2012 will be spread across few servers to separate certain functions (in fact similar to real-life deployments). For SCOM2012 deplyoment I will use following servers:

  • lab-dc-01 – Domain Controller – Windows Server 2008 R2
  • lab-sql-01 – SQL Server – Windows Server 2008 R2 + SQL Server 2008 R2
  • lab-net-01 – SCOM 2012 Management Server – Windows Server 2008 R2 + SCOM 2012 Management Server
  • lab-wks-01 – SCOM 2012 Management Console – Windows 7 x64 Ultimate + SCOM 2012 Management Console

This will be mainly screenshot tour through installation phases of SCOM2012.

Here is schematics of the lab:

(more…)

0

Windows Registry : How to change background on Windows logon screen

-

Background image on logon screen os common issue with pre-installed servers, for example from Dell. That makes accessing those systems via Remote Desktop painful and slow (it happenes that serer is shipped to location, racked and stacked, and then whole configuration take place remotely). By default background bitmap from logon screen is sitting in C:\Windows\System32\oobe\info\backgrounds, so you can put your own logon screen background or if you don’t want to have any (just system default) you can follow instructions below and remove background from logon screen.

(more…)