Win 7: Path to All Users Desktop and Start Menu Folders

Posted by SteveHardie | On: Jan 15 2014 | Comments (0)
Path to all users desktop and start menu in Windows 7 All users desktop: C:\Users\Public\Desktop\ All users start menu: C:\ProgramData\Microsoft\Windows\Start Menu\ Note: The Desktop folder is hidden, make sure you show hidden files by selecting it under Tools,...

How To: Query NTP Time Source

Posted by SteveHardie | On: Nov 20 2013 | Comments (0)
If you want to query an NTP time source without having to set your computer to synchronise with the time source, you can do so using the W32TM command in command prompt.

Exchange 2010: Mailbox Size

Posted by SteveHardie | On: Jul 04 2013 | Comments (2)
This post demonstrates how you can use Exchange Powershell to list and export user mailbox size, including deleted items size. Run the command below to generate a list of all users, what databse their mailbox is stored in, the TotalItemSize, and TotalDeletedItemSize...

Allow Account to Log on as a service Right

Posted by SteveHardie | On: Apr 05 2013 | Comments (0)
You can use this procedure to add the Log on as a service right to an account on your computer. To open Local Security Policy, click Start, point to Control Panel, point to Administrative Tools, and then double-click Local Security Policy. In the console tree,...

How To: Find and Remove Inactive Computer Accounts from Active Directory

Posted by SteveHardie | On: Apr 03 2013 | Comments (6)
There are a number of reasons why you may need to find and remove inactive computers from active directory. Test computers and servers that were removed without disconnecting from the domain, or in my case, a computer fleet upgrade. New computers were brought in...

Exchange 2010: Storage Quota Warnings are not Sending

Posted by SteveHardie | On: Mar 01 2013 | Comments (0)
In exchange 2010 SP1, users are not receiveing quota warning messages when they are beyond the Issue Warning threshold. Microsoft have an article relating to this issue. Users do not receive quota warning messages after you apply Service Pack 1 for Exchange Server...

Exchange 2010: Powershell to add full permission to mailbox

Posted by SteveHardie | On: Feb 20 2013 | Comments (0)
Run the following powershell script to grant a user or group full access to a mailbox. Add-MailboxPermission -Identity '' -User '' -AccessRights 'FullAccess'

How To: MS SQL Reseed or Reset Identity Column

Posted by SteveHardie | On: Jan 20 2013 | Comments (0)
DBCC CHECKIDENT can reseed (reset) the identity value of the table. For example, YourTable has 25 rows with 25 as last identity. If we want next record to have identity as 35 we need to run following T SQL script in Query Analyzer. DBCC CHECKIDENT ([YourTableName],...

Exchange 2010: Set Work Hours for Room Mailbox

Posted by SteveHardie | On: Aug 16 2012 | Comments (2)
In Exchange 2010, when you create a room or resource mailbox, the Resource Policy tab gives you the option to Allow scheduling only during business hours. But what is business hours? The default business hours is from 8:00 am until 5:00 pm. You can check this by...

How To: MS SQL Empty Database Log File

Posted by SteveHardie | On: Jul 15 2012 | Comments (0)
You will often find your database log file (.ldf) growing to a very large size, often larger than the databasie file (.mdf) itself. Log files should shrink after a full backup, but this isnt always the case. Below is a quick command you can run to empty a database...