Search This Blog

Thursday, December 27, 2012

Windows 2008 core quick guide

A quick command guide for Windows 2008 core

How to add a role or feature on Windows core

one of the ways is to use disk. Another is to use ocsetup. Below is an example of disk usage: dism /online /enable-feature /featurename:snmp-sc

NETSH set DNS servers priority by index

example for the interface named "LAN", we set higher priority one DNS netsh interface ipv4 add dnsserver "LAN" static index=1

Wednesday, December 26, 2012

Windows 2008 core remote management

The quickest way to enable core remote management is by starting sconfig.cmd and selecting 4) Configure Remote Management You need to do additional manipulations to enable Volume Management also.

Wednesday, November 14, 2012

Powershell script to extract table from html

had to extract table from HTML and this is what I came up with for a particular case:
Note that I had to twick original html files from Cp-1252 to Unicode - using utility from I used to debug the script

Wednesday, October 17, 2012

Windows 8 is essentially Windows 7 with new GUI

For the set of old apps Windows 8 is the same as Windows 7, I was able to install without any problem, SAP GUI 7.20, TrendMicro antivirus. There is embeded Windows Defender in Windows 8, but it has to be switched off to let Trend to run.

The magic is unlocked when you have real "METRO" app in hand. Then Windows 8 (with WinRT) will shine differently. As you know, WinRT gives an asyncronous framework for fluid interface, it is more secure, as it run apps in isolated enviroment where not all user right are immediately given to an app, etc, etc.

Windows 8 Enterprise first look

Hi, I'm trying to install Windows 8 Enteprise from the DVD I received from Microsoft about a month ago. Looks good, setup is hyper easy.

Now I need to activate it and booms! I do not have Volume activation in my network. Actually there is a update that fixes that, but it is not available in our company.

This article explains how to deal with this situation:

Let me try first  with mak, since this is a test lab install....and it works! Windows 8 is activated with mak.

New(old) key to remember Winkey-R  since there is no start button. This is how to run programs by manually typing command line. Another way is to move mouse to right top corner and select search....

Friday, October 12, 2012

getting PMP

Preparing myself for PMP certification - two days training from and ordered a book "PMP Exam Prep, Seventh Edition: Rita's Course in a Book for Passing the PMP Exam"


Re-reading old training materials TERP10 and ADM325 Software logistics - ISBN 1-59229-059-0  (SAP Change and Transport Management, Achim Kosegi, Rainer Nerding)  - very good reading - comparable to Dan Brown - joking :)

Tuesday, September 18, 2012

Microsoft risk mitigation tool

According to Microsoft it helps to mitigate some issues with IE while there is no patch for certain vulnerabilites:

Friday, September 14, 2012

WAN optimisation

you need to consider WAN Optimisation if

congestion is more than 30%
latency > 125ms
packet loss > .25%


Users start percieving lag if RT latency 200ms - Citrix ICA - webminar

Monday, September 3, 2012

CentOS 5 time zone issue

It is a second time that I'm having issue with timezone. Even if all settings are ok it shows wrong timezone.

The siolution is

yum reinstall tzdata

Wednesday, August 29, 2012

Citrix VDI-in-a-box 5.1 is available

few days ago Citrix has released an upgrade for VDI-in-a-box 5.0. You can install 5.1 directly or upgrade from 5.0xx

TRIM on SSD disk in Windows 7

Verify that TRIM is enabled on W7 by runing as admin command:

fsutil behavior query DisableDeleteNotify

it should return 0

TRIM is a way to collect garbage on SSD otherwise it will be slowing down with time.

Backup exec errors on Exchange

According to Symantec, errors in the Exchange 2010 eventlog
"Cmdlet failed. Cmdlet Get-MailboxDatabaseCopyStatus, parameters {Identity=Public Folders\*, Active=True}." or  "Cmdlet failed. Cmdlet Get-Mailbox, parameters {Database=Public Folders, ResultSize=unlimited}." and so on, can be ignored -

Tuesday, August 28, 2012

Twitter widget breaks IE9 back button

IE9 back button issue can be observed now on several sites hosting twitter button. Example:

If you go to a page with twitter button, and then click IE9 back button it will show as example.

Really annoying.

Monday, August 27, 2012

Exchange 2010 SP2 OWA http issues

Exchange OWA error: "Your request couldn’t be completed. This may have occurred for security reasons or because your session timed out"

refer to for a solution.

Another solution would be to change to ssl.

Friday, August 17, 2012

ATA 187 telnet

Cisco ATA 187 can run telnet on port 7870 and it gives access directly to linux sh...

Tuesday, July 31, 2012

Juniper SSL browsing tool bar

it is possible to disable a Juniper SSL browsing tool bar for a specific URL - refer to

Upload a patch package and use internal URL rather than external in the filter.

Thursday, July 19, 2012

Wednesday, July 4, 2012

Autocomplete search in MOSS 2010

to query People change scope to "People" and modify the query string to add "*"

Thursday, June 7, 2012

Cisco IP Phone Owner ID is greyed out in CM

