FORFILES – use to delete files older than specific time

Great built-in Windows command line tool to use if you want to purge backup files older than… say one week.

Batch file I create to to delete .bak (backup files) older than one week:

forfiles /P “<Path to files>” /S /M *.bak /D -7 /C “cmd /c del @PATH” 

From here, I set up Windows ‘Scheduled Tasks’ to run this batch file every night. Works great!

More info on switches:

http://en.wikipedia.org/wiki/Forfiles

QuoteWerks – WinPDF v5 Converter has expired

Look for the “pdc32.dll” and the “wps32.dll” within the WindowsSystem32 (and/or WindowsSysWoW64) directory and rename them to *.old. Then run the Nsetup again to correct this issue.

How to set up a forwarder – Microsoft Online Services

1. Download MOS Migration tool from below url :
Microsoft Online Services Migration Tools (32 bit)
http://www.microsoft.com/downloads/en/details.aspx?familyid=9ed5f4c1-7f0b-4506-a214-32093af6147a&displaylang=en

Microsoft Online Services Migration Tools (64 bit)
http://www.microsoft.com/downloads/en/details.aspx?familyid=5547634c-5e49-4dbd-b6b0-457b38a75f33&displaylang=en

2. Log in to Administration Center for domain in BPOS-S and create a contact for the email address to whom you want to forward emails.

3. Launch the ‘Migration Command Shell’ from your programs folder.

4. Use the below cmdlet to set external forwarding.

Set-MSOnlineAlternateRecipient -Identity <email address of your hosted account> -AlternateRecipient <email address to forward to> -DeliverToBoth $true

Example: Set-MSOnlineAlternateRecipient -Identity name@kazmarek.com -AlternateRecipient name@gmail.com -DeliverToBoth $true

*Note: The ‘$true’ on the end means it will leave a copy and forward. Change to ‘$false’ and it will only forward and not fill up mailbox.

*Note: If you want to remove a forwarder:

Clear-MSOnlineAlternateRecipient -Identity <email of hosted account>

Example: Clear-MSOnlineAlternateRecipient -Identity name@kazmarek.com

Windows server backup fails consistency check of the Exchange database

Trying to backup Exchange 2010 and purge transaction logs using the built-in Windows Server Backup app (Windows 2008).

– Backup completes but with warnings and log files won’t purge

-Found that the backup will run successful only if database files and the transaction log files on the same volume

Moved the transaction logs files via the EMC to the save volume as the databases and got past the consistency check failure issue, and got a good backup w/flushed logs.

Exchange 2010 Offline Address Book Will Not Download

After migrating from Exchange 2007 to Exchange 2010, workstations running Outlook in cacheded mode were not getting latest version of the GAL. When manually trying to download offline address book within Outlook, it would just hang. From the EMC, I checked the name of the OAB (Org, Mailbox, Offline Address Book (tab)), and noticed it wasn’t named the default ‘Default Offline Address List’. In this case it was called ‘KTS Offline Address List’. Shame on us for trying to personalize… ha!

Anywho, renamed OAB to ‘Default Offline Address List’, did a right-click + update on the OAB… and then tried manually downloading the OAB from Outlook again and this time it took about 10 seconds. Outlook GAL was now up-to-date and even a post in my event log (app) ‘OAB Download Succeeded’.

Scan a Network for Live IP Addresses (netping)

Ever come across a Linksys, Dlink, Netgear router or network printer that wasn’t documented and you have no idea what LAN IP was used so you can connect. This lightweght util does a great job scanning a network for live IPs on the wire:

http://www.codeplex.com/NetPing

 

Success Story of Our Proactive Server Support (PSS) Monitoring

Imagine it’s a quiet Saturday afternoon in the office. No week-day interruptions. You think to yourself, “This is going to be a very productive day.” Suddenly, you’re disconnected from the server, the Internet, the whole network!server overheat cartoon

You call your IT person on his cell phone.  Minutes into the call, your IT person asks you to hold as he has another call coming in. You wait patiently on hold for a minute and he clicks back over.  He informs you that the call was from Kazmarek Technology Solutions. They had received alerts that your network was down. And better yet, they will have an engineer right over to address the situation.

This true story happened a few weeks ago. The problem turned out to be a burnt out 24-port switch. We replaced the switch with a loaner switch from KTS and our client was back in business within 30 minutes.

KTS was able to respond quickly because the client subscribed to our Proactive Server Support, a proactive and preventative service we offer to keep your servers and networking equipment running optimally, as well as react quickly to issues with our 24/7 monitoring. 

Contact KTS today for more information on how you can keep your servers running smoothly with our Proactive Server Support.

See the rest of our latest newsletter here.


Don’t let this happen to your servers! 

 

 

 

 

 

What directories to exclude antivirus scanning Exchange 2007

http://technet.microsoft.com/en-us/library/bb332342(EXCHG.80).aspx

 

Winmail.dat File Received by Non-Exchange Mail Server Without Attachment Included from Exchange 2007 Server

Situation: Exchange 2007 has a contact (not a mailbox) within the GAL that end-user uses to email instead of using the actual non-exchange email address. The non-exchange (network solutions) user does not get attachment sent (Word, Excel, etc.), but does get a winmail.dat file attached.

Fix: Launch Exchange Management Console, goto Recipient Configuration/Mail Contact container, open up contact you’re having the issue with, on the ‘general’ tab change the ‘Use MAPI rich text format’ drop-down to ‘Never’ and test.

Vista ReadyBoost Flash Drive Requirements

Compatibility and requirements:

  • The capacity of the removable media must be at least 256 MB (250 after formatting)
  • Devices larger than 4 GB will have only 4 GB used for ReadyBoost
  • The device should have an access time of 1 ms or less
  • The device must be capable of 2.5 MB/s read speeds for 4 KB random reads spread uniformly across the entire device and 1.75 MB/s write speeds for 512 KB random writes spread uniformly across the device
  • The device must have at least 235 MB of free space
  • NTFS, FAT16 and FAT32 are supported
  • The initial release of ReadyBoost supports one device
  • The recommended amount of flash memory to use for Windows ReadyBoost acceleration is one to three times the amount of random access memory (RAM) installed in your computer