Link to home
Start Free TrialLog in
Avatar of sunhux
sunhux

asked on

Make 7zip / winzip continue running even after Rdp session closes

Sometimes I need to zip up files (usually using 7zip) that are several GB in servers that I Rdp to & it could
take a couple of hours.   However, due to Windows hardening, the Rdp session will time out & the zipping
would stop

How can we do the zipping even without an Rdp session on?  Clicking the "Background" option does not
help as it will still end the zipping when Rdp closes.

Do provide exact command syntax where needed & ideally I can specify how many cores of CPU to use
(so as not to hog the CPU) as what I would usually do in 7zip's FM (File Manager menu)
SOLUTION
Avatar of David Sankovsky
David Sankovsky
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kimputer
Kimputer

I would try the scheduled tasks way. Select Run Task now, and then log off. The task should be able to finish now.
Avatar of sunhux

ASKER

> scheduled tasks way. Select Run Task now,
Care to elaborate what do I need to click to get to "select run Task now" ?

& what would be the exact 7zip's command to paste into "Select Run Task Now"?



For our disconnected Rdp, when I relogin say 30 mins later, the job ceased to run.
I heard our Win2008 R2 is hardened via GPO policy which which I'm not at liberty
to get the sysadmins to unharden
To run, have it set up in the Scheduled Tasks. In the Task Scheduler Library, find your job, right mouse click on it, Run.

The exact command you can lookup yourself. Find the 7z.exe file in Program Files (or (x86) if 32 bits install on 64bits Windows) in the command box. When typing in 7z (enter) you will get a list of command options/switches.

examples, add files to specific archive
full path\7z.exe a c:\temp1\archive.7z c:\temp2\*.jpg

to extract:
full path\7z.exe x c:\temp1\archive.7z -oc:\temp2\
Avatar of sunhux

ASKER

Thanks for the 7zip sample commands.

Can I request for examples for the options for splitting into 10MB volumes of the
zip & the compression level (Ultra, high, etc) ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial