winregrc.scripts package

Submodules

winregrc.scripts.appcompatcache module

Script to extract Application Compatibility Cache information.

winregrc.scripts.appcompatcache.Main()[source]

Entry point of console script to extract AppCompatCache information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

winregrc.scripts.application_identifiers module

Script to extract Windows application identifiers (AppID).

winregrc.scripts.application_identifiers.Main()[source]

Entry point of console script to extract Windows AppIDs.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.application_identifiers.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteApplicationIdentifier(application_identifier)[source]

Writes an application identifier to the output.

Parameters:

application_identifier (ApplicationIdentifier) – application identifier.

winregrc.scripts.cached_credentials module

Script to extract cached credentials.

winregrc.scripts.cached_credentials.Main()[source]

Entry point of console script to extract cached credentials.

Returns:

exit code that is provided to sys.exit().

Return type:

int

winregrc.scripts.catalog module

Script to extract a catalog of Windows Registry keys and values.

winregrc.scripts.catalog.Main()[source]

Entry point of console script to extract Windows Registry catalogs.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.catalog.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteKeyPath(key_path)[source]

Writes a key path to the output.

Parameters:

key_path (str) – key path.

WriteValueDescriptor(value_name, value_data_type)[source]

Writes a value descriptor to the output.

Parameters:
  • value_name (str) – name of the value.

  • value_data_type (str) – data type of the value.

winregrc.scripts.controlpanel_items module

Script to extract Windows control panel items from the Windows Registry.

winregrc.scripts.controlpanel_items.Main()[source]

Entry point of console script to extract control panel items.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.controlpanel_items.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteHeader()[source]

Writes the header to stdout.

WriteKnownFolder(control_panel_item, windows_versions)[source]

Writes the control panel item to stdout.

Parameters:
  • control_panel_item (KnownFolder) – the control panel item.

  • windows_versions (list[str]) – the Windows versions.

winregrc.scripts.delegatefolders module

Script to extract Windows delegate folders from the Windows Registry.

winregrc.scripts.delegatefolders.Main()[source]

Entry point of console script to extract Windows delegate folders.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.delegatefolders.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteDelegateFolder(delegate_folder)[source]

Writes a delegate folder to the output.

Parameters:

delegate_folder (DelegateFolder) – delegate folder.

winregrc.scripts.environment_variables module

Script to extract environment variables.

winregrc.scripts.environment_variables.Main()[source]

Entry point of console script to extract environment variables.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.environment_variables.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteEnvironmentVariable(environment_variable)[source]

Writes an environment variable to the output.

Parameters:

environment_variable (EnvironmentVariable) – environment variable.

winregrc.scripts.eventlog_providers module

Script to extract Windows Event Log providers from the Windows Registry.

winregrc.scripts.eventlog_providers.Main()[source]

Entry point of console script to extract Event Log providers.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.eventlog_providers.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteEventLogProvider(eventlog_provider)[source]

Writes a Event Log provider to the output.

Parameters:

eventlog_provider (EventLogProvider) – Event Log provider.

winregrc.scripts.knownfolders module

Script to extract Windows known folders from the Windows Registry.

winregrc.scripts.knownfolders.Main()[source]

Entry point of console script to extract known folders.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.knownfolders.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteHeader()[source]

Writes the header to stdout.

WriteKnownFolder(known_folder, windows_versions)[source]

Writes the known folder to stdout.

Parameters:
  • known_folder (KnownFolder) – the known folder.

  • windows_versions (list[str]) – the Windows versions.

winregrc.scripts.mounted_devices module

Script to extract Windows mounted devices.

winregrc.scripts.mounted_devices.Main()[source]

Entry point of console script to extract Windows mounted devices.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.mounted_devices.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteMountedDevice(mounted_device)[source]

Writes a mounted device to the output.

Parameters:

mounted_device (MountedDevice) – mounted device.

winregrc.scripts.mru module

Script to extract Most Recently Used (MRU) information.

winregrc.scripts.mru.Main()[source]

Entry point of console script to extract Most Recently Used information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.mru.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteShellItem(fwsi_item)[source]

Writes a shell item to stdout.

Parameters:

fwsi_item (pyfwsi.item) – Shell item.

WriteShellItemList(fwsi_item_list)[source]

Writes a shell item list to stdout.

Parameters:

fwsi_item_list (pyfwsi.item_list) – Shell item list.

winregrc.scripts.msie_zone_info module

Script to extract MSIE zone information.

winregrc.scripts.msie_zone_info.Main()[source]

Entry point of console script to extract MSIE zone information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.msie_zone_info.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteZoneInformation(zone_information)[source]

