Solved

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

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
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…
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…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

839 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