Category: Windows

  • Create folder with name as current date in batch (.bat) file

    Flowing script will create a folder with name as the current date in format YYYY.MM.DD format e.g. 2012.05.14 for /f “skip=1” %%i in (‘wmic os get localdatetime’) do if not defined fulldate set fulldate=%%iset year=%fulldate:~0,4%set month=%fulldate:~4,2%set day=%fulldate:~6,2%set foldername=%year%.%month%.%day%md %foldername% Windows XP and higher

  • Toggle show hidden and system files

    I normally prefer to work with hidden and system files not visible, however very often there is a need to view such files. Normal way of enabling this via Widows Explorer (ALT + Tools > Folder Options > View) is way too many clicks for my liking. Here is a simple vbscript which will toggle…

  • Sage 50 Accounts – Remove company from Select Company List

    There is no obvious way to remove a company from “Select Company” list in Sage Account 50. This is how I resolved this: Close Sage Accounts Navigate to: C:\ProgramData\Sage\Accounts\2008\COMPANY Open file COMPANY with notepad (or other text editor). You will see paths to all companies which appear in “Select Company” list. Delete line with the…

  • Public folders not replicating from Exchange 2007 to 2010

    This issue can occur if you are migrating an organisation from Exchange 2007 to Exchange 2010 and this organisation had previously been migrated from Exchange 2003. Public folders refuses to replicate from Exchange 2007 to Exchange 2010. Following error is recoded in Application Logs on Exchange 2010: Level: ErrorSource: MSExchange Store DriverTask Category: MSExchangeStoreDriverDescription:The store…

  • Export Active Directory objects with ldifde before performing changes with ADSI Edit

    ADSI Edit can be very useful and powerful toll in right hands, but it can also cause lots of problems if used incorrectly. Before making any changes using ADSI Edit it is always recommended to perform a full Active Directory backup (using ntbackup or a third party backup software). It can also be a good…

  • Repairing Exchange mailbox database after a hard shutdown

    Microsoft Exchange 2003 databases (Mailbox and Public Folders) refused to mount after a hard shutdown caused by a power cut. Trying to mount mailbox and public folders stores following error popped up: An internal processing error has occurred. Try restarting the Exchange System Manager or the Microsoft Exchange Information Store service, or both. Examine the…

  • eseutil.exe – Unable to find the callback library jcb.dll (or one of its dependencies)

    Faced this issue while running eseutil.exe in repair mode (eseutil /p) on Microsoft Exchange 2003. First of all repaired mailbox database: Opened command prompt Changed folder to C:\Program Files\Exchsrvr\bin\ run: Eseutil /p D:\EXCH\priv1.edb Repair was successful. Then tried exactly the same steps for public folder database: Opened command prompt Changed folder to C:\Program Files\Exchsrvr\bin\ run:…

  • Connect to server console session via Remote Desktop

    Connecting from Windows 7 client to Windows server console session vis Remote Desktop (Terminal Services): To connect to Windows Server 2003mstsc -v:<server_name> /F /consoleThis allows to connect to session 0 which is physical console session. To connect to Windows Server 2008mstsc -v:<server_name> /F /adminWindows Server 2008 changes to architecture means that session 0 is only…

  • Word 2010 error – “Word Can Not Open this Document Template (C:….14Built-In-Building Blocks.dotx)”

    Error message “Word Can Not Open this Document Template (C:.\…\14\Built-In-Building Blocks.dotx)” appears when trying to add page numbers or doing other operations related to headers and footers. This is often caused by corrupted Building Blocks.dotx file. Close Microsoft Office Navigate to: “C:\Users\<user.name>\AppData\Roaming\Microsoft\Document Building Blocks\1033\14” and delete two files:Building Blocks.dotxBuilt-In Building Blocks.dotx These files will be…

  • Convert flac files to mp3 (free)

    .flac (Free Lossless Audio Codec) is a lossless audio compression codec. It’s a great format to backup your CDs without loosing any quality. A lot of PC audio players can play .flac files directly, but some portable MP3 players and smartphones often refuse to play .flac natively. In this case you may need to convert…

  • Watch BBC iPlayer via XBMC (UK only)

    Download latest version xbmc-iplayerv2 add-on from code.google.comVersion 2.4.14 which I tested on XBMC v11.0 (Eden) can be downloaded from here. In XBMC got to System > Settings > Add-ons > Install from zip file Navigate to the downloaded iPlayer-v2.4.14.zip and install the plug-in Go to Videos > Add-ons where you will find a new entry…

  • XBMC addon cannot be deleted – Uninstall option greyed out

    Sometimes you may find that XBMC add-on cannot be uninstalled normal way via System > Add-ons as Uninstall option is greyed out. This often happens because add-on is installed in a system wide directory. In this case add-on can be deleted manually from the add-on directory. Location can vary depending on your Operating System and…