Solved

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

Posted on 2008-06-12
3
1,117 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to open text file 11 70
iPhone v Android phone 7 30
Recycle bin software for network mapped drives? 8 20
Help with simple script. 8 0
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

23 Experts available now in Live!

Get 1:1 Help Now