Strict Standards: Redefining already defined constructor for class wpdb in /var/www/myfoto.se/jbits.se/blog/wp-includes/wp-db.php on line 56

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/myfoto.se/jbits.se/blog/wp-includes/cache.php on line 36

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /var/www/myfoto.se/jbits.se/blog/wp-includes/cache.php on line 384

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 560

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 684

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/myfoto.se/jbits.se/blog/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/myfoto.se/jbits.se/blog/wp-content/plugins/code-highlighter/codehighlighter.php on line 42

Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php on line 82
jbits.se <br /> <b>Deprecated</b>: preg_replace() [<a href='http://php.net/manual/en/function.preg-replace'>function.preg-replace</a>]: The /e modifier is deprecated, use preg_replace_callback instead in <b>/var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php</b> on line <b>82</b><br /> » Citrix

jbits.se

Jörgen Björkmans blog

Archive for the ‘
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php on line 82
Citrix’ Category

Add the following text to OS Boot Parameters under your VMs Startup options: rw init=/bin/bash
Boot your Access Gateway VPX VM, you'll be presented with a bash prompt.
Run the following to change specified text in the default (english) logonpage:

sed -i 's/User name:/Anv\&auml;ndarnamn:/g' /runtime/S0/etc/en/login.html
sed -i 's/Password:/L\&ouml;senord:/g' /runtime/S0/etc/en/login.html
sed -i 's/Welcome/V\&auml;lkommen/g' /runtime/S0/etc/en/login.html
sed -i 's/Log On/Logga in/g' /runtime/S0/etc/en/login.html

Remove the OS Boot Parameters and reboot your AG VPX.

Oct
01

Retarget IMA to new datastore.

Posted by jbjorkman on October 1, 2010 under Citrix

This script can be used to retarget IMA datastore connections AFTER you moved the database.

Change the green stuff to fit you environment.

@echo off
setlocal

set DBServer=Database Server FQDN
set DBName=Database Name
set DBDesrciption=Database Description
set DBUser=SQL Username
set DBPass=SQL Password

set datetime=%date:~2,2%%date:~5,2%%date:~8,2%-%time:~0,2%%time:~3,2%%time:~6,2%
if "%programfiles(x86)%"=="" set progfiles=%programfiles%
if not "%programfiles(x86)%"=="" set progfiles=%programfiles(x86)%
net stop "Citrix Independent Management Architecture"
copy "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn" "%progfiles%\Citrix\Independent Management Architecture\mf20-Backup-%datetime%.dsn"
del "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo [ODBC] >> "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo DRIVER=SQL Server >> "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo UID=%DBUser% >> "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo APP=Citrix IMA >> "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo DATABASE=%DBName% >> "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo SERVER=%DBServer% >> "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo Description=%DBDesrciption% >> "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo WSID=%computername% >> "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo.
type "%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
echo.

dsmaint config /USER:%DBUser% /PWD:%DBPass% /DSN:"%progfiles%\Citrix\Independent Management Architecture\mf20.dsn"
dsmaint recreatelhc
net start "Citrix Independent Management Architecture"
pause

Oct
01

Override DisableCMD GPO oneliner.

Posted by jbjorkman on October 1, 2010 under Citrix, OS, Windows

Wmic /namespace:\\root\default class stdregprov call SetDWORDValue hDefKey="&H80000001" sSubKeyName="Software\Policies\Microsoft\Windows\System" sValueName="DisableCMD" uValue="&h0" & cmd

May
22

Citrix Client buildnumbers and corresponding versions

Posted by jbjorkman on May 22, 2007 under Citrix

Build ......... Long-Version ..... Short-Version
142 ........... Java ICA Client .. Java
2600 .......... MSTSC 5.01.2600 .. MSTSC 5.01
3790 .......... MSTSC 5.2.3790 ... MSTSC 5.2
581 ........... 4.0.581 .......... 4.00
606 ........... 4.00.606 ......... 4.00
715 ........... 4.20.715 ......... 4.20
727 ........... 4.20.727 ......... 4.20
741 ........... 4.20.741 ......... 4.20
779 ........... 4.21.779 ......... 4.21
910 ........... 6.00.910 ......... 6.00
963 ........... 6.01.963 ......... 6.01
964 ........... 6.01.964 ......... 6.01
967 ........... 6.01.967 ......... 6.01
985 ........... 6.20.985 ......... 6.20
986 ........... 6.20.986 ......... 6.20
1050 .......... 6.30.1050 ........ 6.30
1051 .......... 6.31.1051 ........ 6.31
17534 ......... 7.00.17534 ....... 7.00
20497 ......... 7.01.20497 ....... 7.01
21825 ......... 7.100.21825 ...... 7.10
22650 ......... 7.100.22650 ...... 7.10
24737 ......... 8.0024737 ........ 8.00
29670 ......... 8.100.29670 ...... 8.10
32649 ......... 9.00.32649 ....... 9.00
36280 ......... 9.100.36280 ...... 9.10
39151 ......... 9.150.39151 ...... 9.15
44376 ......... 9.200.44376 ...... 9.20
50211 ......... 9.230.50211 ...... 9.23
45418 ......... 10.00.45418 ...... 10.00
49686 ......... 10.00.49686 ...... 10.00
55836 ......... 10.100.55836 ..... 10.100