1.

Solve : File attribute change - run as administrator?

Answer»

I need to copy / overwrite approxiamately 200 files located on a network share into a workstation subdirectory with 20 read only files.  The target directory has an existing 300+ files.  The target workstations do not have LOCAL admin rights.  I've created a successful batch file, but it runs as the local user account logged into the MACHINE and it generates "access denied" error. 


On a side note, I've used a tool by Dell, called KBOX and attempted to syncronize the files but it does not work either.  My goal is to get the files copied to the workstations that USERS have no permissions to.  If anyone can help with another solution that would be great too.

Below is what I got so far.  Can I run the attrib command on the same line.  I can get the DOS window to pop up in run as mode, but can't SEEM to PASS my attrib command.

runas /user:strhospital\jortiz "cmd.exe attrib -r c:\program files\paragon94\."



Discussion

No Comment Found