|
I need users to be able to copy a folder on a network share to another folder on the same share. They need to copy security too. They cannot use their normal logged in account as it doesn't have enough permissions (the folder is a "template" folder and...
Started by 20th Century Boy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
So you can just use UNC path as Zypher suggested... .
Robocopy I guess will handle it too.
I would use the UNC runas supports specifying UNC path as a program argument.
Network shares are not brought over as part of runas even with the /env switch.
|
|
Our workstations are not members of the domain our SQL Server is on. (They're not actually on a domain at all - don't ask).
When we use SSMS or anything to connect to the SQL Server, we use RUNAS /NETONLY with DOMAIN\user. Then we type in the password...
Started by Cade Roux on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
ImpersonationContext = null; // #endregion } }
This code is part of an RunAs class that we use = process; info.Verb = "runas"; info.UserName = username; info.Domain = domain; info.LoadUserProfile://msmvps.com/blogs/martinzugec/archive/....
|
|
Dear All,
I am having an ERP and the same has been configured in all the clints. The program takes the updates from the server only if it was runned with admin rights. Presently I have not given admin rights to the user. I instisted the user to run the...
Started by Sathish k on
, 16 posts
by 8 people.
Answer Snippets (Read the full thread at ittoolbox):
My query is that in the batch file itself the password has to be give so to ask
Regards
Pradeep Hey....
To: jagavurivi email@removed
Sent: Wed, August 11, 2010 8:59:20 AM
Subject: RE:[networkadmin-l] RunAs are insisted to give the password.
|
Ask your Facebook Friends
|
On Tue, 31 Mar 2009 10:21:19 +0200, "vani" <ivan.svaljek@email.t-com.hr
Is it possible to runas a whole batch file?
Like runas /user:admin install.cmd ?
Started by vani on
, 8 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
Have to enter the password manually
> Like runas /user:admin install.cmd ? On Tue, 31 Mar 2009 11 a look at the batch file!
On Tue, 31 Mar 2009 14:15:16 +0200, "vani" <ivan.svaljek@email.t-com.hr
These are the batch....
|
|
On Tue, 31 Mar 2009 14:15:16 +0200, "vani" <ivan.svaljek@email.t-com.hr
These are the batch files(I've rearanged the order so now the user starts
install.cmd by double click, and then from install.cmd runas starts 1.cmd):
-install.cmd contents...
Started by vani on
, 4 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
Now try this version of install.cmd:
runas /user:administrator c if only i could make the batch....
If you want your batch files to be robust
then you MUST fully that the destination is properly specified.
Not fully qualify its location.
|
|
I still do not understand something, you ask. I explain it to me.
Started by rattasak renkarw on
, 16 posts
by 8 people.
Answer Snippets (Read the full thread at ittoolbox):
I instisted the user to run the program by right click the exe and runas to all the persons....
Basically, it created a new batch file that launched the exe admin rights to the user.
Www.filebuzz.com/fileinfo/60546/Steel_RunAs .html.
|
|
I have a couple of batch files which must be run as Administrator. I can do so if they are on my machine, but when I put them on the network and then try to run them as Administrator, the command prompt simply shows no output and finishes, apparently ...
Started by Paul Williams on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
The runas /noprofile /user:Administrator {Shortcut} This will prompt you for your password everytime {batch file} which will copy the batch file to the remote computer, and execute it as the system account a user/pass that does.
|
|
I know I have already answered a similar question ( Running Batch File in background when windows boots up ), but this time I need to launch a batch:
from another batch without any DOS windows displayed with all arguments passed to the invisible batch...
Started by VonC on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
"""" & WScript.Arguments(0) & """" & sargs, 0, False
Do you need the second batch file to run asynchronously? Typically one batch file runs another synchronously with the call command, and the second one would share the first one's window....
|
|
I have a couple of batch files which must be run as Administrator. I can do so if they are on my machine, but when I put them on the network and then try to run them as Administrator, the command prompt simply shows no output and finishes, apparently ...
Started by Paul Williams on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
It....
However:
runas /user:mymachine\administrator cmd you are specifying:
runas /user:mydomain\mydomainadmin cmd
as the local admin may not have permission to the resource you are trying to access.
I'm not entirely sure what you are asking.
|
|
I am trying to write a batch file for my users to run from their Vista machines with UAC. The file is re-writing their hosts file, so it needs to be run with Administrator permissions. I need to be able to send them an email with a link to the .bat file...
Started by skb on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Why don't you tell you users to run the batch file something to the machine configuration....
If you could it would be an enormous security hole .
I don't think you can run a batch file as administrator from another being run as a normal user.
|