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
jbits.se » 2010 » October
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/kses.php on line 627

jbits.se

Jörgen Björkmans blog

Archive for October, 2010

Oct
30

Microsoft posters

Posted by jbjorkman on October 30, 2010 under
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
OS, Windows

Windows 2008 RDS
http://download.microsoft.com/download/7/9/5/795935E3-C3BE-4F63-A621-513858951911/Remote-Desktop-Services-Component-Architecture.pdf

Windows 2008 Hyper-V
http://download.microsoft.com/download/C/A/9/CA9292AD-3A33-4984-A9CF-82B08FCEFE77/WindowsServer2008R2Hyper-VComponentArchitecture.pdf

Windows 2008R2
http://download.microsoft.com/download/8/2/3/823871D1-819F-446D-ADD5-3049B78F020F/Windows_Server_2008_R2_Feature_Components.pdf

Windows 2008 Active Directory
http://download.microsoft.com/download/2/e/8/2e88c004-3b10-446f-9d5a-58af27deafc4/Windows%20Server%202008%20Active%20Directory%20Components.pdf

Windows 2008 features
http://download.microsoft.com/download/2/e/8/2e88c004-3b10-446f-9d5a-58af27deafc4/Windows%20Server%202008%20Feature%20Components.pdf

Exchange 2010
http://download.microsoft.com/download/1/D/5/1D5ED82D-7E65-4C5A-A605-A9ABCDE56DFC/Exchange%202010%20Poster.pdf

Exchange 2007
http://download.microsoft.com/download/b/2/0/b20ed7c4-4c29-4e8c-8bce-02f3a7bc0071/ExchangePoster.pdf

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\ändarnamn:/g' /runtime/S0/etc/en/login.html
sed -i 's/Password:/L\ösenord:/g' /runtime/S0/etc/en/login.html
sed -i 's/Welcome/V\ä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
07

Get Vendor and Device Info for Devices in Error State

Posted by jbjorkman on October 7, 2010 under Windows

List Device and vendorIDs for PCI devices in error state.
wmic path Win32_PNPEntity where (DeviceID like "PCI%" and Status like "Error") get Description, DeviceID

Lookup the troublesome devices Vendor and Device ID here: http://www.pcidatabase.com/

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