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.

Photo

Command Line Options For Erunt


  • Please log in to reply
7 replies to this topic

#1 RknRusty

RknRusty

  • Members
  • 396 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:South Carolina
  • Local time:06:51 PM

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

BC AdBot (Login to Remove)

 


#2 Teenage.Zombiee

Teenage.Zombiee

  • Members
  • 831 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Western Sydney, Australia.
  • Local time:09:51 AM

Posted 06 April 2008 - 12:25 AM

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 rowal5555

rowal5555

    Just enough info to be armed & dangerous...


  • Members
  • 2,644 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:St Kilda, Dunedin. South Island. NZ
  • Local time:12:51 PM

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 RknRusty

RknRusty
  • Topic Starter

  • Members
  • 396 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:South Carolina
  • Local time:06:51 PM

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 mommabear

mommabear

  • Members
  • 492 posts
  • OFFLINE
  •  
  • Local time:06:51 PM

Posted 06 April 2008 - 08:08 AM

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


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 RknRusty

RknRusty
  • Topic Starter

  • Members
  • 396 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:South Carolina
  • Local time:06:51 PM

Posted 06 April 2008 - 08:19 AM

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.

Edited by RknRusty, 06 April 2008 - 08:55 AM.


#7 RknRusty

RknRusty
  • Topic Starter

  • Members
  • 396 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:South Carolina
  • Local time:06:51 PM

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 RknRusty

RknRusty
  • Topic Starter

  • Members
  • 396 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:South Carolina
  • Local time:06:51 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users