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

x
?
Solved

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

Posted on 2008-06-12
3
Medium Priority
?
1,155 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
[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
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This is a fine trick which I've found useful many times, when you just don't want to accidentally run a batch script or the commands needs administrator rights.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
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.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

618 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