I am trying to run/create a batch script for the users on my domain to install a program that will download and update flash and java. I have the .exe stored on the network share and currently have most of the script written. The part where i need help is to have to .exe run as one of our network administrators. Below is the code I have, where/how do I tell it to run as domain.local\networkadmin plus the account's password.
@echo off
cd C:\
mkdir CCFlash
copy \\toohey\CareCloud\CCFlash.exe C:\CCFlash
START C:\CCFlash\CCFlash.exe /silent S:\IT\CCFlashReports\reports.txt /repair
All help is appreciated.
EDIT: This script will run on XP Pro and Windows 7 Pro machines. 32 and 64 bit.
@echo off
cd C:\
mkdir CCFlash
copy \\toohey\CareCloud\CCFlash.exe C:\CCFlash
START C:\CCFlash\CCFlash.exe /silent S:\IT\CCFlashReports\reports.txt /repair
All help is appreciated.
EDIT: This script will run on XP Pro and Windows 7 Pro machines. 32 and 64 bit.
Last edited:
My Computer
- Computer Manufacturer/Model Number
- Myself
- OS
- Windows 7 Ultimate x64
- CPU
- AMD Phenom II X6 1090T @ 4.02
- Motherboard
- Gigabyte GA-890FXA-UD5
- Memory
- G.SKILL Ripjaws Series Model F3-12800CL9D-4GBRL 8Gb
- Graphics Card(s)
- NVIDIA GeForce GTS 250
- Monitor(s) Displays
- Dell S2209W
- Screen Resolution
- 1920x1080
- Hard Drives
- Western Digital Caviar Black
- PSU
- Ultra 650W
- Case
- NZXT Phantom
- Cooling
- Corsair H50
- Keyboard
- Razer Lycoa
- Mouse
- Razer Diamondback 3G
- Internet Speed
- 28.82Mbps down/3.60 Mbps Up