Fab's AutoBackup forums

Welcome to Fab's AutoBackup technical support forums
Bienvenue sur les forums de support technique de Fab's AutoBackup

You are not logged in.

Announcement


Due to a large amount of fake accounts registrations for advertising purpose (spam), this forum does not accept new registrations any longer.
You can still browse existing threads to find the help you are looking for. If you do not find it and have questions, please use this contact form.

====================================

En raison d'un nombre important d'enregistrements de faux comptes utilisateurs à des fins de spam (publicité non sollicitée), il n'est désormais plus possible de s'enregistrer sur les forums de support technique.
Vous pouvez toujours parcourir les sujets existants pour trouver ce que vous recherchez. Si vous ne trouvez pas l'information et avez des questions, veuillez utiliser ce formulaire de contact.

#1 2019-06-18 18:07:07

Thrakorzog
Member
Registered: 2018-08-23
Posts: 12

Execute remote without desktop interaction

Use Case:

1-man shop running RMM tool to help me remotely access my clients.
Want to script solution using AB4T7Pro
Using the following from a user with no permissions on folders I get no errors, but no backup either:

The following are defined when executing the script and passed to the script:
AB4TFolder
AB4DestFolder
ProfileName


The script is run as the System account:
"%AB4TFolder%\AutoBackup7Pro.exe" /BACKUP /LANGUAGE="ENGLISH" /SOURCEDRIVE=C /TO="%AB4TDestFolder%" /SUBFOLDER=#DATE#\#COMPUTERNAME# /USEVSS /SOURCEUSERSPROFILESNAMES="%ProfileName%" /ALWAYSOVERWRITE /ALL /EXCLUSIONS="*.tmp;*~*.*;*.bak" /LOGSTORAGE="%AB4TDestFolder%"

If the script is run against a network share, then it will likely fail due to permissions (unless the source and destinations are unauthenticated shares, which is not something I do.
But locally this should work.

When I run this from a user with permissions to the proper folders, within the command shell, there is still an interactive window that pops up and displays during progress.

Is there any way to suppress the need for interaction with the desktop?

|<

Last edited by Thrakorzog (2019-06-18 18:08:03)

Offline

#2 2019-06-18 19:15:05

Fab
Administrator
Registered: 2011-05-11
Posts: 1,307

Re: Execute remote without desktop interaction

Thrakorzog wrote:

Use Case:
If the script is run against a network share, then it will likely fail due to permissions (unless the source and destinations are unauthenticated shares, which is not something I do.
But locally this should work.

Since it's not meant to run uwith local system account, the best way to do that would be to run that script from an admin account that's allowed to access network share with full permissions.

Thrakorzog wrote:

When I run this from a user with permissions to the proper folders, within the command shell, there is still an interactive window that pops up and displays during progress.
Is there any way to suppress the need for interaction with the desktop?

Yes, add /SILENT parameter in the command line and it will remain hidden.


Fab

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.028 seconds, 9 queries executed - Memory usage: 508.66 KiB (Peak: 509.3 KiB) ]