BleepingComputer.com: Command Line Options For Erunt

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Command Line Options For Erunt I want to back up at evert startup

#1 User is offline   RknRusty 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 393
  • Joined: 31-October 07
  • Gender:Male
  • Location:South Carolina

Posted 05 April 2008 - 11:40 PM

At windows startup, I want to run [c:\program files\erunt\autoback.exe] I want it to add the backup files to c:\windows\erdnt and include the current date, as well as to back up the system, current user, and other open user registries.
I read the erunt documentation, but I'm having a bit of trouble.

I tested this at the run menu: [c:\progra~1\erunt\autoback.exe /noconfirmdelete /noprogresswindow c:windows\erdnt #date# sysreg curuser otherusers] (no brackets). Instead of creating the backup at "c:\windows\erdnt\[date]\users...", I found the new backup in a newly created folder in program files, called "windows\erdnt\users...," plus there was no date appended to it. I used autoback instead of erunt because I want it to delete older backups. I guess my command line is wrong.

In any case, can comeone please tell me how to put a command in the start menu so I can backup at every startup to the windows\erdnt folder. Do I make a bat file with the command line? If so, I hope y'all can straighten me out on my command line syntax.

Thanks
Rusty

#2 User is offline   Teenage.Zombiee 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 828
  • Joined: 25-October 07
  • Gender:Female
  • Location:Western Sydney, Australia.

Posted 06 April 2008 - 12:25 AM

Quote

ERUNT command line switches
---------------------------

ERUNT supports command line switches with which you can perform an
automated registry backup, without user interaction. The syntax for
the ERUNT command line is as follows:

ERUNT DestinationFolder [sysreg] [curuser] [otherusers]
[/noconfirmdelete] [/noprogresswindow]

DestinationFolder is required for command line operation of ERUNT,
all other switches are optional.

If you specify a destination folder on the command line, ERUNT
automatically runs in "silent" mode and with default backup options
(system and current user registry). No user interaction is required,
EXCEPT the confirmation of the restore folder deletion if it exists,
or any error messages. The confirmation question can be suppressed
by using /noconfirmdelete (see below).

Description of the command line switches:

DestinationFolder
The name of the folder where the registry backup should be saved.
Example: C:\WINDOWS\ERDNT
You can use the strings #Date# and #Time# anywhere in the folder
name to have ERUNT insert the current date/time at that position.
Example: C:\WINDOWS\ERDNT\#Date#
Windows' %SystemRoot% environment variable can be used on the
command line as a substitute for the name of the Windows folder.
Example: %SystemRoot%\ERDNT\#Date#

sysreg
Backup the system registry

curuser
Backup the current user registry

otherusers
Backup other open user registries

(Note: If none of the three above options is given on the command
line, ERUNT automatically uses the default backup options, system
and current user registry.)

/noconfirmdelete
Automatically deletes the contents of the destination folder if it
exists, without asking the user. BE CAREFUL and only use this option
if you are sure that the contents of that folder may really be
deleted!

/noprogresswindow
Hides the progress window during backup.

So, to backup the system registry to folder C:\ERDNT each day of the
week using subfolders with the name of the current day you could use
the integrated scheduler in Windows to schedule seven different ERUNT
calls for each day:

For Monday you would use the command line
C:\ERUNT\ERUNT.EXE C:\ERDNT\Monday sysreg /noconfirmdelete

For Tuesday you would use the command line
C:\ERUNT\ERUNT.EXE C:\ERDNT\Tuesday sysreg /noconfirmdelete

... well, you get the idea.

Or, to have ERUNT automatically backup the registry on each Windows
startup to a folder named "ERDNT" inside the Windows folder, including
a folder named the current date, you could place a shortcut like the
following in your Start Menu/Programs/Startup folder:

C:\ERUNT\ERUNT.EXE %SystemRoot%\ERDNT\#Date# /noconfirmdelete

If you want old restore folders created this way to be deleted
automatically from time to time, you can use AUTOBACK.EXE instead of
ERUNT.EXE. The AUTOBACK tool is described later in this document.
Also, ERUNT Setup offers the choice to add an AutoBackup shortcut to
the Startup folder automatically during the installation process.


Hope that helps :thumbsup:

more info here
Teenage.Zombiee is back :)
Posted Image

#3 User is offline   rowal5555 

  • Just enough info to be armed & dangerous...
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 2,635
  • Joined: 18-March 06
  • Gender:Male
  • Location:St Kilda, Dunedin. South Island. NZ

Posted 06 April 2008 - 12:39 AM

Running ERUNT with the default settings will back up your registry to Windows/ERDNT automatically at each startup.

You can occasionally delete old files manually, but no big deal.

Cheers
rowal5555 (Rob )                                                             
Avid supporter of Bleeping Computer's
Team 38444

You can help find a cure

 


#4 User is offline   RknRusty 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 393
  • Joined: 31-October 07
  • Gender:Male
  • Location:South Carolina

Posted 06 April 2008 - 05:58 AM

Yeah, like I said, I read all of that documentation. I've been manually deleting the old backups since I installed ERUNT in January.
I guess I'll figure out what I missed and how to run it at startup.

#5 User is offline   mommabear 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 492
  • Joined: 26-November 06

Posted 06 April 2008 - 08:08 AM

Quote

Running ERUNT with the default settings will back up your registry to Windows/ERDNT automatically at each startup.


View PostRknRusty, on Apr 6 2008, 05:58 AM, said:

Yeah, like I said, I read all of that documentation. I've been manually deleting the old backups since I installed ERUNT in January.
I guess I'll figure out what I missed and how to run it at startup.

It might be easier to just uninstall and reinstall ERUNT to do that.

#6 User is offline   RknRusty 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 393
  • Joined: 31-October 07
  • Gender:Male
  • Location:South Carolina

Posted 06 April 2008 - 08:19 AM

View Postmommabear, on Apr 6 2008, 09:08 AM, said:

It might be easier to just uninstall and reinstall ERUNT to do that.


Thanks Mommabear, that was a great help. I'd forgotten there was an option at install.

This post has been edited by RknRusty: 06 April 2008 - 08:55 AM


#7 User is offline   RknRusty 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 393
  • Joined: 31-October 07
  • Gender:Male
  • Location:South Carolina

Posted 06 April 2008 - 08:58 AM

It's not apparent to me from reading the documentation, but it looks like if you use the Autoback.exe in the Start folder, you don't have to use all the other junk in the command line.

#8 User is offline   RknRusty 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 393
  • Joined: 31-October 07
  • Gender:Male
  • Location:South Carolina

Posted 06 April 2008 - 09:13 AM

Not that I need to mess with it now since MommaB helped me out, I'm just curious.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users