Execute a script into a folder copied from a server in AD Share on Facebook Tweet on Twitter Share on LinkedIn Home › Forums › Scripting › General Scripting › Execute a script into a folder copied from a server in AD This topic contains 3 replies, has 3 voices, and was last updated by senator91 8 months, 3 weeks ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts ricardo.erazoMember March 17, 2018 at 8:37 am #167464 I need to create a script (.bat, .vbs, powershell, etc) that copy a folder from a server and run another script that is in the folder copied, my environment is Windows Server 2008 Active Directory. Thanks and best regards. wullieb1Moderator March 17, 2018 at 6:37 pm #245746 Should be easy enough xcopy \servershare c:folder cd c:folder scriptname.whatever senator91Member March 19, 2018 at 5:33 am #391985 Thank you!… the script must be run with localadmin privileges, how can i do that? wullieb1Moderator March 23, 2018 at 3:31 am #245749 Run it as a start up script. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.