Backup will not start from.bat file after updating to the Latest version of Avast


Author
Message
kalman8
kalman8
New Member
New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)
Group: Forum Members
Posts: 7, Visits: 13
After you install the latest version of Avast and you try to run a backup from a batch file.
A dialog opens and scrolls saying "a backup or restore operation is in progress".
This is the workaround I used to resolve the problem.

Go toStart, Programs (All Programs), Utilities

Locatethe shortcut to Macrium “Reflect”.

Rightclick on it andselect “Properties

Locatethe “Compatibility”Tab and select it

Clickon “Changesettings for all users at the bottom

At thebottom of the “Compatibility for all users” tab Check “Run thisprogram as an administrator

Clickon Okay

Clickon Okay again.

If youreceive a security warning accept the change.



kalman8
kalman8
New Member
New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)
Group: Forum Members
Posts: 7, Visits: 13

This has been duplicated by me on 20+ computers

Macrium Reflect Version 6.3 .1665

All running Windows 10 Home or Pro Version 1607 build(14.393.693)

A sample of the .bat file is attached. The file wascreated directly from Macrium Reflect.

The first issue is not limited to the batch file, othershave issue running outside of the reflect interface. 

The second issue any schedule job will fail if notconfigured for Windows 10.

The jobs were also created direct from within MacriumReflect.

http://forum.macrium.com/uploads/images/a7b0492c-e1e4-4112-b26b-868c.pnghttp://forum.macrium.com/uploads/images/1cf9c78e-03e8-434b-a80a-caba.png
kalman8
kalman8
New Member
New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)
Group: Forum Members
Posts: 7, Visits: 13
@echo off
REM ******************************************************************************
REM *
REM *
REM * Module Name:   Notebook Drives.bat
REM *
REM * Abstract:      This is a template MSDOS batch file generated by Reflect v6
REM *                Modify to add your own functionality if required
REM *
REM *
REM ******************************************************************************

:again
"C:\utilities\reflect\Reflect.exe" -e -w  -full "C:\Users\Kalman\Documents\Reflect\Notebook Drives.xml" -g

if ERRORLEVEL 3 goto busy
if ERRORLEVEL 2 goto validation_error
if ERRORLEVEL 1 goto backup_error
if ERRORLEVEL 0 goto ok

:busy
REM Will never get here if '-w' switch is used
echo A backup or restore operation is in progress
goto again

:backup_error
REM User cancelling a backup or any other error
echo A Backup error has occured
goto end


:validation_error
REM Command line or XML syntax errors
echo A validation error has occured
goto end


:ok
echo ok!
goto end

:end
Stephen
Stephen
Macrium Representative
Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)
Group: Administrators
Posts: 465, Visits: 8.2K
Hello kalman8,

We will reply to your ticket

Kind Regards

Stephen

Next Webinar

See our reviews on

Trustpilot Logo
Trustpilot Stars


Mark R
Mark R
New Member
New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)
Group: Awaiting Activation
Posts: 4, Visits: 16
My scheduled backups also will not run since I updated my Avast Program. Even after deleting and then rescheduling a new backup, the backup will not run. Even when I try to "run now" an incremental backup nothing runs.
kalman8
kalman8
New Member
New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)
Group: Forum Members
Posts: 7, Visits: 13
Mark:
If you are running Windows 10 these steps below will resolve the task scheduler issue.
I use Classic shell in replace of the windows 10 start menu

Step #1
Go to Start, Programs (All Programs), Utilities

Locate the shortcut to Macrium “Reflect”.

Right click on it and select “Properties”

Locate the “Compatibility”Tab and select it

Click on “Change settings for all users at the bottom”

At the bottom of the “Compatibility for all users” tabCheck “Run this program as an administrator”

Click on Okay

Click on Okay again.

If you receive a security warning accept the change.

#Step #2
Configure the task to run "Configure for: Windows 10"
See image below
http://forum.macrium.com/uploads/images/1cf9c78e-03e8-434b-a80a-caba.png

Stephen
Stephen
Macrium Representative
Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)
Group: Administrators
Posts: 465, Visits: 8.2K
We have reached out to Avast for assistance on this issue

Kind Regards

Stephen

Next Webinar

See our reviews on

Trustpilot Logo
Trustpilot Stars


Stephen
Stephen
Macrium Representative
Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)Macrium Representative (1.2K reputation)
Group: Administrators
Posts: 465, Visits: 8.2K
We have identified the issue and have a workaround. The issue is caused by Avast and the technology it uses to "protect" your computer. Specifically the feature "self-protection".

If you experience this problem please create a support request with Avast and reference this thread. We are more than happy to work with them on a resolution.

The workaround is to disable "self-protection". Please follow these steps:

1) Open Avast
2) Choose "Settings"
3) click on "Troubleshooting"
4) Uncheck "Enable Avast self-defense module"
5) Reboot






Kind Regards

Stephen

Next Webinar

See our reviews on

Trustpilot Logo
Trustpilot Stars


Edited 14 February 2017 11:57 AM by Stephen
Drac144
Drac144
Master
Master (1.6K reputation)Master (1.6K reputation)Master (1.6K reputation)Master (1.6K reputation)Master (1.6K reputation)Master (1.6K reputation)Master (1.6K reputation)Master (1.6K reputation)Master (1.6K reputation)Master (1.6K reputation)
Group: Forum Members
Posts: 1.1K, Visits: 3.8K
I use Avast but still have an older version of the software installed.  Not sure why I was not notified of the newer version.  If there is a resolution to this issue please add a new post to this thread so I can download the newer version without the workaround.

Mike A
Mike A
Macrium Representative
Macrium Representative (331 reputation)Macrium Representative (331 reputation)Macrium Representative (331 reputation)Macrium Representative (331 reputation)Macrium Representative (331 reputation)Macrium Representative (331 reputation)Macrium Representative (331 reputation)Macrium Representative (331 reputation)Macrium Representative (331 reputation)Macrium Representative (331 reputation)
Group: Forum Members
Posts: 133, Visits: 500
All,

Macrium have just released an update (Reflect v6.3.1734). This update works around the issue of Avast blocking scheduled tasks.

Thanks,

Mike.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search