I got a batch script which needs Admin privileges.
For example it installs some Programmes or move/copy files to/from System directories.
So on Windows 7 (and Vista) I can say "Run as" and I got a Message like "are you sure allowing ... bla" OK/Cancel?
But how I can get arround this MSG-Box?
How can I place the Admin Name/PW in the Batchfile? (a runas cmd i allready tried seems to don't work)
For example it installs some Programmes or move/copy files to/from System directories.
So on Windows 7 (and Vista) I can say "Run as" and I got a Message like "are you sure allowing ... bla" OK/Cancel?
But how I can get arround this MSG-Box?
How can I place the Admin Name/PW in the Batchfile? (a runas cmd i allready tried seems to don't work)
My Computer
- OS
- Windows 7
.