Writes MSIE zone information to the output.

Parameters:

zone_information (MSIEZoneInformation) – MSIE zone information.

winregrc.scripts.profiles module

Script to extract user profiles.

winregrc.scripts.profiles.Main()[source]

Entry point of console script to extract user profiles.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.profiles.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteUserProfile(user_profile)[source]

Writes an user profile to the output.

Parameters:

user_profile (UserProfile) – user profile.

winregrc.scripts.programscache module

Script to extract the program cache.

winregrc.scripts.programscache.Main()[source]

Entry point of console script to extract the program cache.

Returns:

exit code that is provided to sys.exit().

Return type:

int

winregrc.scripts.sam module

Script to extract Security Account Manager (SAM) information.

winregrc.scripts.sam.Main()[source]

Entry point of console script to extract SAM information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

winregrc.scripts.services module

Script to extract services information.

winregrc.scripts.services.Main()[source]

Entry point of console script to extract services information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.services.StdoutWriter(use_tsv=False)[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteWindowsService(service)[source]

Writes the Windows service to stdout.

Parameters:

service (WindowsService) – Windows service.

__init__(use_tsv=False)[source]

Initializes a stdout output writer.

Parameters:

use_tsv (bool) – True if the output should in tab separated values.

winregrc.scripts.shellfolders module

Script to extract shell folder identifiers.

winregrc.scripts.shellfolders.Main()[source]

Entry point of console script to extract shell folder identifiers.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.shellfolders.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteHeader()[source]

Writes the header to stdout.

WriteShellFolder(shell_folder, windows_versions)[source]

Writes the shell folder to stdout.

Parameters:
  • shell_folder (WindowsShellFolder) – the shell folder.

  • windows_versions (list[str]) – the Windows versions.

winregrc.scripts.srum_extensions module

Script to extract System Resource Usage Monitor (SRUM) extensions.

winregrc.scripts.srum_extensions.Main()[source]

Entry point of console script to extract SRUM extensions.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.srum_extensions.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteSRUMExtension(srum_extension)[source]

Writes a SRUM extension to the output.

Parameters:

srum_extension (SRUMExtension) – SRUM extension.

winregrc.scripts.sysinfo module

Script to extract system information.

winregrc.scripts.sysinfo.Main()[source]

Entry point of console script to extract system information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

winregrc.scripts.syskey module

Script to extract system key.

winregrc.scripts.syskey.Main()[source]

Entry point of console script to extract system key.

Returns:

exit code that is provided to sys.exit().

Return type:

int

winregrc.scripts.task_cache module

Script to extract Task Scheduler Task Cache information.

winregrc.scripts.task_cache.Main()[source]

Entry point of console script to extract Scheduler Task Cache information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

winregrc.scripts.time_zones module

Script to extract tize zone information from the Windows Registry.

class winregrc.scripts.time_zones.CSVFileWriter(path)[source]

Bases: OutputWriter

CSV file output writer.

Close()[source]

Closes the output writer.

Open()[source]

Opens the output writer.

Returns:

True if successful or False if not.

Return type:

bool

WriteText(text)[source]

Writes text.

Parameters:

text (str) – text to write.

WriteTimeZone(time_zone)[source]

Writes a time zone to the output.

Parameters:

time_zone (TimeZone) – time zone.

__init__(path)[source]

Initializes a CSV file output writer.

Parameters:

path (str) – path of the CSV file to write to.

winregrc.scripts.time_zones.Main()[source]

Entry point of console script to extract tize zone information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.time_zones.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteTimeZone(time_zone)[source]

Writes a time zone to the output.

Parameters:

time_zone (TimeZone) – time zone.

winregrc.scripts.type_libraries module

Script to extract type libraries.

winregrc.scripts.type_libraries.Main()[source]

Entry point of console script to extract type libraries.

Returns:

exit code that is provided to sys.exit().

Return type:

int

winregrc.scripts.usbstor module

Script to extract USB storage devices.

winregrc.scripts.usbstor.Main()[source]

Entry point of console script to extract USB storage devices.

Returns:

exit code that is provided to sys.exit().

Return type:

int

class winregrc.scripts.usbstor.StdoutWriter[source]

Bases: StdoutOutputWriter

Stdout output writer.

WriteUserProfile(storage_device)[source]

Writes an USB storage device to the output.

Parameters:

storage_device (UserProfile) – USB storage device.

winregrc.scripts.userassist module

Script to extract UserAssist information.

winregrc.scripts.userassist.Main()[source]

Entry point of console script to extract UserAssist information.

Returns:

exit code that is provided to sys.exit().

Return type:

int

Module contents