Solved

Need to run DriveImage XML batch file as administrator from low-level user environment

Posted on 2008-06-12
3
1,109 Views
Last Modified: 2010-05-18
I am needing to create images of all my domain workstations once a week.  I want to use DriveImage XML to perform this tack becuase is it free.  The issue is that all of the computers are logged in with low-level domain users (no local or domain admin rights).  I have created a successful batch file that launches DriveImage and completes the entire image backup to a network drive.  The issue is that it only runs when logged in as administrator.  On low-level users the batch file will launch (using the Windows scheduler with admin credentials), but the actual DriveImage program does not display and the backup never completes.

How can I run this scheduled program as a low-level user?
0
Comment
Question by:murryc
  • 2
3 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 21775252
YOu need to run it with elevated rights, via a batch file CMD, DOS window, or using runas, command.

The problem is that the password will appear in the batch file, and that is a big security breach.

Other options are to use a bootable cD to do this, rather than trying to finish it via Windows.


I hope this helps !
0
 

Author Comment

by:murryc
ID: 21775740
Thanks for the feedback.  I would not mind giving the batch admin rights to run with becuase I now plan on pushing out the batch file using pexec which would give me full control from my admin workstation I use to push it out with.  This option works great when I push it out to a computer already logged in using an admin account.  Can you give me the coding I need to include in the batch file (or VBS file) that would launch the program with an admin account?

Running it in DOS is not going to work as I need to image about 60 computers on a LAN and do not want to visit each of them.
0
 

Accepted Solution

by:
murryc earned 0 total points
ID: 21782595
Here is the prefect solution...
http://www.mast-computer.com/c_9-l_en.html

This allows me to apply the admin password, in encrypted form, to the runas command.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now