Krystian Zieja's blog

Configure Cisco Logging to Rsyslog on Debian

Quite often Network Administrators are obligated to keep logs from their cisco devices, either for troubleshooting or due to be compliant with IT Security Policy. In this article I will describe fast and easy way to setup saving logs from your Cisco devices to rsyslog server on Debian Linux.

Disable Archiving Options in Outlook 2007 using GPO

Administrators often need to disable Outlook 2007 / Outlook 2003 archiving options for users, due to company policy requirements or because they use third party software to backup / remove old emails from Exchange Mailboxes. We always can instruct our users not to use those options, however as we all know, quite often giving the instructions to users is not enough. Hence we need to know the proper way to force our desired settings. The best way to reconfigure some settings is to use Group Policy Object, of course if we have Active Directory implemented, because it is the easiest and fastest way to change something for multiple computers or multiple users.

Check Free Space on Disk in Windows

Sometimes it is handy for Windows Administrators to check free space on the volume from command line. That task can be accomplised by using fsutil command. The full syntax for checking free space on volume c: is fsutil volume diskfree c:

How To Check Authentication Mode in Microsoft Sql Server

Microsoft Sql Server can operate in two Authentication Modes, the first is Windows Authentication, and the second is Mixed Mode. In Windows Authentication Mode only the users, which have Windows Accounts (either Active Directory or Computer Accounts) can login to Sql Server. In Mixed Mode we can create in Sql Server logins, which do not have corresponding Windows Accounts. Windows Authentication Mode is suggested by Microsoft as the best practice; however Sql Server DBAs often have to configure Mixed Mode, because there are numerous applications on the market, which requires it. Ability to quickly check authentication mode of Sql Server is crucial if we are performing an audit or we have to work on an instance, on which we do not know anything.

Special characters in C#

There are some characters in .NET that were labeled special. For example how would we represent a single quote in a string or a tabulator? We would use escape character, which is backspace (\). Escaping character just means putting backspace in front of special character. Below program shows this concept in more detail.

How to Add a New E-Mail Address in Exchange 2007 using Power Shell

Power Shell is very handy when it comes to managing Exchange 2007. Adding new email addresses for existing mailbox users is very common task for exchange administrators. Unfortunately there is no one cmdlet which would allow it. Below I will present a simple script, which is a combination of Get-Mailbox and Set-Mailbox cmdlets.

How To Mount ISO Image on Windows 7

Very often we have to mount ISO images, especially if we are using software from MSDN or TechNet subscriptions; ISO is a standard format in which Microsoft distributes their software. Unfortunately neither Windows 7 final version (I have not installed it recently) nor any previous Windows version natively supported mounting ISO images.

Send As Permission in Exchange 2007

Send As is very powerful permission in Exchange 2007. Send As permission allows a user to whom it was granted to send emails directly as another person. Implementing such feature is frequent requirement in many companies. For example an office assistant is responsible for replying to emails, which were sent to company mailbox. We could resolve it by granting Send on Behalf permission to office assistant, but what if we want to hide actual sender from recipients, in that situation Send As is the only choice.

Rename SA account in Sql Server

All Sql Server Administrators heard about SA account, how insecure it is and how many vulnerabilities exists that enable someone to break our Sql Server. Microsoft suggests using Windows Authentication Mode, instead of Mixed Mode. Mixed Mode exists only for backward compatibility. The safest solution would be to disable SA account and forget about the problem. However the world is not ideal and sometimes we have to use legacy 3rd party applications, which require Mixed Mode. In those situations we can rename SA account to make it harder to crack. Renaming Administrator account/s is a standard practice used by Windows Domain Administrators, so we will try to implement the same on Sql Server. We can rename SA account in Sql Server 2005 and Sql Server 2008.

SBS 2008 BPA DNS A resource record points to incorrect IP address

When running Small Business Server 2008 Best Practices Analyzes, you can see that mysterious error.
DNS A resource record points to incorrect IP address

The host (A) resource record points to the incorrect IP address 192.168.1.59192.168.1.2. The record should point to 192.168.0.2.