<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebLog - Luis Puente &#187; windows</title>
	<atom:link href="http://luispuente.net/wp/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://luispuente.net/wp</link>
	<description>Tengo memoria de Pez , ahora ya no se porque tengo este blog</description>
	<lastBuildDate>Tue, 17 Aug 2010 07:50:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ms Office 2007</title>
		<link>http://luispuente.net/wp/2010/07/ms-office-2007/</link>
		<comments>http://luispuente.net/wp/2010/07/ms-office-2007/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 07:39:10 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=1254</guid>
		<description><![CDATA[Esto es un chiste mal contado. Tengo un Office 2007 corporativo en el que se supone esta en español , me pasan un documento con registro de idioma en ingles y el correcto no sabe que hacer. Ahora con todo un documento con rayas rojas no es agradable de leer , buscando la solución es [...]]]></description>
			<content:encoded><![CDATA[<p>Esto es un chiste mal contado. Tengo un Office 2007 corporativo en el que se supone esta en español , me pasan un documento con registro de idioma en ingles y el correcto no sabe que hacer. Ahora con todo un documento con rayas rojas no es agradable de leer , buscando la solución es elegir a mano el idioma predeterminado.</p>
<p>Inicio &#8211;&gt; Todos los programas &#8211;&gt; Microsoft Office &#8211;&gt; Herramientas de Microsoft Office &#8211;&gt; Microsoft Office 2007 Configuración de idioma</p>
<p>Si esto ya esta en español , nos quedamos sin ideas.</p>
<p>El segundo cartucho es buscar la barra de idioma de Office , es fácil de habilitar con un simple botón derecho en la barra de estado. En mi caso no aparecía  ,  sin ella no puedes cambiar las opciones corrección de todo el documento y palabra a palabra no lo iba hacer.</p>
<p>La solución parte del propio windows ,  normalmente deshabilito todos los idiomas para que las aplicaciones funcionen siempre en español , pero justo para que aparezca la barra de idioma en office hay que tener varios idiomas en el sistema. Habilitamos ingles y en las opciones ocultas la barra de idioma de windows y aparecerá la tan deseada barra de office.</p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/07/ms-office-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crear paquetes CAB</title>
		<link>http://luispuente.net/wp/2010/07/crear-paquetes-cab/</link>
		<comments>http://luispuente.net/wp/2010/07/crear-paquetes-cab/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 10:49:18 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=1248</guid>
		<description><![CDATA[Estas son una horribles herramientas con las que puedes crear paquetes cab instalares para Windows. Al abrirlas te das cuenta que provienen de Windows 98 o anterior , pero para un apuro.
C:\WINDOWS\system32\iexpress.exe
C:\WINDOWS\system32\packager.exe
]]></description>
			<content:encoded><![CDATA[<p>Estas son una horribles herramientas con las que puedes crear paquetes cab instalares para Windows. Al abrirlas te das cuenta que provienen de Windows 98 o anterior , pero para un apuro.<br />
C:\WINDOWS\system32\iexpress.exe<br />
C:\WINDOWS\system32\packager.exe</p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/07/crear-paquetes-cab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS me ha robado la infancia</title>
		<link>http://luispuente.net/wp/2010/07/ms-me-ha-robado-la-infancia/</link>
		<comments>http://luispuente.net/wp/2010/07/ms-me-ha-robado-la-infancia/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 14:44:00 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=1245</guid>
		<description><![CDATA[Si aunque parece mentira me acabo de entera de los comandos que han quitado de Windows que si estaban en MS-Dos , mucho tiempo usando Linux.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/dos_diffs.mspx?mfr=true
Estoy recordando viejos tiempos con los batch , que simples que eran.
]]></description>
			<content:encoded><![CDATA[<p>Si aunque parece mentira me acabo de entera de los comandos que han quitado de Windows que si estaban en MS-Dos , mucho tiempo usando Linux.</p>
<p><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/dos_diffs.mspx?mfr=true" target="_blank">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/dos_diffs.mspx?mfr=true</a></p>
<p>Estoy recordando viejos tiempos con los batch , que simples que eran.</p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/07/ms-me-ha-robado-la-infancia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modificar servicios de windows</title>
		<link>http://luispuente.net/wp/2010/07/modificar-servicios-de-windows/</link>
		<comments>http://luispuente.net/wp/2010/07/modificar-servicios-de-windows/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 16:25:59 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=1241</guid>
		<description><![CDATA[Hoy tenia un serviciod e widnows que se había creado mal , asiq ue intente modificarlo via comandos de consola y me fue imposible. La ayuda del sc.exe y la explicación del error brillan por su ausencia , asi que  revise documentación del registro y bingo , aqui se muede modificar todo.
Ruta de los servicios [...]]]></description>
			<content:encoded><![CDATA[<p>Hoy tenia un serviciod e widnows que se había creado mal , asiq ue intente modificarlo via comandos de consola y me fue imposible. La ayuda del sc.exe y la explicación del error brillan por su ausencia , asi que  revise documentación del registro y bingo , aqui se muede modificar todo.</p>
<p>Ruta de los servicios de windows en el registro</p>
<p><em>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services</em></p>
<p><em>A partir de aqui a cambiar los parametros que  querais de cada servicio<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/07/modificar-servicios-de-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gusano que oculta carpetas</title>
		<link>http://luispuente.net/wp/2010/07/gusano-que-oculta-carpetas/</link>
		<comments>http://luispuente.net/wp/2010/07/gusano-que-oculta-carpetas/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 16:22:52 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=1238</guid>
		<description><![CDATA[Hace un par de dias me di cuenta que un disco duro nuevo USB no me lo reconocia bien mi Windowas del trabajo.  Hace unos minutos una estupida busqueda en google &#8220;windows oculta usb a usuarios&#8221;  descubro que es un gusano de estos toca narices.
Sabiendo  lo que es miro que hay solución y como eso [...]]]></description>
			<content:encoded><![CDATA[<p>Hace un par de dias me di cuenta que un disco duro nuevo USB no me lo reconocia bien mi Windowas del trabajo.  Hace unos minutos una estupida busqueda en google &#8220;windows oculta usb a usuarios&#8221;  descubro que es un gusano de estos toca narices.</p>
<p>Sabiendo  lo que es miro que hay solución y como eso de las licencias libre lo llevo de manera muy formal  , reviso de donde se sacaron la solución los del foro y di con esta pagina:</p>
<p><a href="http://www.perucomputec.com/yoel/para-eliminar-gusanos-de-usb-y-solucion-a-carpetas-ocultas/" target="_blank">http://www.perucomputec.com</a></p>
<p>Se explica muy bien como funciona este &#8220;gusano&#8221; y como lo elimina el VBS que tiene como descarga</p>
<p>Recursos:</p>
<p>Descargar manual de como funciona el virus y como funciona el Script<br />
<a href="http://yaevsito.googlepages.com/virus_script.pdf" target="_blank">http://yaevsito.googlepages.com/virus_script.pdf</a></p>
<p>Descargar  script para eliminar gusano.<br />
<a href="http://yaevsito.googlepages.com/mata_virus.vbs" target="_blank">http://yaevsito.googlepages.com/mata_virus.vbs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/07/gusano-que-oculta-carpetas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Escribiendo &#8220;zeros&#8221;</title>
		<link>http://luispuente.net/wp/2010/06/escribiendo-zeros/</link>
		<comments>http://luispuente.net/wp/2010/06/escribiendo-zeros/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 15:33:20 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[trastos]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=1228</guid>
		<description><![CDATA[Esto es el ultimo intento para recuperar un disco duro con errores detectados por el S.M.A.R.T. Este ha guardado un registro con 5 sectores erróneos así que tras mover todo el contenido a otro disco , le voy aplicar el método de escribir zeros para borrar todo el disco , esto incluye la  tabla [...]]]></description>
			<content:encoded><![CDATA[<p>Esto es el ultimo intento para recuperar un disco duro con errores detectados por el S.M.A.R.T. Este ha guardado un registro con 5 sectores erróneos así que tras mover todo el contenido a otro disco , le voy aplicar el método de escribir zeros para borrar todo el disco , esto incluye la  tabla de particiones ya que reinicia todos los sectores de del disco a cero.<br />
He utilizado la herramienta de Wester Digital &#8220;data lifeguard tools&#8221; , para llegar a ella hay que seleccionar el disco duro que tenemos . Este disco es un LaCie pero no he tenido problemas de compatibilidad</p>
<p><a href="http://support.wdc.com/ls/download/" target="_blank">http://support.wdc.com/ls/download/</a></p>
<p><a href="http://luispuente.net/wp/wp-content/uploads/2010/06/disco_zeros.jpg"><img class="aligncenter size-medium wp-image-1229" title="disco_zeros" src="http://luispuente.net/wp/wp-content/uploads/2010/06/disco_zeros-300x144.jpg" alt="" width="300" height="144" /></a>El tiempo casi 6 horas es para un disco de 500GB de 2,5 pulgadas USB</p>
<p>Al final no funciono</p>
<p><a href="http://luispuente.net/wp/wp-content/uploads/2010/06/smart_info.jpg"><img class="aligncenter size-medium wp-image-1236" title="smart_info" src="http://luispuente.net/wp/wp-content/uploads/2010/06/smart_info-300x250.jpg" alt="" width="300" height="250" /></a>Seguimos con el error , no falla el disco pero si puedes perder ficheros a lo tonto , así que mejor no arriesgar</p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/06/escribiendo-zeros/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Autenticar recurso en windows</title>
		<link>http://luispuente.net/wp/2010/05/autenticar-recurso-en-windows/</link>
		<comments>http://luispuente.net/wp/2010/05/autenticar-recurso-en-windows/#comments</comments>
		<pubDate>Wed, 26 May 2010 07:20:20 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=1131</guid>
		<description><![CDATA[Esto habilita el acceso a un recurso con clave , durante la sesión.
     net use o: \\servidor\carpeta pass /user:login
     copy \\servidor\carpeta\fichero c:\

Ahora tenemos iniciada una sesión en ese recurso compartido y podemos interactuar con el cómodamente. Esto se puede utilizar en bat ejecutado en logon
]]></description>
			<content:encoded><![CDATA[<p>Esto habilita el acceso a un recurso con clave , durante la sesión.</p>
<pre lang="DOS">     net use o: \\servidor\carpeta pass /user:login
     copy \\servidor\carpeta\fichero c:\
</pre>
<p>Ahora tenemos iniciada una sesión en ese recurso compartido y podemos interactuar con el cómodamente. Esto se puede utilizar en bat ejecutado en logon</p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/05/autenticar-recurso-en-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cadenas en Batch</title>
		<link>http://luispuente.net/wp/2010/05/cadenas-en-batch/</link>
		<comments>http://luispuente.net/wp/2010/05/cadenas-en-batch/#comments</comments>
		<pubDate>Thu, 20 May 2010 14:48:29 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=1078</guid>
		<description><![CDATA[Recortar cadenas
por el final
Este código recorta la variable desde el final al principio , según el parámetro -5%
@ECHO OFF
SET cadena=CALIFRAJILISTICO
SET cadena=%cadena:~0,-5%
IF "%cadena%" == "CALIFRAJILI" GOTO BIEN

:MAL
     ECHO MAL
     EXIT /B 1
:BIEN
     ECHO BIEN
     EXIT /B 1
Por el principio
Este código [...]]]></description>
			<content:encoded><![CDATA[<h2>Recortar cadenas</h2>
<h3>por el final</h3>
<p>Este código recorta la variable desde el final al principio , según el parámetro<span style="color: #888888;"><strong> <span style="color: #99cc00;">-5%</span></strong></span></p>
<pre lang="DOS">@ECHO OFF
SET cadena=CALIFRAJILISTICO
SET cadena=%cadena:~0,-5%
IF "%cadena%" == "CALIFRAJILI" GOTO BIEN

:MAL
     ECHO MAL
     EXIT /B 1
:BIEN
     ECHO BIEN
     EXIT /B 1</pre>
<h3>Por el principio</h3>
<p>Este código recorta la variable desde el final al principio , según  el parámetro<strong> -5%</strong></p>
<pre lang="DOS">@ECHO OFF
SET cadena=CALIFRAJILISTICO
SET cadena=%cadena:~,-5%
IF "%cadena%" == "RAJILISTICO" GOTO BIEN

:MAL
     ECHO MAL
     EXIT /B 1
:BIEN
     ECHO BIEN
     EXIT /B 1</pre>
<h3>Concepto</h3>
<p lang="DOS">La combinacion <span style="color: #808000;">0~</span> es la que proporciona le acceso al final de la cadena , como solamente con  <span style="color: #808000;">~</span> nos posiciona al principio</p>
<h2>Sustituir caracteres dentro de cadenas</h2>
<pre lang="DOS">    set variable=+jeje+123</pre>
<p>Basándonos en la cadena anterior vamos a sustituir <span style="text-decoration: underline;"><strong>todos</strong></span> los signos &#8220;+&#8221; por las letras &#8220;P&#8221;. En ese caso hacemos a continuación:</p>
<pre lang="DOS">    set variable=%variable:+=P%</pre>
<p>En este caso, al ejecutar ahora un <code>echo %variable%</code> nos devolverá: <strong>&#8220;PjejeP123&#8243;</strong></p>
<p>Podemos normalizar numeros eliminando los signo de puntuación</p>
<pre lang="DOS">    set variable=8.983.450.567</pre>
<p>si hacemos ahora:</p>
<pre lang="DOS">    set variable=%variable:.=%</pre>
<p>El resultado sera  <strong>&#8220;8983450567&#8243;</strong></p>
<h3>Documentación básica</h3>
<p><a href="http://es.wikipedia.org/wiki/Batch" target="_blank">Batch en Wikipedia</a></p>
<p><a href="http://foro.elhacker.net/scripting/programacion_batch_avanzada_nuevo-t132924.0.html" target="_blank">elhacker.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/05/cadenas-en-batch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Servicos Windows (sc.exe)</title>
		<link>http://luispuente.net/wp/2010/04/servicos-windows-sc-exe/</link>
		<comments>http://luispuente.net/wp/2010/04/servicos-windows-sc-exe/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 11:46:11 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=958</guid>
		<description><![CDATA[Para interaccionar con servicio en Windows existe un comando sc.
Para borrar usamos
sc delete &#8220;Nombre del servicio:&#8221;
Para obtener el nombre del servicio miramos en propiedades


Adjunto la información general del comando obtenida de ss64.com un proyecto licenciado bajo CC  Attribution-Non-Commercial-Share Alike 2.0 UK: England &#38;  Wales
SC.exe (Resource  Kit)
Service Control &#8211; Create, Start, Stop, Query or [...]]]></description>
			<content:encoded><![CDATA[<p>Para interaccionar con servicio en Windows existe un comando sc.<br />
Para borrar usamos<br />
sc delete &#8220;Nombre del servicio:&#8221;</p>
<p>Para obtener el nombre del servicio miramos en propiedades<br />
<a href="http://luispuente.net/wp/wp-content/uploads/2010/04/servicioswin.png"><img class="aligncenter size-medium wp-image-957" title="Servicios Win" src="http://luispuente.net/wp/wp-content/uploads/2010/04/servicioswin-270x300.png" alt="" width="270" height="300" /></a><br />
<span id="more-958"></span><br />
Adjunto la información general del comando obtenida de <a href="http://ss64.com" target="_blank">ss64.com</a> un proyecto licenciado bajo CC  <a href="http://ss64.com/docs/copyright.html" target="_blank"><strong>Attribution-Non-Commercial-Share Alike 2.0 UK: England &amp;  Wales</strong></a></p>
<h3>SC.exe (<a href="http://ss64.com/links/windows.html#kits">Resource  Kit</a>)</h3>
<p>Service Control &#8211; Create, Start, Stop, Query or Delete any Windows <a href="http://ss64.com/nt/syntax-services.html">SERVICE</a>.    The command <em>options</em> for SC are case sensitive.</p>
<pre>Syntax
      SC [\\<em>server</em>] [<em>command</em>] [<em>service_name</em>] [<em>Options</em><em></em>]

Key
   <em>server</em>       : The machine where the service is running

   <em>service_name</em> : The KeyName of the service, this is often but not always
                  the same as the DisplayName shown in Control Panel, Services.
                  You can get the KeyName by running:
                     SC GetKeyName &lt;DisplayName&gt;

   <em>command</em>s:
          <strong>query</strong>  [<em>qryOpt</em>]   Show status
          <strong></strong>queryEx [<em>qryOpt</em>]  Show extended info - pid, flags
          <strong></strong>GetDisplayName    Show the DisplayName
          GetKeyName        Show the ServiceKeyName
          EnumDepend        Show Dependencies
          qc                Show config - dependencies, full path etc
          <strong>start</strong>          START a service.
          <strong>stop</strong>           STOP a service
          pause          PAUSE a service.
          continue       CONTINUE a service.
          create         Create a service. (add it to the registry)
          config         permanently change the service configuration
          delete         Delete a service (from the registry)
          control        Send a control to a service
          interrogate    Send an INTERROGATE control request to a service
          Qdescription   Query the description of a service
          description    Change the description of a service
          Qfailure       Query the actions taken by a service upon failure
          failure        Change the actions taken by a service upon failure
          sdShow         Display a service's security descriptor using SDDL
          SdSet          Sets a service's security descriptor using SDDL

   <em>qryOpt</em>:
          type= driver|service|all
                         Query specific types of service
          state= active|inactive|all
                         Query services in a particular state only
          bufsize= <em>bytes</em>
          ri= <em>resume_index_number</em> (default=0)
          group= <em>groupname</em>
                         Query services in a particular group

   <em>Misc command</em>s that don't require a service name:
          SC  QueryLock  Query the LockStatus for the ServiceManager Database.
                         this will show if a service request is running
          SC  Lock       Lock the Service Database
          SC  BOOT       Values are {ok | bad} Indicates whether to save
                         the last restart configuration as the `last-known-good`
                         restart configuration
   Options
     The CREATE and CONFIG commands allow additional options to be set
     see the build-in help: 'SC create' and 'SC config'</pre>
<p>Note the qryOpt options above are case  sensitive &#8211; they must be entered in lower case, also the position of  spaces and = must be exactly as shown.</p>
<p>The SC command duplicates some aspects of the <a href="http://ss64.com/nt/net.html">NET</a> command      but adds the ability to create a service.<br />
SC query will display if a service  is running, giving output  like this:</p>
<pre>        SERVICE_NAME       : messenger
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE,NOT_PAUSABLE,ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0</pre>
<p>To retrieve    specific information from SC&#8217;s output, <a href="http://ss64.com/nt/syntax-redirection.html">pipe</a> into <a href="http://ss64.com/nt/find.html">FIND</a> or <a href="http://ss64.com/nt/findstr.html">FindStr</a><br />
e.g.</p>
<pre>  C:\&gt; SC query messenger | FIND "STATE" | FIND "STOPPED"

  C:\&gt; SC query messenger | FIND "STATE" | FIND "RUNNING"</pre>
<p>The statements above  will return an <strong> </strong>%ERRORLEVEL% = 1 if the  text is not found</p>
<p>IF errorlevel 1 GOTO :my_subroutine<strong><br />
</strong><br />
The <a href="http://ss64.com/nt/net.html">NET</a> START command can be  used in a similar way to  check if a service is running:</p>
<pre>   NET START | FIND "Service name" &gt; nul
   IF errorlevel 1 ECHO The service is not running</pre>
<p>The service control manager will normally wait up to 30 seconds to  allow a service to start &#8211; you can modify this time (30,000  milliseconds) in the registry</p>
<p>HKLM\SYSTEM\CurrentControlSet\Control<br />
ServicesPipeTimeout  (REG_DWORD)</p>
<p>Some options  only take effect at the point when the service is  started  e.g. the SC config command allows the  executable  of a service to be changed. When the service next starts up  it will run the new executable. Config changes  requires the current  user to have “permission to configure the service”.</p>
<p><strong>Examples:</strong></p>
<pre> SC GetKeyName "task scheduler"
 SC GetDisplayName schedule
 SC start schedule
 SC QUERY schedule
 SC QUERY type= driver
 SC QUERY state= all |findstr "DISPLAY_NAME STATE" &gt;svc_installed.txt
 SC \\myServer CONFIG myService obj= LocalSystem password= mypassword
 SC CONFIG MyService binPath=c:\myprogram.exe obj=".\LocalSystem" password=""</pre>
<p>Watch out for extra spaces:<br />
SC QUERY state= all Works<br />
SC QUERY sTate =all Fails!</p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/04/servicos-windows-sc-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configurar JVM</title>
		<link>http://luispuente.net/wp/2010/03/configurar-jvm/</link>
		<comments>http://luispuente.net/wp/2010/03/configurar-jvm/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 15:27:09 +0000</pubDate>
		<dc:creator>Luis Puente</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WeB]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://luispuente.net/wp/?p=909</guid>
		<description><![CDATA[Buenas hoy toca librarse del típico error :
java.lang.OutOfMemoryError:  Java heap space
Si tenemos una aplicación corporativa con una maquina virtual de java propia  o de sistema y te escupe  el error de memoria. Solo tenemso que buscar el jvm.cfg asociado a nuestra java virtual machine y listo.
&#60;instalación de Java&#62;\jre6\lib\i386\jvm.cfg
-Xmx 3072
-Xms 1536
]]></description>
			<content:encoded><![CDATA[<p>Buenas hoy toca librarse del típico error :</p>
<h3>java.lang.<em>OutOfMemoryError</em>:  <em>Java</em> heap space</h3>
<p>Si tenemos una aplicación corporativa con una maquina virtual de java propia  o de sistema y te escupe  el error de memoria. Solo tenemso que buscar el jvm.cfg asociado a nuestra java virtual machine y listo.</p>
<p>&lt;instalación de Java&gt;\jre6\lib\i386\jvm.cfg</p>
<p>-Xmx 3072<br />
-Xms 1536</p>
]]></content:encoded>
			<wfw:commentRss>http://luispuente.net/wp/2010/03/configurar-jvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
