Publicado en English

Deployment of the Microsoft Windows Malicious Software Removal Tool using OCS

Microsoft Windows Malicious Software Removal Tool allow a quick check for the most common malware on you computer. Windows-KB890830-VX.XX.exe release an updated version of this tool on the second Tuesday of each month. Microsoft Safety Scanner an updated tool that expires 10 days after downloading.

Both executables have same parameter to run it on silent mode:

name-executable.exe /Q

So to execute Microsoft Safety Scanner (as example)  within OCS:

Create a new Package and execute msert-x86.bat with those contents:

msert-x86.exe /Q

Upload as zip, activate, and assign a computer to run it. When execute on the client machine it could fail and give an exit_code

  • EXIT_CODE_6 At least one infection detected. No errors.
  • EXIT_CODE_7 At least one infection was detected, but errors were encountered.
  • EXIT_CODE_10 At least one infection was detected and removed, but a restart is required for complete removal

You can see more exit codes on KB891716 but if you want a more detail you can check %windir%\debug\mrt.log

This software does not create a new entry on the Add/Remove Program list. But I will add and entry on the registry under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RemovalTools\MRT\Version . So to add it on OCS you need to create a registry entry

Registry -> New Data

Name (you choose): MRTVersion

Registry hive:  HKEY_LOCAL_MACHINE

Path of the key: SOFTWARE\Microsoft\RemovalTools\MRT

Name of the key that will be read: Version

You will get a string:  A769BB72-28FC-43C7-BA14-2E44725FED20 (This one is for January 2013)

Publicado en English

Enable remote access Ubuntu 10.04 using command line

To get a desktop enable for remote access you could use the command line to ensure that regarding which of you user have access on the PC you are able to help out in trivial task.

To do so you could run this line as root:

gconftool-2 –direct \
–config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
–type bool \
–set /desktop/gnome/remote_access/enabled true


Sometimes the machines is unattended, so if no user is around to give you access then you will not be able to get that session. To disable the prompt message just type:

 gconftool-2 –direct \
–config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
–type bool \
–set /desktop/gnome/remote_access/prompt_enabled false

This is up to the admin, this could just hide that you access that session, just be careful. This settings has privacy issues.

gconftool-2 –direct \
–config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
–type string \
–set /desktop/gnome/remote_access/icon_visibility never

Publicado en English

HOWTO Account Tracking Konica Minolta C220 under linux

I assume that you have your Konica Minolta Bizhub working fine under linux, but as soon as you enable account track, it stop working under linux (I am on Ubuntu 10.04). Looks like there is a problem on some PJL commands that the linux driver does not forward to the printer, so a solution to this problem is to create a filter that add those. You maybe have a config with at least those elements:

<Printer KONICA-MINOLTA-C360Series>
DeviceURI ipp://
Filter application/vnd.cups-raw 0 –
Filter application/vnd.cups-command 0 commandtops
Filter application/vnd.cups-postscript 0 –

Change that to

<Printer KONICA-MINOLTA-C360Series>
DeviceURI ipp://
Filter application/vnd.cups-raw 0 minolta
Filter application/vnd.cups-command 0 commandtops
Filter application/vnd.cups-postscript 0 minolta

Then create /usr/lib/cups/filter/minolta so it inject some PJL commands. And give it a execute permission chmod +x minolta :


source /etc/cups/ppd/${PRINTER}.km

echo -en «\033%-12345X»
echo -en «@PJL JOB\015\012»
echo -en «@PJL SET KMSECTIONNAME = \»${ACCOUNT_NAME}\»\015\012»
echo -en «@PJL SET KMSECTIONKEY2 = \»${ACCOUNT_PASSWORD}\»\015\012»
echo -en «@PJL SET KMCOETYPE = ${ACCOUNT_COETYPE}\015\012»

cat –

echo -en «\004\033%-12345X\015\012@PJL EOJ\015\012»
echo -en «\033%-12345X»

Then create a file /etc/cups/ppd/ and change name and password to match your setup


I do not take the credit of all this, just found it here:
problem installing driver for Konica Minolta Bizhub 222

Publicado en English

Reduce the size of a dynamic VDI file in VirtualBox

I have got a Virtualbox with debian to build up windows machines using unattended. This virtual HD went up to 54Gb but internaly on 28Gb were used. So when I wanted to move out of that machine it took ages. I wonder if there is a easy way to clean up.
Found it.

start with liveCD,
install zerofree ( apt-get install zerofree)
zerofree /dev/sda1

When finish shutdown the virtual machine and execute on the host system:

VBoxManage modifyhd vdi_file.vdi compact

HOWTO: Reduce the size of a dynamic VDI file in VirtualBox


update:  SytemRescueCD have zerofree installed by default as for version 3.1.0