<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-481909515748309266</id><updated>2014-03-19T21:49:35.494-03:00</updated><category term="Windows Server"/><category term="scripting"/><category term="Active Directory"/><category term="seguridad de la informacion"/><category term="Unix"/><category term="software"/><category term="Best Practices"/><category term="VRA"/><category term="fun"/><category term="Internet"/><category term="Projects"/><category term="WSUS"/><category term="Web"/><category term="Windows"/><category term="certificacion"/><category term="entrenamiento"/><category term="hardware"/><category term="mejores puestos"/><category term="presentaciones"/><category term="trabajos"/><title type='text'>Stuff Testing</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-5029394097044818769</id><published>2014-01-02T12:31:00.000-03:00</published><updated>2014-01-02T12:31:18.789-03:00</updated><title type='text'>Assign fileserver permissions via command line</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Un método ágil para asignar permisos de Filesystem es utilizar el comando acls o iacls.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Esta opción es nativa de Windows por lo que no requiere instalación alguna. Es una herramienta simple y rápida.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Pueden usar este comando directamente en un cmd para asignar los permisos de lectura y &amp;nbsp;escritura de un directorio y sus subdirectorios:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cacls x:\carpeta /C /E /T /G grupo:RWC&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;El utilitario cacls tiene algunas falencias, por lo que Microsoft desarrollo el icacls a partir de Windows Vista.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;El procedimiento con cacls que es un comando estándar y que lo pueden aplicar en cualquier equipo Windows 2003 Server.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Aqui toda la configuración completa:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;Displays or modifies access control lists (ACLs) of files&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;CACLS filename [/T] [/M] [/L] [/S[:SDDL]] [/E] [/C] [/G user:perm]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [/R user [...]] [/P user:perm [...]] [/D user [...]]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; filename &amp;nbsp; &amp;nbsp; &amp;nbsp;Displays ACLs.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /T &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Changes ACLs of specified files in&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the current directory and all subdirectories.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /L &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Work on the Symbolic Link itself versus the target&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /M &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Changes ACLs of volumes mounted to a directory&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /S &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Displays the SDDL string for the DACL.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /S:SDDL &amp;nbsp; &amp;nbsp; &amp;nbsp; Replaces the ACLs with those specified in the SDDL string&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (not valid with /E, /G, /R, /P, or /D).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /E &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Edit ACL instead of replacing it.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Continue on access denied errors.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /G user:perm &amp;nbsp;Grant specified user access rights.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Perm can be: R &amp;nbsp;Read&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;W &amp;nbsp;Write&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C &amp;nbsp;Change (write)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;F &amp;nbsp;Full control&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /R user &amp;nbsp; &amp;nbsp; &amp;nbsp; Revoke specified user&#39;s access rights (only valid with /E).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /P user:perm &amp;nbsp;Replace specified user&#39;s access rights.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Perm can be: N &amp;nbsp;None&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;R &amp;nbsp;Read&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;W &amp;nbsp;Write&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C &amp;nbsp;Change (write)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;F &amp;nbsp;Full control&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; /D user &amp;nbsp; &amp;nbsp; &amp;nbsp; Deny specified user access.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;Wildcards can be used to specify more than one file in a command.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;You can specify more than one user in a command.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;Abbreviations:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; CI - Container Inherit.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The ACE will be inherited by directories.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; OI - Object Inherit.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The ACE will be inherited by files.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; IO - Inherit Only.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The ACE does not apply to the current file/directory.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; ID - Inherited.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The ACE was inherited from the parent directory&#39;s ACL.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/5029394097044818769/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2014/01/assign-fileserver-permissions-via.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5029394097044818769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5029394097044818769'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2014/01/assign-fileserver-permissions-via.html' title='Assign fileserver permissions via command line'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-4351819211692508525</id><published>2013-05-04T13:20:00.000-03:00</published><updated>2013-05-04T13:20:22.422-03:00</updated><title type='text'>Windows: shutdown remoto</title><content type='html'>&lt;br /&gt;Como realizar un shutdown remoto&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;shutdown /r /t 1 /d P:0:0 /m \\192.168.1.5&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c &quot;comment&quot;]]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; No args &amp;nbsp; &amp;nbsp;Display help. This is the same as typing /?.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Display help. This is the same as not typing any options.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /i &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Display the graphical user interface (GUI).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This must be the first option.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /l &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Log off. This cannot be used with /m or /d options.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /s &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Shutdown the computer.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /r &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Shutdown and restart the computer.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /g &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Shutdown and restart the computer. After the system is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rebooted, restart any registered applications.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Abort a system shutdown.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This can only be used during the time-out period.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /p &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Turn off the local computer with no time-out or warning.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Can be used with /d and /f options.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /h &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Hibernate the local computer.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Can be used with the /f option.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /e &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Document the reason for an unexpected shutdown of a computer.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /m \\computer Specify the target computer.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /t xxx &amp;nbsp; &amp;nbsp; Set the time-out period before shutdown to xxx seconds.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The valid range is 0-315360000 (10 years), with a default of 30.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If the timeout period is greater than 0, the /f parameter is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;implied.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /c &quot;comment&quot; Comment on the reason for the restart or shutdown.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Maximum of 512 characters allowed.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /f &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Force running applications to close without forewarning users.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The /f parameter is implied when a value greater than 0 is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;specified for the /t parameter.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /d [p|u:]xx:yy &amp;nbsp;Provide the reason for the restart or shutdown.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p indicates that the restart or shutdown is planned.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u indicates that the reason is user defined.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If neither p nor u is specified the restart or shutdown is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;unplanned.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xx is the major reason number (positive integer less than 256).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yy is the minor reason number (positive integer less than 65536).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Reasons on this computer:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;(E = Expected U = Unexpected P = planned, C = customer defined)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Type &amp;nbsp; &amp;nbsp;Major &amp;nbsp; Minor &amp;nbsp; Title&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;U &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; Other (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; Other (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E P &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; Other (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;U &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; 5 &amp;nbsp; &amp;nbsp; &amp;nbsp; Other Failure: System Unresponsive&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; Hardware: Maintenance (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E P &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; Hardware: Maintenance (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; Hardware: Installation (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E P &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; Hardware: Installation (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; Operating System: Recovery (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E P &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; Operating System: Recovery (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; P &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 &amp;nbsp; &amp;nbsp; &amp;nbsp; Operating System: Upgrade (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; Operating System: Reconfiguration (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E P &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; Operating System: Reconfiguration (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; P &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 16 &amp;nbsp; &amp;nbsp; &amp;nbsp;Operating System: Service pack (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 17 &amp;nbsp; &amp;nbsp; &amp;nbsp;Operating System: Hot fix (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; P &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 17 &amp;nbsp; &amp;nbsp; &amp;nbsp;Operating System: Hot fix (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 18 &amp;nbsp; &amp;nbsp; &amp;nbsp;Operating System: Security fix (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; P &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 18 &amp;nbsp; &amp;nbsp; &amp;nbsp;Operating System: Security fix (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; Application: Maintenance (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E P &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; Application: Maintenance (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E P &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; Application: Installation (Planned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; 5 &amp;nbsp; &amp;nbsp; &amp;nbsp; Application: Unresponsive&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; 6 &amp;nbsp; &amp;nbsp; &amp;nbsp; Application: Unstable&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;U &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; 15 &amp;nbsp; &amp;nbsp; &amp;nbsp;System Failure: Stop error&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;U &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; 19 &amp;nbsp; &amp;nbsp; &amp;nbsp;Security issue&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 5 &amp;nbsp; &amp;nbsp; &amp;nbsp; 19 &amp;nbsp; &amp;nbsp; &amp;nbsp;Security issue&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E P &amp;nbsp; &amp;nbsp; 5 &amp;nbsp; &amp;nbsp; &amp;nbsp; 19 &amp;nbsp; &amp;nbsp; &amp;nbsp;Security issue&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;E &amp;nbsp; &amp;nbsp; &amp;nbsp; 5 &amp;nbsp; &amp;nbsp; &amp;nbsp; 20 &amp;nbsp; &amp;nbsp; &amp;nbsp;Loss of network connectivity (Unplanned)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;U &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp; &amp;nbsp;Power Failure: Cord Unplugged&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;U &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; 12 &amp;nbsp; &amp;nbsp; &amp;nbsp;Power Failure: Environment&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; P &amp;nbsp; &amp;nbsp; 7 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; Legacy API shutdown&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/4351819211692508525/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2013/05/windows-shutdown-remoto.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/4351819211692508525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/4351819211692508525'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2013/05/windows-shutdown-remoto.html' title='Windows: shutdown remoto'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-3574039703859504653</id><published>2013-04-12T13:12:00.002-03:00</published><updated>2013-04-12T13:12:39.099-03:00</updated><title type='text'>Como liberar sesiones en un servidor Windows Standalone</title><content type='html'>&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;A continuación un procedimiento para liberar sesiones en servidores standalone con PSexec:&lt;/span&gt;&lt;br /&gt;  &lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1&lt;/span&gt;&amp;nbsp;&lt;/span&gt;- Iniciar una sesión de cmd remota del server con psexec:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Psexec.exe &lt;a href=&quot;file://x.x.x.x/&quot;&gt;\\x.x.x.x&lt;/a&gt; -u user -p password cmd&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; text-indent: 36pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 36.0pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;2&lt;/span&gt;&amp;nbsp;- Una vez conectado al server ejecutamos el comando &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;qwinsta &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-weight: normal;&quot;&gt;para que nos liste todas las sesiones de Terminal Server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #1f497d; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;font-family: Calibri, sans-serif;&quot;&gt;&amp;nbsp;- &amp;nbsp;Una vez listadas las sesiones de TS elegimos cual queremos cerrar, mirando el ID de la sesión y ejecutamos el comando:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &#39;Courier New&#39;, Courier, monospace; text-indent: 36pt;&quot;&gt;&amp;nbsp; logoff [id# de la session a cerrar] /v&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &#39;Courier New&#39;, Courier, monospace; text-indent: 36pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; text-indent: 36pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; text-indent: 36pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;De esta forma se cierra la/s sesion/es y podemos loguearnos al equipo.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/3574039703859504653/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2013/04/como-liberar-sesiones-en-un-servidor.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3574039703859504653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3574039703859504653'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2013/04/como-liberar-sesiones-en-un-servidor.html' title='Como liberar sesiones en un servidor Windows Standalone'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-8254495016276511971</id><published>2012-12-12T16:52:00.001-03:00</published><updated>2012-12-12T16:53:42.992-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Windows: List files</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The traditional way to list files on Windows is using the dir command. It has a lot of options to use. But the main problem with this is the output. You can redirect the output to a file, but it has a format that is intended only to be viewed and it´s difficult to put the output in a csv or tab format.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If you need to make a list (excel type) the best way to do this is using a script or an app.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Here is a very useful app that can manage a lot of options to get the desired output:&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;background-color: white; color: #6633cc; font-family: Verdana, Arial, Geneva, Helvetica; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: white; color: #6633cc; font-family: Verdana, Arial, Geneva, Helvetica; font-size: 13px;&quot;&gt;Karen&#39;s Directory Printer&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;http://www.karenware.com/powertools/ptdirprn.asp#Download&quot;&gt;http://www.karenware.com/powertools/ptdirprn.asp#Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.karenware.com/powertools/images/ptdirprn.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;245&quot; src=&quot;http://www.karenware.com/powertools/images/ptdirprn.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/8254495016276511971/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/12/windows-list-files.html#comment-form' title='1 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/8254495016276511971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/8254495016276511971'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/12/windows-list-files.html' title='Windows: List files'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-8333310434405438889</id><published>2012-10-05T21:02:00.000-03:00</published><updated>2012-10-05T21:09:14.051-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="scripting"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Windows - net user options</title><content type='html'>&lt;br /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Tahoma, sans-serif; font-size: 13px; text-align: left;&quot;&gt;You can use the following parameters with the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Tahoma, sans-serif; font-size: 13px; text-align: left;&quot;&gt;net user&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Tahoma, sans-serif; font-size: 13px; text-align: left;&quot;&gt;&amp;nbsp;command:&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Tahoma, sans-serif; font-size: 13px; margin: 16px 0px 16px 40px; padding: 0px; position: inherit; text-align: left;&quot;&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;username&lt;/b&gt;&lt;br /&gt;Is the name of the user account you want to add, delete, modify, or view. The name of the user account can have as many as 20 characters.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;password&lt;/b&gt;&lt;br /&gt;Assigns or changes a password for the user&#39;s account. A password must satisfy the minimum length set with the&lt;b&gt;/minpwlen&lt;/b&gt;&amp;nbsp;option of the&amp;nbsp;&lt;b&gt;net accounts&lt;/b&gt;&amp;nbsp;command. It can contain as many as 14 characters.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;*&lt;/b&gt;&lt;br /&gt;Produces a prompt for the password. The password is not displayed when you type it at a password prompt.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/domain&lt;/b&gt;&lt;br /&gt;Performs the operation on the primary domain controller (PDC) of the current domain. This parameter applies only to computers running Windows NT Workstation that are members of a Windows NT Server domain. By default, Windows NT Server-based computers perform operations on the PDC.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/add&lt;/b&gt;&lt;br /&gt;Adds a user account to the user accounts database.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/delete&lt;/b&gt;&lt;br /&gt;Removes a user account from the user accounts database.&lt;/li&gt;&lt;/ul&gt;&lt;h3 id=&quot;tocHeadRef&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Tahoma, sans-serif; font-size: 20px; font-weight: lighter; margin: 15px 0px; padding: 0px; text-align: left;&quot;&gt;Options for the Net User Command&lt;/h3&gt;&lt;ul style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Tahoma, sans-serif; font-size: 13px; margin: 16px 0px 16px 40px; padding: 0px; position: inherit; text-align: left;&quot;&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/active:{yes | no}&lt;/b&gt;&lt;br /&gt;Activates or deactivates the account. If the account is not active, the user cannot gain access to the server. The default is yes.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/comment:&quot;text&quot;&lt;/b&gt;&lt;br /&gt;Provides a descriptive comment about the user&#39;s account (maximum of 48 characters). Be sure to put quotation marks around the text you use.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/countrycode:&lt;var&gt;nnn&lt;/var&gt;&lt;/b&gt;&lt;br /&gt;Uses the operating system country code to implement the specified language files for a user&#39;s help and error messages. A value of 0 signifies the default country code.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/expires:{date | never}&lt;/b&gt;&lt;br /&gt;Causes the account to expire if date is set. The&amp;nbsp;&lt;b&gt;never&lt;/b&gt;&amp;nbsp;option sets no time limit on the account. An expiration date is in the form mm/dd/yy or dd/mm/yy, depending on the country code. Months can be a number, spelled out, or abbreviated with three letters. Year can be two or four numbers. Use slashes (/) with no spaces to separate parts of the date.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/fullname:&quot;&lt;var&gt;name&lt;/var&gt;&quot;&lt;/b&gt;&lt;br /&gt;Is a user&#39;s full name (rather than a user name). Enclose the name in quotation marks.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/homedir:&lt;var&gt;pathname&lt;/var&gt;&lt;/b&gt;&lt;br /&gt;Sets the path for the user&#39;s home directory. The path must exist.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/passwordchg:{yes | no}&lt;/b&gt;&lt;br /&gt;Specifies whether users can change their own password. The default is yes.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/passwordreq:{yes | no}&lt;/b&gt;&lt;br /&gt;Specifies whether a user account must have a password. The default is yes.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/profilepath[:path]&lt;/b&gt;&lt;br /&gt;Sets a path for the user&#39;s logon profile.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/scriptpath:&lt;var&gt;pathname&lt;/var&gt;&lt;/b&gt;&lt;br /&gt;Is the location of the user&#39;s logon script.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/times:{times | all}&lt;/b&gt;&lt;br /&gt;Is the logon hours. The&amp;nbsp;&lt;b&gt;times&lt;/b&gt;&amp;nbsp;option is expressed as day[-day][,day[-day]],time[-time][,time [-time]], and is limited to 1-hour increments. Days can be spelled out or abbreviated. Hours can be 12-hour or 24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. The&amp;nbsp;&lt;b&gt;all&lt;/b&gt;&amp;nbsp;option specifies that a user can always log on, and a blank value specifies that a user can never log on. Separate day and time entries with a comma, and separate multiple day and time entries with a semicolon.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/usercomment:&quot;text&quot;&lt;/b&gt;&lt;br /&gt;Lets an administrator add or change the user comment for the account.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;/workstations:{computername[,...] | *}&lt;/b&gt;&lt;br /&gt;Lists as many as eight computers from which a user can log on to the network. If the&amp;nbsp;&lt;b&gt;/workstations&lt;/b&gt;&amp;nbsp;option has no list or if the list is *, the user can log on from any computer.&lt;/li&gt;&lt;li style=&quot;margin: 0px; padding: 0px; position: inherit;&quot;&gt;&lt;b&gt;net help user | more&lt;/b&gt;&lt;br /&gt;Displays Help one screen at a time.&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Segoe UI, Arial, Verdana, Tahoma, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Segoe UI, Arial, Verdana, Tahoma, sans-serif; font-size: x-small;&quot;&gt;More info on:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://support.microsoft.com/kb/251394&quot;&gt;http://support.microsoft.com/kb/251394&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/8333310434405438889/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/10/windows-net-user-options.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/8333310434405438889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/8333310434405438889'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/10/windows-net-user-options.html' title='Windows - net user options'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-5496650366910335707</id><published>2012-10-04T19:10:00.005-03:00</published><updated>2012-10-04T19:27:11.156-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="scripting"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Export Audit Policy Configuration - Windows</title><content type='html'>&lt;br /&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;secedit command allows to export Security policy configurations besides other acctions.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;The possible actions are:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;configure&amp;nbsp;&lt;/li&gt;&lt;li&gt;analyze&lt;/li&gt;&lt;li&gt;import&lt;/li&gt;&lt;li&gt;export&lt;/li&gt;&lt;li&gt;validate&lt;/li&gt;&lt;li&gt;generaterollback&lt;/li&gt;&lt;/ul&gt;To use secedit you must have a Security Database.&lt;br /&gt;&lt;br /&gt;To create a Security Database (sdb) you must:&lt;br /&gt;&lt;ol dir=&quot;ltr&quot;&gt;&lt;li&gt;&lt;div id=&quot;imcontent&quot;&gt;&lt;span dir=&quot;ltr&quot; style=&quot;color: black; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 10pt; word-wrap: break-word;&quot;&gt;open&amp;nbsp;&quot;mmc&quot; (from start&amp;gt;run&amp;nbsp;just type &quot;mmc&quot;)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div id=&quot;imcontent&quot;&gt;&lt;span dir=&quot;ltr&quot; style=&quot;color: black; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 10pt; word-wrap: break-word;&quot;&gt;click on File &amp;gt; add/remove snap-in&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div id=&quot;imcontent&quot;&gt;&lt;span dir=&quot;ltr&quot; style=&quot;color: black; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 10pt; word-wrap: break-word;&quot;&gt;Select &quot;Security configuration and analysis&quot;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;span dir=&quot;ltr&quot; style=&quot;color: black; direction: ltr; font-family: &amp;quot;Segoe UI&amp;quot;; font-size: 10pt; word-wrap: break-word;&quot;&gt;Button &quot;Add&quot; &amp;amp; &quot;OK&quot;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Right click &amp;amp; New database &amp;amp; Select a name for the database &amp;amp; click open&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Define the policies you would like to export (define any value if you only need to export the configuration. define the propper values if you like to analyze)&lt;/div&gt;&lt;/li&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/ol&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;psexec @filserver.txt secedit /export /db security.sdb /areas SECURITYPOLICY GROUP_MGMT&amp;nbsp; GROUP_MGMT&amp;nbsp; GROUP_MGMT GROUP_MGMT&amp;nbsp; GROUP_MGMT /cfg output.txt &amp;gt;&amp;gt; outputLog.txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;psexec is used to run this command in several computers.&amp;nbsp;The &lt;span style=&quot;font-family: Calibri;&quot;&gt;@filserver.txt file contains a list computers / servers.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/5496650366910335707/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/10/export-audit-policy-configuration.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5496650366910335707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5496650366910335707'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/10/export-audit-policy-configuration.html' title='Export Audit Policy Configuration - Windows'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-1009506688306993898</id><published>2012-08-31T11:36:00.000-03:00</published><updated>2012-08-31T11:36:37.124-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Windows: Local account management</title><content type='html'>&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d; mso-ansi-language: ES-AR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-themecolor: dark2;&quot;&gt;To create a local user massively in a list of servers, you can use this command:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;; mso-ansi-language: ES-AR; mso-themecolor: dark2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Psexec &lt;a href=&quot;file://server1/&quot;&gt;\\server1&lt;/a&gt; net user user01 Pass.128 /ADD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Psexec&amp;nbsp;&lt;a href=&quot;file://server2/&quot;&gt;\\server2&lt;/a&gt;&amp;nbsp;net user user01 Pass.128 /ADD &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: Courier New, Courier, monospace;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d; mso-ansi-language: ES-AR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-themecolor: dark2;&quot;&gt;Use the excel to concatenate the fields, so you can have a full list of command, without typing each server.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d; mso-ansi-language: ES-AR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-themecolor: dark2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d; mso-ansi-language: ES-AR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-themecolor: dark2;&quot;&gt;Then, add the propper permission:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Psexec \\server1 net localgroup administrators /add user01&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &#39;Courier New&#39;;&quot;&gt;Psexec \\server2 net localgroup administrators /add user01&lt;/span&gt;&lt;span style=&quot;color: #1f497d; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-themecolor: dark2;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: Courier New, Courier, monospace;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;If &amp;nbsp;you just want to allow access to a domain user, is pretty similar:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Psexec \\server1 net localgroup administrators /add contoso\user02&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Psexec \\server2 net localgroup administrators /add contoso\user02&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: Courier New;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;Then if you need to remove permissions, issue this command&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Psexec \\server1&amp;nbsp;net localgroup administrators contoso\user02 &amp;nbsp;/delete&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/1009506688306993898/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/08/windows-local-account-management.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/1009506688306993898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/1009506688306993898'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/08/windows-local-account-management.html' title='Windows: Local account management'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-5231716296778763073</id><published>2012-08-09T09:54:00.003-03:00</published><updated>2012-08-09T09:55:38.056-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="seguridad de la informacion"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><category scheme="http://www.blogger.com/atom/ns#" term="VRA"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Web VRA: Google skipfish</title><content type='html'>&lt;i&gt;Skipfish&lt;/i&gt; is an active web application security reconnaissance tool from Google. It prepares an &lt;a href=&quot;http://skipfish.googlecode.com/files/skipfish-screen.png&quot; rel=&quot;nofollow&quot;&gt;interactive sitemap&lt;/a&gt; for the targeted site by carrying out a recursive crawl and dictionary-based probes. The resulting map is then annotated with the output from a number of active (but hopefully non-disruptive) security checks. The final report generated by the tool is meant to serve as a foundation for professional web application security assessments. &lt;br /&gt;Key features: &lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;High speed&lt;/strong&gt;: pure C code, highly optimized HTTP handling, minimal CPU footprint - easily achieving 2000 requests per second with responsive targets. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Ease of use&lt;/strong&gt;: heuristics to support a variety of quirky web frameworks and mixed-technology sites, with automatic learning capabilities, on-the-fly wordlist creation, and form autocompletion. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Cutting-edge security logic&lt;/strong&gt;: high quality, low false positive, differential security checks, capable of spotting a range of subtle flaws, including blind injection vectors. &lt;/li&gt;&lt;/ul&gt;The tool is believed to support Linux, FreeBSD, MacOS X, and Windows (Cygwin) environments. &lt;br /&gt;&lt;br /&gt;Home Page:&lt;br /&gt;&lt;a href=&quot;http://code.google.com/p/skipfish/&quot;&gt;http://code.google.com/p/skipfish/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Wiki Doc:&lt;br /&gt;&lt;a href=&quot;http://code.google.com/p/skipfish/wiki/SkipfishDoc&quot;&gt;http://code.google.com/p/skipfish/wiki/SkipfishDoc&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/5231716296778763073/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/08/web-vra-google-skipfish.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5231716296778763073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5231716296778763073'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/08/web-vra-google-skipfish.html' title='Web VRA: Google skipfish'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-3315385731472200368</id><published>2012-07-19T00:02:00.000-03:00</published><updated>2012-07-19T00:02:06.047-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Best Practices"/><category scheme="http://www.blogger.com/atom/ns#" term="seguridad de la informacion"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Delegar permisos sobre Security logs</title><content type='html'>En los entornos corporativos y sobre todo para los ambientes Windows es muy comun encontrar que las áreas de Auditoría cuyos usuarios no son privilegiados deseen visualizar logs de Seguridad. En Windows Server 2003&amp;nbsp;esto es una tarea algo compleja y riesgosa para lo que nos tiene acostumbrados Microsoft y deberemos utilizar el lenguaje SDDL:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;CUIDADO&lt;/span&gt;: Este procedimiento mal implementado puede&amp;nbsp;impedir el acceso y&amp;nbsp;requiere de reinicio del equipo.&lt;br /&gt;&lt;h2 class=&quot;heading&quot;&gt;Delegating access to the event logs&lt;/h2&gt;&lt;div class=&quot;section&quot; id=&quot;sectionSection1&quot;&gt;In Windows Server® 2003, Windows Vista, and Windows Server® 2008, it is possible to customize the permissions on each event log on a computer. This capability was not available in previous versions of Windows. Some organizations may want to grant read-only access to one or more of the System event logs to some members of the IT team, such as auditors. The access control list (ACL) is stored as a Security Descriptor Definition Language (SDDL) string, in a REG_SZ value called &quot;CustomSD&quot; for each event log in the registry. The following procedure shows how to delegate read-only access for an event log. You will need to repeat this procedure for each event log that you wish to delegate read-only access to by changing the registry key as needed.&lt;br /&gt;&lt;div class=&quot;alert&quot;&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;&lt;img alt=&quot;Caution&quot; id=&quot;Caution&quot; src=&quot;http://technet.microsoft.com/dynimg/IC1429.gif&quot; title=&quot;Caution&quot; xmlns=&quot;&quot; /&gt;Caution &lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;strong&gt;To delegate access to an event log using the registry&lt;/strong&gt;&lt;ol class=&quot;ordered&quot;&gt;&lt;li&gt;Open Registry Editor.&lt;/li&gt;&lt;li&gt;Navigate to the following registry path: &lt;br /&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog&lt;/strong&gt;&lt;br /&gt;You will see that there are keys available for each event log. Select the event log for which you want to delegate read-only access.&lt;/li&gt;&lt;li&gt;Add a new key with the name &lt;strong&gt;CustomSD&lt;/strong&gt; to the event log you selected.&lt;/li&gt;&lt;li&gt;Add a new &lt;strong&gt;String&lt;/strong&gt; value to the &lt;strong&gt;CustomSD&lt;/strong&gt; key. The name of this string is not required, but it represents the access control list for the event log in the Security Descriptor Definition Language (SDDL) syntax. In this procedure this value will be referred to as &lt;em&gt;SDDLACL&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Set the value of the &lt;em&gt;SDDLACL&lt;/em&gt; to the following:&lt;br /&gt;&lt;strong&gt;O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG) (A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x1;;;SU) (A;;0x1;;;S-1-5-3)(A;;0x2;;;LS)(A;;0x2;;;NS)&lt;/strong&gt;&lt;/li&gt;&lt;/ol&gt;Once you edit this value and restart the computer, the new setting will take effect. Be certain that you fully understand SDDL and the default permissions that are placed on each event log before you use this procedure. Also, &lt;span style=&quot;background-color: yellow;&quot;&gt;be certain to test any changes thoroughly before you implement them in a production environment, because you could accidentally configure the ACLs on an event log in such a way that no one could access it&lt;/span&gt;. &lt;/div&gt;&lt;h2 class=&quot;heading&quot;&gt;Additional references&lt;/h2&gt;&lt;div class=&quot;section&quot;&gt;The following links provide additional information about event logging in Windows Server 2003 and Windows Vista:&lt;/div&gt;&lt;div class=&quot;section&quot;&gt;&lt;ul&gt;&lt;li&gt;For more information about how to configure security for event logs in Windows Server 2003, see article 323076 in the Microsoft Knowledge Base (&lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=100968&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=100968&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;For more information about SDDL, see Security Descriptor Definition Language (&lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=100970&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=100970&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;For more information about events in Windows Vista, see Event Viewer and Resulting Internet Communication in Windows Vista (&lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=100973&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=100973&lt;/a&gt;).&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Extraido de:&amp;nbsp;&lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc722385(WS.10).aspx&quot;&gt;http://technet.microsoft.com/en-us/library/cc722385(WS.10).aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Mas info: &lt;a href=&quot;http://support.microsoft.com/default.aspx?scid=kb;en-us;323076&quot;&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;323076&lt;/a&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/3315385731472200368/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/07/delegar-permisos-sobre-security-logs.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3315385731472200368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3315385731472200368'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/07/delegar-permisos-sobre-security-logs.html' title='Delegar permisos sobre Security logs'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-3942736788849134776</id><published>2012-06-21T01:03:00.002-03:00</published><updated>2012-06-21T01:03:35.760-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="software"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Obtener datos de Active Directory desde Excel</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;En el día de hoy tuve la necesidad de buscar información en Active Directory a partir de un listado de usuarios que tenia en excel con &amp;nbsp;información faltante.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;En vez de hacer un script WMI o una consulta utilizando dsget / dsquery, decidí investigar que herramientas existen para hacer busquedas en AD desde excel. Para una grata sorpresa mia encontré la siguiente herramienta gratuita:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://excelldapsearch.sourceforge.net/&quot;&gt;http://excelldapsearch.sourceforge.net/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Hasta ahora rara vez me he encontrado decepcionado con los proyectos hosteados en sourceforge, por lo que me embarque en la prueba.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;El producto se instaló muy bien en mi Windows 7 x64 (english). Luego realicé la customización del archivo ini que se abre al finalizar la instalación.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Los parametros a modificar son:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;En la sección&amp;nbsp;[Connection]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;;#&lt;span style=&quot;background-color: white;&quot;&gt;colocar el servidor que corresponda, perferentemente el mas cercano&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;server=server.dominio.empresa.ccf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;;#dejar el default&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;port=389&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;;#&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;colocar el usuario que corresponda utilizar para conectarse&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;binddn=CN=myUser,OU=AR,OU=Users,OU=Accounts,DC=americas,DC=empresa,DC=ccf&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;bindpw=&amp;lt;password&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;No es necesario utilizar un usuario que sea Domain Admin, solo con un usuario miembro de Users bastará (si es que la configuración de AD es la default)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;En la sección&amp;nbsp;[Search]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;;#&lt;span style=&quot;background-color: white;&quot;&gt;colocar el que corresponda, esto restringe la búsqueda de objetos para que sea mas performante&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;basedn=OU=AR,OU=Users,OU=Accounts,DC=americas,DC=dominio,DC=ccf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;En la sección&amp;nbsp;[LDAP Attribute Descriptions] agregúe esta propiedad que me resulta util&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;manager=Manager&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;En caso de que necesites algún otro atributo que no esté por default en el ini, puede usar la tool AD Explorer de sysinternals (&lt;a href=&quot;http://www.sysinternals.com/&quot;&gt;www.sysinternals.com&lt;/a&gt;&lt;span style=&quot;background-color: white;&quot;&gt;) para browsear el Active Directory y obtener el nombre de todos los atributos de los objetos deseados.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Luego de realizadas estas parametrizaciones, procedemos a abrir el excel y en la opcion Add-ins del ribon aparece Run LDAP Search. (si teniamos el excel abierto es cuestion de cerrarlo y abrirlo para que aparezca la opción)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Con el excel con la información que queremos buscar, abrimos el LDAP Search y le definimos:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Que filas buscar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;En que campo buscarlas&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Cuantas columnas mas hacia la derecha devolver los resultados&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;que atributo/s devolver&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-GLxYKfyJ7CM/T-KceIYBluI/AAAAAAAAAFM/qNkehNHIds8/s1600/LDAP_Search.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;http://4.bp.blogspot.com/-GLxYKfyJ7CM/T-KceIYBluI/AAAAAAAAAFM/qNkehNHIds8/s320/LDAP_Search.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/3942736788849134776/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/06/obtener-datos-de-active-directory-desde.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3942736788849134776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3942736788849134776'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/06/obtener-datos-de-active-directory-desde.html' title='Obtener datos de Active Directory desde Excel'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-GLxYKfyJ7CM/T-KceIYBluI/AAAAAAAAAFM/qNkehNHIds8/s72-c/LDAP_Search.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-518585799173216019</id><published>2012-06-08T20:23:00.001-03:00</published><updated>2012-06-08T20:26:39.827-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Best Practices"/><title type='text'>Teleworkers y sus desafíos</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Al día de hoy gran parte de las empresas se han por lo menos preguntado ¿pueden nuestros empleados trabajar remotamente? Lo que vemos es que en la mayoría de los casos no se encara esta cuestión utilizando un enfoque sistemático. Esta cuestión requiere de la generación de un Bussiness Case y el análisis de la Alta Gerencia. Para entender que beneficios entrega al negocio.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Dependiendo el rubro de la empresa, puede que muchos de nuestros empleados tengan la posibilidad de trabajar remotamente.&amp;nbsp;L&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;os &lt;strong&gt;Beneficios&lt;/strong&gt; típicos para&amp;nbsp;la empresa son a&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;horros en alquileres, consumo eléctiro y&amp;nbsp;acondicionamiento.&amp;nbsp;Por una mayor &lt;strong&gt;eficiencia&lt;/strong&gt; en el uso de los inmuebles&amp;nbsp;por ejmplo&amp;nbsp;podemos tener un edificio&amp;nbsp;con 30 puestos de trabajo y 100 empleados. En este punto la empresa debe elegir el ratio que mejor se&amp;nbsp;adapte y dependiendo el área puede variar. Para el área de Tecnología podemos considerar un ratio de 1:3.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Los &lt;strong&gt;Ahorros&lt;/strong&gt; en costos como consumo eléctrico y refrigeración / calefacción, mantenimiento y limpieza se visualizan debido a la menor cantidad de personas requiriendo estos servicios.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ahora bien, como siempre tenemos &lt;strong&gt;detractores&lt;/strong&gt; que tipicamente dicen cosas como:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Pierdo control de los empleados; a lo que&amp;nbsp;podemos contestarle que debemos medir por performance y no por puntualidad. De nada sirve tener un empleado en su puesto de trabajo si no es productivo. Tambien se consideran los mayores riesgos de seguridad, nada que una poliza de ART no pueda contemplar y asegurar.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ahora, ¿&lt;strong&gt;porque&lt;/strong&gt; deberíamos considerar el Teleworking? Por empezar podríamos comenzar utilizando para casos puntuales como Paros generalizados de transporte, grandes tormentas o alertas meteorológicas, como plan de contingencia para nuestras instalaciones. En estos casos aseguramos que los empleados puedan trabajar desde sus casas sin demoras en el traslado hacia la oficina.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Claro está que tambien es&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;un gran beneficio para otorgar a nuestros empleados.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Como toda novedad plantea&amp;nbsp;algunos&amp;nbsp;&lt;strong&gt;desafíos&lt;/strong&gt; tales como I&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;nstalaciones hogareñas no &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;fiables (internet, electricidad), distracciones (TV, tareas hogareñas, etc), Requiere un cambio de mentalidad de toda la compañia y de Ajustar procesos (convertir procesos físicos en digitales)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Pero para esto no alcanza simplemente con darle un usuario de VPN. Existe una seríe de &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;consideraciones&lt;/strong&gt; y buenas prácticas a tener en cuenta. Por empezar el acceso remoto y seguro (VPN) debe brindar acceso a todos los servicios internos de la empresa. Debemos contar con Herramientas de Mensajería (email, chat, voice-chat) El voice chat debería permitirnos dialogar entre varias personas como si nos juntaramos en una sala &quot;virtual&quot;, Herramientas de colaboración (compartir nuestra pantalla y&amp;nbsp;documentos) y claro está Telefonía.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;La experiencia puede iniciarse y testearse con unos pocos empleados por vez, pero para justificar toda la inversión tecnológica y puesta a punto que se requiere debe estar justificada por un uso significativo.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/518585799173216019/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/06/teleworkers-y-sus-desafios.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/518585799173216019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/518585799173216019'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/06/teleworkers-y-sus-desafios.html' title='Teleworkers y sus desafíos'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total><georss:featurename>Ciudad Autónoma de Buenos Aires, Argentina</georss:featurename><georss:point>-34.669358545245437 -58.447265625</georss:point><georss:box>-41.35647204524544 -68.554687625 -27.982245045245438 -48.339843625</georss:box></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-4167690827681479501</id><published>2012-06-01T11:30:00.000-03:00</published><updated>2012-06-23T19:32:22.837-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Windows Server 2012 Release Candidate</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Windows Server 2012&lt;/b&gt; conocido en nombre código como Windows Server 8 ya cuenta con su release candidate.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Este nuevo SO para Servidores está optimizado para “Cloud”. Ya hemos visto hace poco que Oracle lanzó su nuevo Solaris 11 optimizado para “Cloud” tambien.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;La &lt;b&gt;ERA Cloud&lt;/b&gt; ha comenzado…&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-B63KrD9mB5Q/T-ZD3NeQo6I/AAAAAAAAAFY/R7gVWGf0XKo/s1600/win12_start.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;239&quot; src=&quot;http://3.bp.blogspot.com/-B63KrD9mB5Q/T-ZD3NeQo6I/AAAAAAAAAFY/R7gVWGf0XKo/s320/win12_start.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Download&lt;/b&gt;:&lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/en-us/server-cloud/new.aspx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;http://www.microsoft.com/en-us/server-cloud/new.aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;(Seleccionen la opcion para developers, ya que la otra no está funcionando al momento.)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Requiere procesador 64 bits, ya no mas x86 en servidores.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/4167690827681479501/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/06/windows-server-2012-release-candidate.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/4167690827681479501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/4167690827681479501'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/06/windows-server-2012-release-candidate.html' title='Windows Server 2012 Release Candidate'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-B63KrD9mB5Q/T-ZD3NeQo6I/AAAAAAAAAFY/R7gVWGf0XKo/s72-c/win12_start.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Buenos Aires, Ciudad Autónoma de Buenos Aires, Argentina</georss:featurename><georss:point>-34.6037232 -58.3815931</georss:point><georss:box>-34.7082817 -58.5395216 -34.499164699999994 -58.223664600000006</georss:box></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-7508154190362230527</id><published>2012-01-24T17:30:00.002-03:00</published><updated>2012-06-23T19:34:32.131-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Query local admin name - Consultar el nombre del adminsitrator local</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dado que la cuenta built-in puede ser renombrada es importante para distintas tareas conocer el nombre real del adminsitrator. Tambien puede variar el nombre según el idioma del SO.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Para esto lo mejor es buscar el usuario teniendo en cuenta su SID.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;El &lt;b&gt;SID &lt;/b&gt;del adminsitrator siempre termina en &lt;b&gt;500 &lt;/b&gt;y comienza con S-1-5:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A continuación el&lt;b&gt; script para hacer la consulta&lt;/b&gt;:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;strComputer=&quot;127.0.0.1&quot; &amp;nbsp; &amp;nbsp;&#39; local computer by default &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Set objUser=GetObject(&quot;WinNT://&quot; &amp;amp; strComputer &amp;amp; &quot;/&quot; &amp;amp; GetAdminName &amp;amp; &quot;,user&quot;) &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;msgbox (getAdminName())&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Function GetAdminName &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; Set objNetwork = CreateObject(&quot;Wscript.Network&quot;) &#39;get the current computer name&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; objComputerName = objNetwork.ComputerName &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; Set objwmi = GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!//&quot; &amp;amp; objComputerName)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; qry = &quot;SELECT * FROM Win32_Account where Domain = &#39;&quot; &amp;amp; cstr(objComputerName) &amp;amp; &quot;&#39;&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; For Each Admin in objwmi.ExecQuery(qry) &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if (left(admin.sid, 6) = &quot;S-1-5-&quot; and right(admin.sid,4) = &quot;-500&quot;) then &#39;look for admin sid&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GetAdminName = admin.name&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; end if &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; next &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;end Function&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/7508154190362230527/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/01/query-local-admin-name-consultar-el.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/7508154190362230527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/7508154190362230527'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/01/query-local-admin-name-consultar-el.html' title='Query local admin name - Consultar el nombre del adminsitrator local'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-7811391704346966274</id><published>2012-01-18T21:57:00.001-03:00</published><updated>2012-01-18T21:58:54.893-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Internet"/><title type='text'></title><content type='html'>&lt;br /&gt;&lt;div style=&quot;background-color: black; color: white; font-family: sans-serif; font-size: 2em; font-weight: bold; line-height: 1.5em; text-align: center;&quot;&gt;La libertad de Internet está en peligro&lt;/div&gt;&lt;div style=&quot;background-color: black; color: white; font-family: sans-serif; font-size: 1.2em; line-height: 1.5em; margin-bottom: 0.5em; margin-top: 0.4em; text-align: center;&quot;&gt;La iniciativa de ley&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://es.wikipedia.org/wiki/Stop_Online_Piracy_Act&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Stop Online Piracy Act&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;SOPA&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&amp;nbsp;&lt;i&gt;(Stop Online Piracy Act)&lt;/i&gt;&amp;nbsp;de los Estados Unidos perjudicaría seriamente la libertad de expresión y el carácter abierto de Internet, incluyendo a Wikipedia, en caso de ser aprobada. Otras leyes, como la Ley de Economía Sostenible (Ley Sinde) española y los proyectos de la Ley Lleras (Colombia) y Döring (México) también suponen una amenaza. Con la excusa de proteger los derechos de autor, se permiten medidas que pueden considerarse como censura.&lt;/div&gt;&lt;div style=&quot;background-color: black; color: white; font-family: sans-serif; font-size: 1.2em; line-height: 1.5em; margin-bottom: 0.5em; margin-top: 0.4em; text-align: center;&quot;&gt;&lt;b style=&quot;background-color: black; font-size: 1.3em; line-height: 1.5em;&quot;&gt;¡Internet no debe ser censurada!&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/7811391704346966274/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2012/01/la-libertad-de-internet-esta-en-peligro.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/7811391704346966274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/7811391704346966274'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2012/01/la-libertad-de-internet-esta-en-peligro.html' title=''/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-7195903302405465249</id><published>2011-12-23T13:52:00.003-03:00</published><updated>2011-12-23T13:52:28.388-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="scripting"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Unix Scripting: Create users</title><content type='html'>&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;A continuación comparto un script simple para creación de usuarios en ambientes Unix:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;HOME=/export/home&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;#/export/home&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;if [ $# -eq 4 ]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;then&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo &quot;Creating user $1, nombre $2&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;else&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo &quot;Usage:$0 &amp;lt;\&quot;username\&quot;&amp;gt; &amp;lt;\&quot;Descripcion\&quot;&amp;gt; &amp;lt;\&quot;grupo\&quot;&amp;gt; &amp;lt;\&quot;UID\&quot;&amp;gt; &quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&amp;nbsp; &amp;nbsp; #echo &quot; &amp;nbsp; &amp;nbsp;groups:&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&amp;nbsp; &amp;nbsp; #echo &quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;lista separada por comas de los grupos a los que pertenecerá&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exit 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;user=$1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;nombre=$2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;grupos=$3&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;uid=$4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;sudo /usr/sbin/useradd -c &quot;$nombre&quot; -g $grupos -m -d $HOME/$user -s /bin/sh -u $uid $user&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;if [ $? -ne 0 ]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;then&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exit 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;echo &quot;Setting Password&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;sudo /usr/bin/passwd $user&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;sudo /usr/sbin/usermod -f 90 $user&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;sudo /usr/bin/passwd -n 7 -x 30 -w 7 -f $user&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;sudo /usr/bin/passwd -f $user&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;echo &quot;The user $user has been created&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: arial; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/7195903302405465249/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/12/unix-scripting-create-users.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/7195903302405465249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/7195903302405465249'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/12/unix-scripting-create-users.html' title='Unix Scripting: Create users'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-2177320747244975170</id><published>2011-10-28T10:22:00.002-03:00</published><updated>2011-10-28T10:22:50.040-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VRA"/><title type='text'>FOCA 3</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;There is a new FOCA in town. After six months we got FOCA 3 FREE available for direct download in:&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-indent: 2em;&quot;&gt;&lt;a href=&quot;http://www.informatica64.com/descargas/Foca_Free_3_0_20111027.zip&quot; style=&quot;color: #222222;&quot; target=&quot;_blank&quot;&gt;http://www.informatica64.com/&lt;wbr&gt;&lt;/wbr&gt;descargas/Foca_Free_3_0_&lt;wbr&gt;&lt;/wbr&gt;20111027.zip&lt;/a&gt;&lt;/div&gt;This new version has new fresh look and feel, and it is full of new features that you will love to discover.&amp;nbsp;&lt;div style=&quot;text-indent: 2em;&quot;&gt;&lt;br /&gt;&lt;/div&gt;Also, we would like to remember you that we created MetaShield Protector as a solution to filter metadata in published documents through Windows Server 2008 / 2008 R2, IIS 7.0 / 7.5 and SharePoint 2007, Windows SharePoint Services and SharePoint 2010. More info at:&amp;nbsp;&lt;a href=&quot;http://www.metashieldprotector.com/&quot; style=&quot;color: #222222;&quot; target=&quot;_blank&quot;&gt;http://www.&lt;wbr&gt;&lt;/wbr&gt;metashieldprotector.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy FOCA Lover!</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/2177320747244975170/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/10/foca-3.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/2177320747244975170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/2177320747244975170'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/10/foca-3.html' title='FOCA 3'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-5443275776500716826</id><published>2011-10-05T11:58:00.000-03:00</published><updated>2011-10-05T12:01:20.234-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="seguridad de la informacion"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Windows: Password required vulnerability</title><content type='html'>Hay ciertas cuentas que genera Windows en forma predeterminada que no requieren password y son una vulnerabilidad, ya que es posible utilizarlas sin ingresar su password.&lt;br /&gt;&lt;br /&gt;Para conocer si una cuenta requiere password o no, debemos ejecutar el siguiente comando:&lt;br /&gt;&lt;br /&gt;&amp;gt;net user IUSR_testServer&lt;br /&gt;User name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IUSR_testServer&lt;br /&gt;Full Name&lt;br /&gt;Comment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Built-in account for IIS&lt;br /&gt;User&#39;s comment&lt;br /&gt;Country code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 000 (System Default)&lt;br /&gt;Account active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&lt;br /&gt;Account expires&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Never&lt;br /&gt;Password last set&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/06/2011 11:12:42 p.m.&lt;br /&gt;Password expires&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Never&lt;br /&gt;Password changeable&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/06/2011 11:12:42 p.m.&lt;br /&gt;&lt;span style=&quot;background-color: white; color: red;&quot;&gt;&lt;strong&gt;Password required&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;User may change password&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&lt;br /&gt;Workstations allowed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All&lt;br /&gt;Logon script&lt;br /&gt;User profile&lt;br /&gt;Home directory&lt;br /&gt;Last logon&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/06/2011 11:12:42 p.m.&lt;br /&gt;Logon hours allowed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All&lt;br /&gt;Local Group Memberships&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Users&lt;br /&gt;Global Group memberships&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *None&lt;br /&gt;The command completed successfully.&lt;br /&gt;&lt;br /&gt;Una vez que detectamos estas cuentas debemos analizar si la aplicacion que la usa (En nuestro caso el IIS) puede reconfigurarse y setearle el password para que sea utilizado.&lt;br /&gt;&lt;br /&gt;Una vez realizado este analisis es necesario forzar que requiera password con el siguiente comando:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id=&quot;ColorBandedcontent&quot; style=&quot;clear: both; padding-bottom: 0px; padding-left: 3px; padding-right: 3px; padding-top: 0px; position: relative;&quot;&gt;&lt;div id=&quot;imcontent&quot; style=&quot;margin-left: 12px;&quot;&gt;&lt;br /&gt;&lt;div style=&quot;color: black; direction: ltr; font-family: MS Shell Dlg 2; font-size: 9pt;&quot;&gt;&lt;div&gt;&lt;div id=&quot;ColorBandedcontent&quot; style=&quot;background-color: white; clear: both; padding-bottom: 0px; padding-left: 3px; padding-right: 3px; padding-top: 0px; position: relative;&quot;&gt;&lt;div id=&quot;imcontent&quot; style=&quot;margin-left: 12px;&quot;&gt;&lt;br /&gt;&lt;div&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;border-bottom-color: #00b050; border-left-color: #00b050; border-right-color: #00b050; border-top-color: #00b050; color: #00b050; font-family: &amp;quot;Futura Md&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;net user /passwordreq:yes &lt;i&gt;NombreUsusario&lt;/i&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Una vez realizado esto, es recomendable reiniciar el servicio que utilice este usuario para comprobar que todo siga funcionando sin problemas.&lt;br /&gt;&lt;br /&gt;Tambien será necesario controlar que el IIS tenga el password correcto ingresado en los sites que utilicen dicha cuenta. Si fuera otra aplicación verificar que la aplicación tenga el password correctamente ingresado.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/5443275776500716826/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/10/windows-password-required-vulnerability.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5443275776500716826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5443275776500716826'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/10/windows-password-required-vulnerability.html' title='Windows: Password required vulnerability'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-6175485572028957900</id><published>2011-09-27T11:23:00.001-03:00</published><updated>2011-09-27T11:24:10.291-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="scripting"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><category scheme="http://www.blogger.com/atom/ns#" term="WSUS"/><title type='text'>How to force WSUS updates to install on a computer</title><content type='html'>LA forma de fozar a un computer (workstation o server) a que se comunique con WSUS y descargue los paquetes que tiene pendientes de instalación es reiniciando los servicios que utiliza WSUS:&lt;br /&gt;&lt;br /&gt;Desde un CMD ejcutar lo siguiente:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;net stop &quot;windows installer&quot;&lt;br /&gt;net start &quot;windows installer&quot;&lt;br /&gt;net stop &quot;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;automatic updates&quot;&lt;br /&gt;net start &quot;automatic updates&quot;&lt;br /&gt;net stop &quot;background intelligent Transfer Service&quot;&lt;br /&gt;net start &quot;background intelligent Transfer Service&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Si quieren hacer un vbscript puede hacerlo de la siguiente forma:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&#39;Iniciar servicios de Windows Update&lt;br /&gt;WSHShell.run &quot;cmd.exe /K net stop &quot;&quot;windows installer&quot;&quot; &amp;amp; net start &quot;&quot;windows installer&quot;&quot; &amp;amp; exit&quot;, 1, true&lt;br /&gt;WSHShell.run &quot;cmd.exe /K net stop &quot;&quot;automatic updates&quot;&quot; &amp;amp; net start &quot;&quot;automatic updates&quot;&quot; &amp;amp; exit&quot;, 1, true&lt;br /&gt;WSHShell.run &quot;cmd.exe /K net stop &quot;&quot;background intelligent Transfer Service&quot;&quot; &amp;amp; net start &quot;&quot;background intelligent Transfer Service&quot;&quot; &amp;amp; exit&quot;, 1, true&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Para ver el log de windows update y chequear los mensajes, desde Inicio &amp;gt; Ejecutar peguen esto:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;notepad %WinDir%\WindowsUpdate.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/6175485572028957900/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/09/how-to-force-wsus-updates-to-install-in.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/6175485572028957900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/6175485572028957900'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/09/how-to-force-wsus-updates-to-install-in.html' title='How to force WSUS updates to install on a computer'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-7055351400566640134</id><published>2011-09-10T18:31:00.000-03:00</published><updated>2011-09-10T18:37:19.980-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Unix Hands-on: hardening sendmail</title><content type='html'>En este post algunas recomendaciones de como segurizar sendmail:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;1.&lt;/span&gt; Primero que nada debemos verificar version actual y si requiere upgrade. Esto es lo primero a evaluar en cuanto a seguridad en cualquier producto.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;2.&lt;/span&gt;&amp;nbsp;Para todas &amp;nbsp;estas configuraciones vamos a necesitar trabajar como root.&lt;br /&gt;/usr/local/bin/sudo su - root&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;3. &lt;/span&gt;Vamos a hacer las configuraciones de seguridad del servicio.&lt;br /&gt;-Cambiar el banner que muestra el servicio para que no sea facil detectar que servicio y version estamos usando. Esto sirve para dificultar la detección de vulnerabilidades conocidas.&lt;br /&gt;-Cambiar las privacy options.&lt;br /&gt;&lt;br /&gt;#Muestra config actual&lt;br /&gt;cat /etc/mail/sendmail.cf | grep PrivacyOptions&lt;br /&gt;&lt;br /&gt;#Hago copia de seguridad&lt;br /&gt;cp &amp;nbsp;/etc/mail/sendmail.cf &amp;nbsp;/etc/mail/sendmail.copy_old&lt;br /&gt;&lt;br /&gt;#Reemplazo las PrivacyOptions&lt;br /&gt;sed &#39;&lt;br /&gt;/O PrivacyOptions/ c\&lt;br /&gt;O PrivacyOptions=authwarnings,needmailhelo,needexpnhelo,novrfy,noexpn,restrictqrun,restrictmailq&#39; /etc/mail/sendmail.cf &amp;nbsp;&amp;gt; /etc/mail/sendmail.cf2&lt;br /&gt;mv /etc/mail/sendmail.cf2 &amp;nbsp;/etc/mail/sendmail.cf&lt;br /&gt;&lt;br /&gt;#Reemplazo el banner&lt;br /&gt;sed &quot;s/O SmtpGreetingMessage=\$j Sendmail \$v\/\$Z; \$b/O SmtpGreetingMessage=\$j&amp;nbsp;myOwnMailService/&quot; /etc/mail/sendmail.cf &amp;gt; /etc/mail/sendmail.cf2&lt;br /&gt;mv /etc/mail/sendmail.cf2 &amp;nbsp;/etc/mail/sendmail.cf&lt;br /&gt;&lt;br /&gt;#Restart service Solaris 9&lt;br /&gt;/etc/init.d/sendmail restart&lt;br /&gt;&lt;br /&gt;#Restart service Solaris 10&lt;br /&gt;/usr/sbin/svcadm &amp;nbsp;restart /network/smtp:sendmail&lt;br /&gt;svcs /network/smtp:sendmail&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#Muestra la nueva config&lt;br /&gt;&lt;div&gt;uname -a&lt;/div&gt;&lt;br /&gt;cat /etc/mail/sendmail.cf | grep PrivacyOptions&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/7055351400566640134/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/09/unix-hands-on-hardening-sendmail.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/7055351400566640134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/7055351400566640134'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/09/unix-hands-on-hardening-sendmail.html' title='Unix Hands-on: hardening sendmail'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-614045993486954098</id><published>2011-09-10T18:14:00.002-03:00</published><updated>2011-09-24T14:30:32.399-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Unix Hands-on: ssh keys</title><content type='html'>Las ssh keys nos permiten loguearnos de forma &quot;segura&quot; (no siempre) a los equipos definidos sin tener que ingresar un password. Esto es sobre todo util para usuarios de servicio que deban loguearse a otros equipos a ejecutar comandos.&lt;br /&gt;Decía que no siempre es seguro, ya que depende de como esté configurado el su o sudo. Si el su no pide el password para root o para otros usuarios, es muy sencillo que un usuario no autorizado pueda loguearse en otros equipos utilizando las ssh keys de otro usuario. Por esto es que hay que tener cuidado en como se utilizan las ssh keys; pero sobre todo en como se configura su y sudo.&lt;br /&gt;&lt;br /&gt;#Crear las ssh keys en el equipo cliente&lt;br /&gt;mkdir ~/.ssh chmod 700 ~/.ssh ssh-keygen -q -f ~/.ssh/id_rsa -t rsa&lt;br /&gt;&lt;br /&gt;# upload public key from client to server (o directamente lo apendo a authorized keys como esta abajo)&lt;br /&gt;scp ~/.ssh/id_rsa.pub user@10.195.8.190:.ssh/authorized_keys&lt;br /&gt;&lt;br /&gt;# Setup the public key on server&lt;br /&gt;bash&lt;br /&gt;cd ~&lt;br /&gt;mkdir .ssh&lt;br /&gt;chmod 700 .ssh&lt;br /&gt;&lt;br /&gt;#Inserto mi public key en authorized keys&lt;br /&gt;echo &quot;ssh-rsa AAAB3NzaC1yc2EAAAAOIwAAAIEApF+hzf1x366jjC+qt61R267dtDM36lxIqvw3ICUbNhTNB5wP/628rfWNIdi16MeCxJaufaf42tm2TYrsdGUAKfVCbssmCWJLoRwgeHUzOPIueAHwVkiuyFIG5/EJW7gvvF65pQzXoAXlktq1sWOh7kL8HLGDgUwJe4xlwvDP4Lk= user@client&quot; &amp;gt;&amp;gt; .ssh/authorized_keys&lt;br /&gt;chmod 600 .ssh/authorized_keys&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Nota: ssh keys = llaves ssh (que mal que suena en castellano...)</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/614045993486954098/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/09/unix-hands-on-ssh-keys.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/614045993486954098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/614045993486954098'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/09/unix-hands-on-ssh-keys.html' title='Unix Hands-on: ssh keys'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-3100947127807886832</id><published>2011-09-10T18:07:00.002-03:00</published><updated>2011-09-10T18:35:50.675-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Unix Hands-on: Como habiltiar auth.log</title><content type='html'>En caso que tengamos problemas con un usuario que no puede acceder y no sabemos por que... o seamos conscientes de que el día de mañana podemos llegar a necesitar saber si alguien bloqueo un usuario o estuvo intentando adivinar un password, les paso el método para habilitar el auth.log. o lo que es lo mismo el how to enable auth.log&lt;br /&gt;&lt;br /&gt;#edit syslog&lt;br /&gt;vi /etc/syslog.conf&lt;br /&gt;&lt;br /&gt;#add this line&lt;br /&gt;auth.debug              /var/tmp/auth.log   rotate time 15d&lt;br /&gt;touch /var/tmp/auth.log&lt;br /&gt;chmod 640 /var/tmp/auth.log&lt;br /&gt;&lt;br /&gt;#Finally refresh the syslog daemon&lt;br /&gt;refresh -s syslogd&lt;br /&gt;&lt;br /&gt;#View connections&lt;br /&gt;tail -f /var/tmp/auth.log&lt;br /&gt;&lt;br /&gt;Notar que la rotacion del archivo fue seteado en 15 días, lo que implica que los eventos anteriores a los 15 dias seran removidos en forma automática. Esto es bueno tenerlo en cuenta para no generar un archivo de log demasiado grande.</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/3100947127807886832/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/09/unix-hands-on-como-habiltiar-authlog.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3100947127807886832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3100947127807886832'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/09/unix-hands-on-como-habiltiar-authlog.html' title='Unix Hands-on: Como habiltiar auth.log'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-898540212789197867</id><published>2011-09-10T17:59:00.003-03:00</published><updated>2011-09-10T18:36:51.280-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Unix Hands-on: AIX Security files</title><content type='html'>Los siguientes archivos contienen las principales informaciones necesarias para adminsitrar la seguridad de un equipo&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/etc/passwd&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains the basic attributes of users.&lt;br /&gt;/etc/security/user&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains the extended attributes of users.&lt;br /&gt;/etc/security/user.roles&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains the administrative role attributes of users.&lt;br /&gt;/etc/security/limits&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Defines resource quotas and limits for each user.&lt;br /&gt;/etc/security/environ&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains the environment attributes of users.&lt;br /&gt;/etc/security/audit/config&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains audit configuration information.&lt;br /&gt;/etc/security/lastlog&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains the last login attributes of users.&lt;br /&gt;/etc/group&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains the basic attributes of groups.&lt;br /&gt;/etc/security/group&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains the extended attributes of groups.&lt;br /&gt;/etc/security/login.cfg&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Contains login restrictions and messages.&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/898540212789197867/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/09/unix-hands-on-aix-security-files.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/898540212789197867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/898540212789197867'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/09/unix-hands-on-aix-security-files.html' title='Unix Hands-on: AIX Security files'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-3099309719743549456</id><published>2011-09-08T17:26:00.000-03:00</published><updated>2013-07-25T15:08:31.432-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Como evaluar que bloquea un usuario</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Este post puede servir para identificar quien o que bloquea un usuario de dominio o local.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;1. &lt;/span&gt;Primero ejecutar el tool EventCombMT.exe&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-fPW61FfPzlk/TmkK_8JallI/AAAAAAAAACs/sMBOTxQbqrY/s1600/eventCombMT.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;http://1.bp.blogspot.com/-fPW61FfPzlk/TmkK_8JallI/AAAAAAAAACs/sMBOTxQbqrY/s400/eventCombMT.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;ES-AR&quot;&gt;Nota: Los números de eventos de Seguridad de Windows a utilizar pueden consultarse desde esta URL:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://support.microsoft.com/kb/174074&quot;&gt;http://support.microsoft.com/kb/174074&lt;/a&gt;&amp;nbsp;(Aplica para Windows Server 2003)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://support.microsoft.com/kb/947226&quot;&gt;http://support.microsoft.com/kb/947226&lt;/a&gt; (Aplica para Windows Server 2008)&lt;br /&gt;*Tener en cuenta que en Windows Vista / Server 2008 / Seven / Server 2012 tienen códigos de eventos de Seguridad diferentes a Windows 2003. Lo bueno es que no se solapan, arrancan de una nuemeración distinta a la que posee 2003.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;Nota 2: Descarga del EventCombMT en esta URL:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=18465&quot;&gt;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=18465&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Nota 3: Como utilizar el EventCombMT en esta URL :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://support.microsoft.com/kb/824209&quot;&gt;http://support.microsoft.com/kb/824209&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Una vez que la herramienta finaliza generará un txt en el directorio %temp%. Una linea de ejemplo es la siguiente:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;644,AUDIT SUCCESS,Security,Sat Sep 03 07:07:48 2011,NT AUTHORITY\SYSTEM,User Account Locked Out:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target Account Name: usuario1 &amp;nbsp; &amp;nbsp;Target Account ID: %{S-1-5-21-3880413253-2914564469-1958111818-20410}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Caller Machine Name: server1 Caller User Name: DCServer$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Caller Domain: contoso &amp;nbsp; &amp;nbsp; Caller Logon ID: (0x0,0x3E7) &amp;nbsp; &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Con esto vemos que usuario1 se esta bloqueando en el dominio contoso por una intento fallido de login desde el server1, a traves del Domain Controller DCServer$&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;2.&lt;/span&gt;Analizar en el servidor desde donde se realiza el login (en nuestro ejemplo server1)&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Debemos analizar si:&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d; font-family: Arial, Helvetica, sans-serif;&quot;&gt;El usuario tiene tareas en ejecución logeado (desde un cmd TASKLIST /FI &quot;USERNAME ne usuario1&quot;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Existen procesos que corren con este usuario (services.msc)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Existen tareas programadas (taskschd.msc)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;3.&lt;/span&gt; Si con el paso anterior no encontramos que es lo que bloquea al usuario, analicemos el EventId: 529 para determinar que proceso bloquea el usuario.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;En este caso vemos que el usuario se bloquea desde el Process ID 2592, que corresponde al servicio de Reporting Services&lt;/span&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-fv_2uv_5V_8/TmkPTf3vX4I/AAAAAAAAACw/9LcJOlWLbss/s1600/event.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;http://2.bp.blogspot.com/-fv_2uv_5V_8/TmkPTf3vX4I/AAAAAAAAACw/9LcJOlWLbss/s640/event.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/3099309719743549456/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/09/como-evaluar-que-bloquea-un-usuario.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3099309719743549456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/3099309719743549456'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/09/como-evaluar-que-bloquea-un-usuario.html' title='Como evaluar que bloquea un usuario'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-fPW61FfPzlk/TmkK_8JallI/AAAAAAAAACs/sMBOTxQbqrY/s72-c/eventCombMT.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-5069156366159080046</id><published>2011-09-05T23:14:00.002-03:00</published><updated>2011-09-18T18:35:24.690-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Como delegar permisos de Active Directory</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Para delegar permisos de Active Directory a un grupo de usuarios y no morir en el intento, recomiendo utilizar la herramienta de linea de comando dsacls.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Si utilizan el wizard que ofrece Windows 2003 server, van a encontrar que genera problemas con la herencia la mayoría de las veces.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A continuación un ejemplo del comando applicado en una delegación concreta de permisos sobre un atributo de un objeto user&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 11pt;&quot;&gt;dsacls &quot;OU=Sites,OU=Argentina,DC=dominio,DC=ccf&quot; /I:S /G domino\group:WP;personalTitle;user&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ejemplo para permitir a un grupo modificar la expiracion de los usuarios:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Para delegar el permiso de modificar el atributo accountExpires&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;span lang=&quot;PT-BR&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;dsacls &quot;CN=Pepe,OU=Usuarios,OU=ARGENTINA,DC=dominio,DC=ccf&quot; /I:S /G SA\HelpServicesGroup:RPWP;accountExpires;user &amp;gt;&amp;gt; out.log&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;span lang=&quot;PT-BR&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;span lang=&quot;PT-BR&quot;&gt;Para delegar el permiso de modificar el atributo expirationTime:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;span lang=&quot;PT-BR&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;dsacls &quot;CN=Pepe,OU=Usuarios,OU=ARGENTINA,DC=dominio,DC=ccf&quot; /I:S /G SA\HelpServicesGroup:RPWP;expirationTime;user &amp;gt;&amp;gt; out.log&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;ES-AR&quot;&gt;Se puede poner RP (read) y WP (write) seguidos en una misma línea, como están arriba (RPWP;) y no tener que hacer 2 líneas por separado para cada Property.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;ES-AR&quot;&gt;El “&amp;gt;&amp;gt; out.log” se puede usar para tener registro de los resultados, si vamos a ejecutar muchos comandos juntos. Puede que fallen si el nombre (CN=) tiene caracteres no permitidos (Ñ, &amp;nbsp;comilla simple, etc.).&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #1f497d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 11pt;&quot;&gt;Mas info sobre el comando:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;This article describes how to use the Dsacls.exe tool (Dsacls.exe) to manage access control lists (ACLs) for directory services in Microsoft Windows Server 2003 and Microsoft Windows 2000 Server. Dsacls.exe is a command-line tool that you can use to query the security attributes and to change permissions and security attributes of Active Directory objects. It is the command-line equivalent of the&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;uiterm&quot; style=&quot;font-size: 11px;&quot;&gt;Security&lt;/strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;tab in the Windows Active Directory snap-in tools such as Active Directory Users and Computers and Active Directory Sites and Services.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;Dsacls.exe is included with the Windows Support Tools. To install the Support Tools, run Setup.exe from the Support\Tools folder on the Windows Server 2003 or Windows 2000 Server CD-ROM.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;You can use Dsacls.exe and another Windows Support Tool, ACL Diagnostics (Acldiag.exe), to provide security configuration and diagnosis functionality on Active Directory objects from the command prompt.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-size: 11px;&quot;&gt;Note&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;You can use Dsacls.exe to display and change permissions (access control entries) in the access control list (ACL) of objects in Active Directory Application Mode (ADAM) in Windows Server 2003.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-size: 11px;&quot;&gt;Important&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;Do not use Dsacls.exe to modify permissions if you have implemented a Hosting solution such as Windows-based Hosting, High Volume Exchange (HVE), Hosted Messaging and Collaboration, or Hosted Exchange, or if the customer is using Microsoft Provisioning Service. The Hosting solutions depend on specific security model to isolate the ISP&#39;s customers from each other.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;DsAcls uses the following syntax:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;indent&quot; style=&quot;font-size: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;dsacls&amp;nbsp;&lt;var&gt;object&lt;/var&gt;&amp;nbsp;[/a] [/d {&lt;var&gt;user&lt;/var&gt;&amp;nbsp;|&amp;nbsp;&lt;var&gt;group&lt;/var&gt;}:&lt;var&gt;permissions&lt;/var&gt;&amp;nbsp;[...]] [/g {&lt;var&gt;user&lt;/var&gt;&amp;nbsp;|&amp;nbsp;&lt;var&gt;group&lt;/var&gt;}:&lt;var&gt;permissions&lt;/var&gt;&amp;nbsp;[...]] [/i:{p | s | t}] [/n] [/p:{y | n}] [/r {&lt;var&gt;user&lt;/var&gt;&amp;nbsp;|&amp;nbsp;&lt;var&gt;group&lt;/var&gt;} [...]] [/s [/t]]&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 11px;&quot;&gt;You can use the following parameters with Dsacls.exe:&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;font-size: 11px; position: inherit;&quot;&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;var&gt;object&lt;/var&gt;&lt;/b&gt;: This is the path to the directory services object on which to display or change the ACLs. This path must be a distinguished name (also known as RFC 1779 or x.500 format). For example:&lt;/span&gt;&lt;div class=&quot;indent&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;CN=Someone,OU=Software,OU=Engineering,DC=Microsoft,DC=Com&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To specify a server, add&amp;nbsp;&lt;b&gt;&lt;var&gt;\\Servername\&lt;/var&gt;&lt;/b&gt;&amp;nbsp;before the object. For example:&lt;/span&gt;&lt;div class=&quot;indent&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;\\MyServer\CN=Someone,OU=Software,OU=Engineering,DC=Microsoft,DC=Com&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When you run the&amp;nbsp;&lt;b&gt;dsacls&lt;/b&gt;&amp;nbsp;command with only the&amp;nbsp;&lt;var&gt;&lt;b&gt;object&lt;/b&gt;&lt;/var&gt;&amp;nbsp;parameter (&lt;b&gt;dsacls&amp;nbsp;&lt;var&gt;object&lt;/var&gt;&lt;/b&gt;), the security information about the object is displayed.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/a&amp;nbsp;&lt;/b&gt;: Use this parameter to display the ownership and auditing information with the permissions.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/d&lt;/b&gt;&amp;nbsp;{&lt;var&gt;&lt;b&gt;user&lt;/b&gt;&lt;/var&gt;&amp;nbsp;|&amp;nbsp;&lt;var&gt;&lt;b&gt;group&lt;/b&gt;}&lt;/var&gt;:&lt;var&gt;&lt;b&gt;permissions&lt;/b&gt;&lt;/var&gt;: Use this parameter to deny specified permissions to a user or group.&lt;var&gt;&lt;b&gt;User&lt;/b&gt;&lt;/var&gt;&amp;nbsp;must use either&amp;nbsp;&lt;var&gt;user&lt;/var&gt;@&lt;var&gt;domain&lt;/var&gt;&amp;nbsp;or&amp;nbsp;&lt;var&gt;domain&lt;/var&gt;\&lt;var&gt;user&lt;/var&gt;&amp;nbsp;format, and&amp;nbsp;&lt;var&gt;&lt;b&gt;group&lt;/b&gt;&lt;/var&gt;&amp;nbsp;must use either&amp;nbsp;&lt;var&gt;group&lt;/var&gt;@&lt;var&gt;domain&lt;/var&gt;&amp;nbsp;or&lt;var&gt;domain&lt;/var&gt;\&lt;var&gt;group&lt;/var&gt;&amp;nbsp;format. You can specify more than one user or group in a command. For more information about the correct syntax to use for&amp;nbsp;&lt;var&gt;&lt;b&gt;permissions&lt;/b&gt;&lt;/var&gt;, see the&amp;nbsp;&lt;a href=&quot;http://support.microsoft.com/kb/281146#3&quot; style=&quot;color: #07679a; text-decoration: none;&quot;&gt;&amp;lt;Permissions&amp;gt; Syntax&lt;/a&gt;&amp;nbsp;section later in this article.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/g&lt;/b&gt;&amp;nbsp;{&lt;var&gt;&lt;b&gt;user&lt;/b&gt;&lt;/var&gt;&amp;nbsp;|&amp;nbsp;&lt;var&gt;&lt;b&gt;group&lt;/b&gt;&lt;/var&gt;}:&lt;var&gt;&lt;b&gt;permissions&lt;/b&gt;&lt;/var&gt;: Use this parameter to grant specified permissions to a user or group.&lt;var&gt;&lt;b&gt;User&lt;/b&gt;&lt;/var&gt;&amp;nbsp;must use either&amp;nbsp;&lt;var&gt;user&lt;/var&gt;@&lt;var&gt;domain&lt;/var&gt;&amp;nbsp;or&amp;nbsp;&lt;var&gt;domain&lt;/var&gt;\&lt;var&gt;user&lt;/var&gt;&amp;nbsp;format, and&amp;nbsp;&lt;var&gt;&lt;b&gt;group&lt;/b&gt;&lt;/var&gt;&amp;nbsp;must use either&amp;nbsp;&lt;var&gt;group&lt;/var&gt;@&lt;var&gt;domain&lt;/var&gt;&amp;nbsp;or&lt;var&gt;domain&lt;/var&gt;\&lt;var&gt;group&lt;/var&gt;&amp;nbsp;format. You can specify more than one user or group in a command. For more information about the correct syntax to use for&amp;nbsp;&lt;var&gt;&lt;b&gt;permissions&lt;/b&gt;&lt;/var&gt;, see the&amp;nbsp;&lt;a href=&quot;http://support.microsoft.com/kb/281146#3&quot; style=&quot;color: #07679a; text-decoration: none;&quot;&gt;&amp;lt;Permissions&amp;gt; Syntax&lt;/a&gt;&amp;nbsp;section later in this article.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/i&lt;/b&gt;:{&lt;b&gt;p&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;s&amp;nbsp;&lt;/b&gt;|&amp;nbsp;&lt;b&gt;t&lt;/b&gt;} : Use this parameter to specify one of the following inheritance flags:&lt;/span&gt;&lt;ul style=&quot;position: inherit;&quot;&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;p&lt;/b&gt;: Use this option to propagate inheritable permissions one level only.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;s&lt;/b&gt;: Use this option to propagate inheritable permissions to subobjects only.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;t&lt;/b&gt;: Use this option to propagate inheritable permissions to this object and subobjects.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/n&amp;nbsp;&lt;/b&gt;: Use this parameter to replace the current access on the object, instead of editing it.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/p&lt;/b&gt;:{&lt;b&gt;y&amp;nbsp;&lt;/b&gt;|&amp;nbsp;&lt;b&gt;n&lt;/b&gt;}: This parameter determines whether the object can inherit permissions from its parent objects. If you omit this parameter, the inheritance properties of the object are not changed. Use this parameter to mark the object as protected (&lt;b&gt;y&lt;/b&gt;&amp;nbsp;= yes) or not protected (&lt;b&gt;n&lt;/b&gt;&amp;nbsp;= no).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note&lt;/b&gt;&amp;nbsp;This parameter changes a property of the object, not of an Access Control Entry (ACE). To determine whether an ACE is inheritable, use the /I parameter.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/r&lt;/b&gt;&amp;nbsp;{&lt;var&gt;&lt;b&gt;user&lt;/b&gt;&lt;/var&gt;&amp;nbsp;|&amp;nbsp;&lt;var&gt;&lt;b&gt;group&lt;/b&gt;&lt;/var&gt;}: Use this parameter to remove all permissions for the specified user or group. You can specify more than one user or group in a command.&amp;nbsp;&lt;var&gt;&lt;b&gt;User&lt;/b&gt;&lt;/var&gt;&amp;nbsp;must use either&amp;nbsp;&lt;var&gt;user&lt;/var&gt;@&lt;var&gt;domain&lt;/var&gt;&amp;nbsp;or&amp;nbsp;&lt;var&gt;domain&lt;/var&gt;\&lt;var&gt;user&lt;/var&gt;format, and&amp;nbsp;&lt;var&gt;&lt;b&gt;group&lt;/b&gt;&lt;/var&gt;&amp;nbsp;must use either&amp;nbsp;&lt;var&gt;group&lt;/var&gt;@&lt;var&gt;domain&lt;/var&gt;&amp;nbsp;or&amp;nbsp;&lt;var&gt;domain&lt;/var&gt;\&lt;var&gt;group&lt;/var&gt;&amp;nbsp;format.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/s&lt;/b&gt;: Use this parameter to restore the security on the object to the default security for that object class, as defined in the Active Directory schema.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;/t&amp;nbsp;&lt;/b&gt;: Use this parameter to restore the security on the tree of objects to the default for each object class. This switch is valid only when you also use the&amp;nbsp;&lt;b&gt;/s&lt;/b&gt;&amp;nbsp;parameter.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 id=&quot;tocHeadRef&quot; style=&quot;font-size: 12px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 10px;&quot;&gt;    &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;var&gt;Permissions&amp;nbsp;&lt;/var&gt;Syntax&lt;/b&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=481909515748309266&quot; id=&quot;3&quot; style=&quot;color: #07679a; text-decoration: none;&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h4&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;You must use the following syntax for&amp;nbsp;&lt;/span&gt;&lt;var style=&quot;font-size: 11px;&quot;&gt;&lt;b&gt;&lt;var&gt;permissions&lt;/var&gt;&lt;/b&gt;&lt;/var&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;when you use the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-size: 11px;&quot;&gt;/d&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;var style=&quot;font-size: 11px;&quot;&gt;&lt;b&gt;user&lt;/b&gt;&lt;/var&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;|&amp;nbsp;&lt;/span&gt;&lt;var style=&quot;font-size: 11px;&quot;&gt;&lt;b&gt;group&lt;/b&gt;}&lt;/var&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;:&lt;/span&gt;&lt;var style=&quot;font-size: 11px;&quot;&gt;&lt;b&gt;permissions&lt;/b&gt;&lt;/var&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-size: 11px;&quot;&gt;/g&amp;nbsp;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;{&lt;/span&gt;&lt;var style=&quot;font-size: 11px;&quot;&gt;&lt;b&gt;user&lt;/b&gt;&lt;/var&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;|&lt;/span&gt;&lt;var style=&quot;font-size: 11px;&quot;&gt;&lt;b&gt;group&lt;/b&gt;}&lt;/var&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;:&lt;/span&gt;&lt;var style=&quot;font-size: 11px;&quot;&gt;&lt;b&gt;permissions&lt;/b&gt;&lt;/var&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;parameter :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;indent&quot; style=&quot;font-size: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[&lt;var&gt;PermissionBits&lt;/var&gt;];[{&lt;var&gt;Object|Property&lt;/var&gt;}];[&lt;var&gt;InheritedObjectType&lt;/var&gt;]&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-size: 11px; position: inherit;&quot;&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;var&gt;&lt;b&gt;PermissionBits&lt;/b&gt;&lt;/var&gt;&amp;nbsp;can use any of the following values, which can be concatenated together without spaces:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Generic Permissions&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;indent&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;div class=&quot;kb_nowrapper&quot; style=&quot;display: inline; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: middle;&quot;&gt;&lt;div class=&quot;kb_nowrapper&quot; style=&quot;display: inline; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: middle;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;kb_nowrapper&quot; style=&quot;display: inline; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: middle;&quot;&gt;&lt;/div&gt;&lt;table cellspacing=&quot;1&quot; class=&quot;table&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #7fbae2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 2px; border-left-width: 3px; border-right-width: 3px; border-top-width: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;GR&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Generic Read&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;GE&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Generic Execute&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;GW&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Generic Write&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;GA&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Generic All&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Specific Permissions&lt;/b&gt;&lt;div class=&quot;kb_nowrapper&quot; style=&quot;display: inline; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: middle;&quot;&gt;&lt;div class=&quot;kb_nowrapper&quot; style=&quot;display: inline; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: middle;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;kb_nowrapper&quot; style=&quot;display: inline; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: middle;&quot;&gt;&lt;/div&gt;&lt;table cellspacing=&quot;1&quot; class=&quot;table&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #7fbae2; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 2px; border-left-width: 3px; border-right-width: 3px; border-top-width: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;SD&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Delete&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;DT&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Delete an object and all its child objects.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;RC&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Read security information&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;WD&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Change security information&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;WO&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Change owner information&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;LC&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;List the child objects of an object&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;CC&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Create child object. If {&lt;var&gt;&lt;b&gt;Object&lt;/b&gt;|&lt;b&gt;Property&lt;/b&gt;&lt;/var&gt;} is not specified to define a specific property, this applies to all properties of an object. Otherwise, it applies to the specified property of the object.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;DC&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Delete child object. If {&lt;var&gt;&lt;b&gt;Object&lt;/b&gt;|&lt;b&gt;Property&lt;/b&gt;&lt;/var&gt;} is not specified to define a specific property, this applies to all properties of an object. Otherwise, it applies to the specified property of the object.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;WS&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Write to self object. If {&lt;var&gt;&lt;b&gt;Object&lt;/b&gt;|&lt;b&gt;Property&lt;/b&gt;&lt;/var&gt;} is not specified to define a specific property, this applies to all properties of an object. Otherwise, it applies to the specified property of the object.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;RP&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Read property. If {&lt;var&gt;&lt;b&gt;Object&lt;/b&gt;|&lt;b&gt;Property&lt;/b&gt;&lt;/var&gt;} is not specified to define a specific property, this applies to all properties of an object. Otherwise, it applies to the specified property of the object.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;WP&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Write property. If {&lt;var&gt;Object|Property&lt;/var&gt;} is not specified to define a specific property, this applies to all properties of an object. Otherwise, it applies to the specified property of the object.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;CA&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;Control access right. If {&lt;var&gt;&lt;b&gt;Object&lt;/b&gt;|&lt;b&gt;Property&lt;/b&gt;&lt;/var&gt;} is not specified to define a specific property, this applies to all properties of an object. Otherwise, it applies to the specified property of the object.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;&lt;b&gt;LO&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #f7f7ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: top;&quot;&gt;List the object access. Can be used to grant list access to a specific object if List Children (LC) is not also granted to the parent. Can also be denied on specific objects to hide those objects if the user or group has LC on the parent. By default, Active Directory does not enforce this permission.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;{&lt;var&gt;&lt;b&gt;Object&lt;/b&gt;|&lt;b&gt;Property&lt;/b&gt;&lt;/var&gt;}: This represents the display name of the object type or property. For example, &quot;user&quot; (without the quotation marks) is the display name for user objects, and &quot;telephone number&quot; (without the quotation marks) is the display name for the telephone number property.&lt;br /&gt;&lt;br /&gt;For example, the following command permits the user to create all types of child objects:&lt;/span&gt;&lt;div class=&quot;indent&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;userInput&quot; style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;/G Domain\User:CC&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;However, the following command permits the user to create only child computer objects:&lt;/span&gt;&lt;div class=&quot;indent&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;userInput&quot; style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;/G Domain\User:CC;computer&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;var&gt;&lt;b&gt;InheritedObjectType&lt;/b&gt;&lt;/var&gt;: This represents the display name of the object type by which the permissions are expected to be inherited.&lt;br /&gt;&lt;br /&gt;If an object type is not specified, the permission can be inherited by all object types. This parameter is used only when permissions are inheritable.&lt;br /&gt;&lt;br /&gt;For example, the following command permits all types of objects to inherit the permission:&lt;/span&gt;&lt;div class=&quot;indent&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;userInput&quot; style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;/G Domain\User:CC&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;However, the following command permits only user objects to inherit the permission:&lt;/span&gt;&lt;div class=&quot;indent&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;userInput&quot; style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;/G Domain\User:CC;;user&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b style=&quot;font-size: 11px;&quot;&gt;IMPORTANT&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;: Use&amp;nbsp;&lt;/span&gt;&lt;var style=&quot;font-size: 11px;&quot;&gt;&lt;b&gt;permissions&lt;/b&gt;&lt;/var&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;only when you define object-specific permissions that override the default permissions defined in the Active Directory schema for that object type. Use with caution and only if you have a full understanding of object-specific permissions.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-size: 11px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Examples of&amp;nbsp;&lt;var&gt;Permissions&lt;/var&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=481909515748309266&quot; id=&quot;4&quot; style=&quot;color: #07679a; text-decoration: none;&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;ul style=&quot;font-size: 11px; position: inherit;&quot;&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SDRCWDWO;;user&lt;br /&gt;&lt;br /&gt;This notation represents Delete, Read security information, Change security information, and Change ownership permissions on objects of type &quot;user&quot;.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;CCDC;group;&lt;br /&gt;&lt;br /&gt;This notation represents Create child and Delete child permissions to create or delete objects of type &quot;group&quot;.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;position: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;RPWP;telephonenumber;&lt;br /&gt;&lt;br /&gt;This notation represents Read property and Write property permissions on the telephone number property.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/5069156366159080046/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/09/como-delegar-permisos-de-active.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5069156366159080046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5069156366159080046'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/09/como-delegar-permisos-de-active.html' title='Como delegar permisos de Active Directory'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-481909515748309266.post-5371489325796570038</id><published>2011-08-31T23:14:00.004-03:00</published><updated>2012-06-12T12:23:22.940-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="scripting"/><title type='text'>Listar grupos y usuarios a un txt</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Para listar el contenido de un grupo local de una workstation o server, podemos ejecutar el siguiente comando:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Net localgroup administrators &amp;gt; %temp%\lstUsersAdministrators.txt&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Para hacerlo en un equipo distinto del que estamos trabajando podemos ayudarnos de la tool psexec:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;psexec.exe \\Target net localgroup administrators &amp;gt;&amp;nbsp;%temp%\lstUsersAdministrators.txt&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Para listar todos los usuarios de una workstation o server, podemos ejecutar el siguiente comando:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Net users &amp;gt; %temp%\lstUsers.txt&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pablopagani.com.ar/feeds/5371489325796570038/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.pablopagani.com.ar/2011/08/listar-grupos-y-usuarios-un-txt.html#comment-form' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5371489325796570038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/481909515748309266/posts/default/5371489325796570038'/><link rel='alternate' type='text/html' href='http://www.pablopagani.com.ar/2011/08/listar-grupos-y-usuarios-un-txt.html' title='Listar grupos y usuarios a un txt'/><author><name>Pablo Pagani</name><uri>https://plus.google.com/103509227207299613334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-rOjNoW4JPNk/AAAAAAAAAAI/AAAAAAAAAHk/h0V63jCLWnE/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>