Search This Blog

Wednesday, February 22, 2017

Dual boot Windows and Linux time offset

Good day,

long time no post.
I have come across an interesting fix for an annoying problem.

If you dual boot Linux and Windows, every time you go into Windows after Linux, the time is wrong.
This is due to Linux using GMT while Windows trying to get the local time.

Fix: create the following DWORD value under 


and set it to 1
Reboot and problem solved.


Tuesday, May 6, 2014

Citrix Receiver 13 on Ubuntu 14.04

Long time no post...

I have just come across something awesome that actually works:

Was able to install the latest Citrix client on a kubuntu 14.04 system without a hiccup.


Wednesday, May 30, 2012

Symantec NetBackup 7 console opening delay fixed

If you are a user of Symantec NetBackup, i am sure you have experienced the long delay before opening the application after upgrading from 6.x to 7.x

To fix the issue just run the following on the master server:

-Update(05/26/2020) Removed link as it was dead.

Friday, March 12, 2010

Blackberry DB Backup BESMgmt BlackberryDBBackup.exe

Ok, so if anyone is interested in backing up the MSDE database for the Blackberry Enterprise Server, you may have come across a command called blackberrydbbackup.exe. 
And you most likely would have run into issues with using it. 

The help, when executing the program without switches shows a command -d for specifying the database, -E for using windows credentials, and -f for the backup folder:
blackberrydbbackup.exe -d BESMgmt -E -f c:\backup 

That does not work, no matter what you seem to do, even though Blackberry support and all forums show it as being the proper command sequence. 

Well after a half hour of hitting my head against the wall, a solution was born:

blackberrydbbackup -dBESMgmt -E -f c:\backup 

Note the no space after the -d and the .exe taken out. 
When the script was written, it seems someone made a few mistakes. 
The .exe extension is taken as a part of the switch it seems, and the help needs to be modified to reflect the -dDBname. 

Dont even bother using -U and -P for username and password. Nothing i tried worked. 
-U domain\besadmin 
-U domain\BESAdmin 
-U BESAdmin 
-U besadmin 
-U BESAdmin@domain 
-U:all of the above and the same for -P of course. 

When scheduling the script for this using Windows Scheduler, -E is enough, as the windows credentials will be passed. 
Just enter the besadmin info when saving the job. 

Someone posted online about using the AT command to run as a system service along with -U and -P so as to not have to change the password for the job each time the Besadmin pw changed. 
That makes no difference, as even if you got the -U and -P to work properly, when the besadmin pw is changed you would still have to modify the script with the new -P. 

By the way the tool along with blackberrydbrestore.exe is located in the tools folder on the Blackberry cd. 

 Thank you

Friday, October 9, 2009

OLKAway Now With Vista support

Long overdue update.

Added Vista support, removed old AutoIT declarations, and set the temp folder to be recreated after deletion to avoid random errors.

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    This script will delete the Outlook temp folder under
    c:\documents and settings\%username%\local settings\temporary internet files\OLKxxx (Windows XP/2000)
    C:\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook (Windows Vista)
    It will check for the presense of the OutlookSecureTempFolder entry in the registry
    starting with Outlook 2007, all the way to Outlook 2000 working backwards.
    Once found, it will delete the contents.
    /install option will add a shortcut to the startup folder.
    /uninstall option will delete the shortcut.
    no option will just execute the removal without installing.
    created 01/07/2008
    updates 10/09/2009
        Added Vista support
        Removed old AutoIT declarations
        Corrected random Outlook issues due to the temp folder not being recreated, by creating it manually after each delete.
dim $InstallPath
$InstallPath = "C:\Program Files\NYITSupport\OLKaway\"
    case @OSVersion = "WIN_VISTA"
        Call ("StartSequence")
    case @OSVersion = "WIN_XP"
        Call ("StartSequence")
    case @OSVersion = "WIN_2000"
        $ver = RegRead("HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions", "ProductType")
        If $ver = "ServerNT" then Exit
        Call ("StartSequence")
    case Else
Func StartSequence()
    if $CmdLine[$CmdLine[0]] = "" then 
        call ("CleanUp")
            case $CmdLine [1] = "/uninstall"
                if not IsAdmin() then Exit
                call ("Uninstall")
            case $CmdLine [1] = "/install" 
                if not IsAdmin() then Exit
                if FileExists($InstallPath) then Exit
                Call ("Install")
            case Else
func CleanUp()
    $OSTF = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security", "OutlookSecureTempFolder") ; Outlook 2007
    if @error then $OSTF = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security\", "OutlookSecureTempFolder") ; Outlook 2003
    if @error then $OSTF = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security", "OutlookSecureTempFolder") ; Outlook XP
    if @error then $OSTF = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Security", "OutlookSecureTempFolder") ; Outlook 2000
Func Install()
    FileCopy (@ScriptFullPath, $InstallPath,8)
    ShellExecute("cacls.exe", '"' & StringLeft($InstallPath, StringLen($InstallPath)-1) & '" /e /c /g BUILTIN\Users:F')
    FileCreateShortcut($InstallPath &; "OLKaway.exe", @StartupCommonDir & "\NYITSUPPORT OLKaway.lnk", $InstallPath, "", "NYITSUPPORT OLKaway")
    call ("CleanUp")
Func Uninstall()
    FileDelete (@StartupCommonDir &; "\NYITSUPPORT OLKaway.lnk")