freezer.utils.winutils module

class freezer.utils.winutils.DisableFileSystemRedirection

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()
Returns

True if the running platform is windows

freezer.utils.winutils.save_environment(home)

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)

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)

add the shadow path to the backup directory