API’s para Windows

Aqui estan algunas API’s de Windows para poder Hibernar, bloquear Sesion y muchas cosas mas ejecutando unicamente un comando.

16371

Lista de API’s:

  • Bloquear Terminal
    S.O Compatible: Windows 2K, XP, 2K3, VISTA
    Accion: Bloquear la terminal.

    rundll32.exe user32.dll,LockWorkStatio
    rundll32.exe user32.dll,LockWorkStatio
  • Poner el Equipo en Hibernacion
    S.O Compatible: Windows XP
    Accion: Pasa el equipo a Hibernacion.

    rundll32.exe powrprof.dll,SetSuspendState Hibernat
  • Poner el Equipo en Suspensiond o Hibernacion
    S.O Compatible: Windows XP
    Accion: Pasa el equipo a Hibernacion o Suspension

    rundll32.exe powrprof.dll,SetSuspendState

    NOTA: Nuestro PC entrará entonces en modo se “suspensión” o “hibernación” en función de cómo tengamos definido en:
    Panel de Control->Administracion de Energia ->Avanzado, Cuando pulsamos el boton de “sleep”.

  • Varios…

 

 

 

 


S.O Compatible: Windows XP
Accion: Conjunto de Api’s

Agregar y quitar programas:

RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0

Content Advisor:

RunDll32.exe msrating.dll,RatingSetupUI

Control Panel:

RunDll32.exe shell32.dll,Control_RunDLL

Fecha y hora:

RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl

Opciones de pantalla:

RunDll32.exe shell32.dll,Control_RunDLL access.cpl,,3

Administrador de dispositivos:

RunDll32.exe devmgr.dll DeviceManager_Execute

Asistente para contraseñas perdidas:

RunDll32.exe keymgr.dll,PRShowSaveWizardExW

Hibernar:

RunDll32.exe powrprof.dll,SetSuspendState

Opciones de teclado:

RunDll32.exe shell32.dll,Control_RunDLL main.cpl @1

Bloquear pantalla:

RunDll32.exe user32.dll,LockWorkStation

Opciones de mouse:

RunDll32.exe shell32.dll,Control_RunDLL main.cpl @0

Unidades de red:

RunDll32.exe shell32.dll,SHHelpShortcuts_RunDLL Connect

Conexiones de red:

RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl

Opciones de energia:

RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl

Opciones regionales:

RunDll32.exe shell32.dll,Control_RunDLL intl.cpl,,3

Propiedades del sistema:

RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl

Cuentas de usuarios:

RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl

Windows Security Center:

RunDll32.exe shell32.dll,Control_RunDLL wscui.cpl

Desconectar harware:

RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

Firewall:

RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl