Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Back Up Exchange with bat file

Posted on 2001-08-22
8
Medium Priority
?
450 Views
Last Modified: 2012-06-27
HI
I am trying to back up two Exchage Servers, both of them in the same organization, domain and LAN.
The tape is in Server 1, Server 2 have no tapes.
The Back up is Full, circular logging is enabled.
If I use the Back Up Windows Utility there is no problems...but when I perfom back up with a .bat file the Exchage`s Service of Server 2 returns a "Deny Acces" in Log Events and of course backups nothing.

Any ideas??
Thanksss
Julio Saiz
0
Comment
Question by:JSaiz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 2

Expert Comment

by:Xeaza
ID: 6413388
Perhaps your batch file is running without permission to back up the second Exchange server.

If the batch file runs unattended (while you are not logged on) it has to run in the system context of the local machine. This will give it administrative privs on the machine on which it runs (the local machine) but it will have no privs on any other machine.

I don't think the Windows backup utility can back up any server but itself.
0
 

Author Comment

by:JSaiz
ID: 6413530
HI
The backup utility CAN backup the Exchange in Server 2, trust me :)
The Batch file..yes  it runs unattended...I launch it from a WorkStation with Winat so It does not run in local context in any servers, and I only have problems with the Server 2....

Thankss!!!
Julio Saiz
0
 

Accepted Solution

by:
JasonFenwick earned 300 total points
ID: 6417652
check the schedule service is not started logging on as system account. (try with administrator account)
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:JSaiz
ID: 6417945
Well..it sounds nice....just two more questions..
In wich server do you think I have to change the service account??
And How?? :)

Thankss Again!!!
0
 

Expert Comment

by:JasonFenwick
ID: 6421108
You need to change the schedule service on the machine which is running the at command

go to control panel/services

highlight schedule service

click startup

click radio button for using this account

select account from domain and add appropriate password

if all is okay you should receive a message saying user <username> has been granted log on as a service right.
Stop the service and restart.

See how you go.

0
 

Author Comment

by:JSaiz
ID: 6478718
Hi!! sorry for the delay..
I do not know why but I can click on radio button "for using this account"..it is deactivated
I have tried with both users Domain Administrator and MAchine Administrator.

Any ideas??
Thankss a lot

Julio Saiz
0
 

Author Comment

by:JSaiz
ID: 6478787
Well I kown wich is the problem with the Schedule Service..
The machine I run the WinAt is a NT workstation, the service in Worksation is named Task Scheduler and for any any reasons....I can not change the acount in it..
But in a NT Server the service is named Schedule and....surprise!! I can change the account!!!!
So I am going to try run WinAt in the NT server...

Bye!!
Don not worry...the points are sure for you....
 if it works ;)
0
 

Author Comment

by:JSaiz
ID: 6499318
Hi!! The points are for you!!
Just only one thing. I had to uninstall the IE5 from the server in wich run the schedule service. This is because teh IE5 replace the schedule service wiht another one named "Task Schedule" and...surprise you can not change the account in this one.
THANKSS TO ALL!!

Julio Saiz
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question