WinSys Logo
1.0
  • WinSys - Python tools for the Windows Administrator
  • About WinSys
  • Modules
  • core – Core objects
  • constants
  • exc – Exceptions
  • accounts – Users, Groups, SIDs &c.
  • dialogs – Dialog boxes
  • event_logs – Event Logs
  • fs – Files, Directories, &c.
  • ipc – Interprocess Communication
  • registry – Registry
  • security
  • Miscellaneous
  • Cookbook
    • Using the accounts module
    • Using the asyncio module
    • Using the constants module
    • Using the dialogs module
    • Using the environment module
    • Using the event_logs module
    • Using the fs module
    • Using the ipc module
    • Using the registry module
    • Using the security module
  • ChangeLog
WinSys
  • Docs »
  • Cookbook
  • Edit on GitHub

Cookbook¶

  • Using the accounts module
    • Get the logged-on user’s account
    • Act as another user
    • Create a local user
    • Delete a local user
  • Using the asyncio module
  • Using the constants module
    • Create constants set for file attributes
    • Show file access flags
  • Using the dialogs module
    • Ask the user for input
    • Prompt for a filename to open
  • Using the environment module
    • Dump the current process environment
    • Remove all Python installations from the PATH
  • Using the event_logs module
    • Log an event against an event source
    • List the 10 most recent records in each event log
    • Write to CSV selected events from a remote event log
  • Using the fs module
    • Take ownership of a file
    • Find the sizes of top-level directories
  • Using the ipc module
    • Writing to a network logger
    • Read and write a local mailslot
    • Mailslot as an iterable
  • Using the registry module
    • Copy one registry key to another
    • Find a string in the registry
  • Using the security module
    • Dump the security on a specific file
Next Previous

© Copyright 2013, Tim Golden Revision f099c337.

Built with Sphinx using a theme provided by Read the Docs.