If  owner ID  is greyed out in Call Manager (8.6), check if you have extension mobility enabled - scroll little bit lower on the same page. Uncheck it then set owner ID. 

Friday, June 1, 2012

Junkmail GPO in Outlook

as explained above, do not forget registry JunkMailImportLists otherwise it will not work...

update from

We got an update from Microsoft -- they say that the best option is:

New-TransportRule -Name ' Flag internal email domains as not junk and set SCL to minus 1' -Comments ' Flag internal email domains as not junk and set SCL to minus 1' -Priority '0' -Enabled $true -FromAddressContainsWords '','' -SetSCL '-1'

The reason why email from our own internal domains is being flagged as junk is because the emails are being send un-authenticated and are not really "people" with AD accounts. They are 3rd party internal applications that cannot send/use authenticated senders.

So "white-listing" internal un-authenticated email seems to be the option to go with until we can replace this legacy software or find ways to convert them to authenticated senders.

SCL field in Outlook

Friday, May 25, 2012


Just discovered a great tool from Kaspersky: Rescue disk  CD/usb - it can scan Windows 7 disk and update databases online. I regret  that I did not use it immediately before spyware deinstalled itself...


Interesting case today, where the PC was slow, with high hdd activity and very strange traffic with task  Id 0 to IP and and possibly others. Few days ago this PC was highlighted by snort as "SPYWARE-PUT Trackware casalemedia runtime detection"

PC is protected with Trend.  After sucessful installation of Lavasoft, I realised that it actually did not install, folder is absent. Second time, the same result. Somebody is playing jokes? Third time it was installed ok and suddenly strange activity stopped, as if it deinstalled itself to avoid detection.

Further scan with Lavasoft and Kaspesky did not uncover anything. Puzzle...

Thursday, May 3, 2012

AsyncOS 7.5.1 blocks Office files

Cisco IronPort AsyncOS 7.5.1 has a bug and it blocks Office 2007/2010 files as executables (some Office file files have .bin for printer settings). Defect 81190 apparently was fixed in 7.5.2 and higher - ref readme.

Thursday, March 22, 2012

Webdial from Excel

Here it is an Excel formula to call a number using Cisco Webdialer:

A1                   A2
0012345          =HYPERLINK(https://server:port/webdialer/Webdialer?destination="&A1,"Dial")

Cisco ATA 187 and fax

ATA 187 does not work well with some fax devices, in our case it is Xerox 7228. The config that works (little bit weird): enable t38 on outgoing and disable on incoming
dial-peer voice 300 voip
no modem passthrough
session target ipv4:
incoming called-number 0T
voice-class codec 1
voice-class h323 1
dtmf-relay h245-alphanumeric
fax-relay sg3-to-g3
fax nsf 000000
fax protocol t38 version 0 ls-redundancy 5 hs-redundancy 2 fallback pass-through g711ulaw
no vad
dial-peer voice 200 voip
destination-pattern 5..
session target ipv4:
voice-class codec 1
voice-class h323 1
dtmf-relay h245-alphanumeric
fax-relay sg3-to-g3
fax nsf 000000
fax protocol pass-through g711ulaw
no vad

update: moved from ATA to FXS card in router and all issues are gone - isn't it a magic? Heh, Cisco?  :)
update2: Cisco made available configurations scenarios:

Cisco IP phone BLF button does not pickup call

Please refer to the Cisco prerequisites for call pickup: I my case there was an issue with the following: "The call pickup group for the monitoring user must contain the pickup group for the monitored destination, or call pickup will fail" Now when the reception and the user extension are in the same or in the inherited groups and it works ok.

Thursday, January 26, 2012

Remote Lync troubleshooting tool

A nice RUCT tool to check yours or partners Lync installation. Can check certificates or DNS records.

Tuesday, January 24, 2012

Sharepoint Designer 2010 error

All of a sudden I was not able to open Intranet DEV site with Sharepoint Designer 2010. It was giving error "The Server could not complete your request" and in the eventlog the error was:
Log Name: Application Source: System.ServiceModel Date: 1/24/2012 2:16:34 PM Event ID: 3 Task Category: WebHost Level: Error Keywords: Classic User: XXX Computer: XXX Description: WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/54467399 Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation. The exception message is: Operation is not valid due to the current state of the object.. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object. at Microsoft.SharePoint.ApplicationRuntime.SPLayoutsMappedFile.MapLayoutsVirtualPath(String virtualPath) at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath) at Microsoft.SharePoint.Publishing.Internal.CmsVirtualPathProvider.GetCacheKey(String virtualPath) at System.Web.Compilation.BuildManager.GetCacheKeyFromVirtualPath(VirtualPath virtualPath, Boolean& keyFromVPP) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetCompiledCustomString(String virtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.GetCompiledCustomString(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath) Process Name: w3wp Process ID: 8476
The solution was according to this post. In web.config just under the line: add the following line: after iisreset I was able to open a site.

update: there might be similar symptoms in case of low memory conditions. -the solution is obvoisly to add RAM.

Monday, January 2, 2012

Yahoo or Google weather on your cisco IP Phone