Use run_tool to extract ERUNT
This commit is contained in:
parent
a7779a9c1f
commit
2b2f371482
1 changed files with 5 additions and 8 deletions
|
|
@ -34,12 +34,7 @@ from wk.io import (
|
||||||
non_clobber_path,
|
non_clobber_path,
|
||||||
rename_item,
|
rename_item,
|
||||||
)
|
)
|
||||||
from wk.kit.tools import (
|
from wk.kit.tools import (download_tool, get_tool_path, run_tool)
|
||||||
download_tool,
|
|
||||||
extract_tool,
|
|
||||||
get_tool_path,
|
|
||||||
run_tool,
|
|
||||||
)
|
|
||||||
from wk.log import format_log_path, update_log_path
|
from wk.log import format_log_path, update_log_path
|
||||||
from wk.std import (
|
from wk.std import (
|
||||||
GenericError,
|
GenericError,
|
||||||
|
|
@ -933,8 +928,10 @@ def backup_registry():
|
||||||
raise GenericWarning('Backup already exists.')
|
raise GenericWarning('Backup already exists.')
|
||||||
|
|
||||||
# Backup registry
|
# Backup registry
|
||||||
extract_tool('ERUNT')
|
run_tool(
|
||||||
run_tool('ERUNT', 'ERUNT', backup_path, 'sysreg', 'curuser', 'otherusers')
|
'ERUNT', 'ERUNT', backup_path, 'sysreg', 'curuser', 'otherusers',
|
||||||
|
cbin=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def delete_registry_null_keys():
|
def delete_registry_null_keys():
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue