instalar Service Pack 1 desde linea de comandos w7

julio 1, 2013 § Deja un comentario

windows6.1-KB976932-X64.exe /quiet /nodialog /norestart


Comprobar version de service pack en windows desde la linea de comandos

julio 1, 2013 § 1 comentario

wmic os get servicepackmajorversion

Activar w7 desde la linea de comandos

junio 7, 2013 § Deja un comentario

Open CMD as Administrator (elevated).
slmgr.vbs /inpkey:XXXXX-YYYYY…
slmgr.vbs /ato

hacer tunnel inverso con ssh desde windows

marzo 22, 2013 § Deja un comentario

Buenos dias, si necesitas que accedan desde fuera de un firewall a un ordenador con windows puedes utilizar plink para redireccionar los puertos de un servidor externo a ese pc interno.

HostPublico = servidor linux accesible desde internet

plink -P 22 -l [usuarioSSHenHostPublico]o -pw [contraseñausuario]-C -R PuertoRemoto: [ip_HOSTPublico]

ejemplo para abrir el puerto de vnc del host tras el firewall para que sea accesible desde internet usando nuestro servidor con ip

plink -P 22 -l root -pw contraseñaderoot -C -R 5900:

ni que decir tiene que no recomiendo usar el usuario root para esto.

resetear carga de tonner de impresora brother laser

febrero 20, 2013 § Deja un comentario

Brother MFC-9840 Toner Reset
I like the Brother MFC-9840 printer, but it’s got a really irritating problem: it gives up way to easily when it comes to toner. Often there’s still around 33% of the toner left in the cartridge when the printer comes up with the dreaded “Toner Life End” message.

It appears there are two solutions: #1 (which didn’t work for me) is to tape a bit of black tape over the window of the toner cartridge, or over the hole for the sensor in the toner tray. I left the tape on just in case it would do good in the future.

#2, which I found at proved to solve my problem. Here it is:

With power on, open the toner access main door. You will get a “Cover is Open” message on the LCD.
Press the “Clear/Back” button and you will be taken to the toner “Reset Menu”
You can then scroll through the reset options for the printer’s toner cartridges:
B.TNR-S – Black toner small cartridge (TN-110)
B.TNR-H – Black toner high-capacity cartridge (TN-115)
C.TNR-S – Cyan toner small cartridge (TN-110)
C.TNR-H – Cyan toner high-capacity cartridge (TN-115)
M.TNR-S – Magenta toner small cartridge (TN-110)
M.TNR-H – Magenta toner high-capacity cartridge (TN-115)
Y.TNR-S – Yellow toner small cartridge (TN-110)
Y.TNR-H – Yellow toner high-capacity cartridge (TN-115)
Select the cartridge size you have and the colour you want to reset, and press OK. Since I had small cartridges, I used the S options for all three colours.
Each cartridge must be reset individually. Press “1″ to reset.
Press “Clear/Back” to get out of the menu, then close the door.
According to the link at, this works on the Brother MFC 9440 as well.

I wish I’d found this before I replaced my black toner cartridge!

desactivar updates de java desde linea de comandos

enero 18, 2013 § Deja un comentario

reg add “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” /v EnableJavaUpdate /t REG_DWORD /d 00000000 /f

reg add “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” /v NotifyDownload /t REG_DWORD /d 00000000 /f

cambiar key de office 2010 y activar desde la linea de comandos

noviembre 30, 2012 § Deja un comentario

C:\Program Files\Microsoft Office\Office14>cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

After the Product Key has been inputted, we can run the following command to activate it:

C:\Program Files\Microsoft Office\Office14>cscript ospp.vbs /act