The freezer.utils.winutils Module

class freezer.utils.winutils.DisableFileSystemRedirection[source]

Bases: object

When a 32 bit program runs on a 64 bit operating system the paths to C:/Windows/System32 automatically get redirected to the 32 bit version (C:/Windows/SysWow64), if you really do need to access the contents of System32, you need to disable the file system redirector first.

freezer.utils.winutils.is_windows()[source]
Returns:True if the running platform is windows
freezer.utils.winutils.save_environment(home)[source]

Read the environment from the terminal where the scheduler is initialized and save the environment variables to be reused within the windows service

freezer.utils.winutils.set_environment(home)[source]

Read the environment variables saved by the win_daemon and restore it here for the windows service

freezer.utils.winutils.use_shadow(to_backup, windows_volume)[source]

add the shadow path to the backup directory