Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-17-2006, 06:06 PM   #1
usual suspect
 
hobey19's Avatar
 
Join Date: Jun 2002
Location: not here
Posts: 2,051
.bat file answer help

i am trying to run a program that requires administrative rights to run on a limited user (i have administrative rights on this computer, but i want this program to run for everyone). i thought i could create a batch file using the runas command, and it works, it just pops up a window asking for the administrator password. is there any way for me to create an answer file to automatically put that in for me so the program will run? thanks

craig
__________________
the universe is against this current wave of success i'm having. -johnny drama, entourage
hobey19 is offline   Reply With Quote
Old 02-17-2006, 07:17 PM   #2
Member (11 bit)
 
sgtspector's Avatar
 
Join Date: Aug 2005
Location: Mt. Hope, NY
Posts: 1,213
Send a message via AIM to sgtspector
I can't tell you how to do it but if you put the admin pw in the batch file anyone will be able to read it if they open the file in notepad. Maybe if you encrypt it they won't be able to view it but then it may not run.
__________________
Asus P5ND2-SLi-Deluxe Mobo, Intel 3.0ghz P4 w/ht, 2 GB CORSAIR 667 DDR2, 1 GB Ultra DDR2 533 mhz PC4200 ram, BFGTech Nvidia 6600 GT OC SLi video card, WD 4000KS OEM SATA II HDD, Seagate 320gb SATA II HDD 7200rpm, WD 320 gb SATA II HDD, Creative Soundblaster Audigy Platinum, Sony DRU 720 DVD-RW, LG GCE8240B CD-RW, Maddog Multimedia 500w modular PSU & WinXP Pro SP2, Samsung BF960 19" LCD.
sgtspector is offline   Reply With Quote
Old 02-17-2006, 07:47 PM   #3
Member (9 bit)
 
DynamicTech's Avatar
 
Join Date: Jan 2006
Posts: 343
have a look here: http://fileprofile.com/Utilities/she..._professional/
Keep in mind sgtspector's advice.
DynamicTech is offline   Reply With Quote
Old 02-17-2006, 11:37 PM   #4
usual suspect
 
hobey19's Avatar
 
Join Date: Jun 2002
Location: not here
Posts: 2,051
thanks guys, i will look into it, and thanks for the link, DT

craig
hobey19 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:53 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2