Error Invalid Parameter 4 Robocopy
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Tue, 11 Oct 2016 22:17:16 GMT by s_wx1131 (squid/3.5.20)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or
Robocopy Invalid Parameter #3
posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss robocopy invalid parameter #1 Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only
Robocopy Dcopy Invalid Parameter
takes a minute: Sign up Robocopy: ERROR : Invalid Parameter #4 : “/MT” up vote 1 down vote favorite I have a server that I am working on that is using Windows 2008 SP2 Enterprise and I have found that http://answers.microsoft.com/en-us/windows/forum/windows_7-files/robocopy-invalid-parameter/826f4dee-6c92-4529-96ec-cb816636659d the installed version of Robocopy is missing the MT (multithread) switch. Since I'm working with enterprise hardware, having multiple threads can really help my performance so I'd prefer not to have to remove the switch from the copy operation that I am attempting. What I don't understand is why the installed version is missing this switch since this is a 2008 windows instance. Was the MT switch introduced in 2008R2? Is there any way I can safely update this version of http://stackoverflow.com/questions/20552452/robocopy-error-invalid-parameter-4-mt robocopy (such as copying the executable from one of my other environments)? To provide just a little background for contextual purposes this command is being issued as part of an automated backup process developed in SSIS. This process executes normally in other environments, so I'm trying to establish a means of upgrading all the older versions with a more recent version of robocopy to maintain functionality. Otherwise I will have to contextually disable the inclusion of the switch which is a pain. windows-server-2008 robocopy share|improve this question edited Dec 12 '13 at 19:36 asked Dec 12 '13 at 19:28 David 1,3761822 I am having the same issue here. –nate Jan 3 '14 at 15:50 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted According to the documentation on Technet, the /MT parameter applies to Server 2008 R2 but not Server 2008. I'm not sure if this is due to just the version of the robocopy executable or some other restriction. What is the File Version of your robocopy.exe, as shown in the file properties? You might try to pull the newest version of Robocopy (6.1.7601) out of KB2639043 and see if that works for you. Though, information I found on this thread suggests that newer versions of Robocopy don't work at all on Server 2008. share|improve this answer answered Jan 4 '14 at 4:32 Luke Z 1,30578 add a comment| Your Answ
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the http://serverfault.com/questions/616725/robocopy-says-its-receiving-invalid-parameters-in-when-used-in-powershell-script workings and policies of this site About Us Learn more about Stack https://community.spiceworks.com/topic/533145-robocopy-dcopy-t-invalid-parameter Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how invalid parameter it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top robocopy says its receiving invalid parameters in when used in powershell script up vote 0 down vote favorite I'm attempting to use robocopy in a PowerShell script, but currently failing. When I run the following command manually robocopy \\corporatesystem00.local.com\C$\Maven\ robocopy invalid parameter \\corporatesystem01.local.com\C$\Maven\ * /e /purge I am able to copy all the contents of one folder to another, and it works like magic. However, with how "wonderful" PowerShell is, I think I'm running into an unknown gotchya. When I run the same command above from a PowerShell script, I receive this error: PS C:\Program_Files> .\jenkins-maven-copy.ps1 Performing Jenkins Maven Sync robocopy \\corporatesystem00.local.com\C$\Maven\ \\corporatesystem01.local.com\C$\Maven\ * /e /purge ------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows ------------------------------------------------------------------------------- Started : Wednesday, July 30, 2014 3:00:03 PM Source - \\corporatesystem00.local.com\C$\Maven\ Dest - \\corporatesystem01.local.com\C$\Maven\ Files : * Options : /DCOPY:DA /COPY:DAT /R:1000000 /W:30 ------------------------------------------------------------------------------ ERROR : Invalid Parameter #4 : "/e /purge" Simple Usage :: ROBOCOPY source destination /MIR source :: Source Directory (drive:\path or \\server\share\path). destination :: Destination Dir (drive:\path or \\server\share\path). /MIR :: Mirror a complete directory tree. For more usage information run ROBOCOPY /? **** /MIR can DELETE files as well as copy them ! This happens for any commandline option I'm putting in for my options in the script. The script I am running, is below. Param ( [string]$srcLocation = '\\corporatesystem00.local.com\C$\Maven\',
Consultant/SI GROUP SPONSORED BY MICROSOFT See more RELATED PROJECTS Replace Branch Servers with VMs replace 2 aging physical hardware with server 2003 - with esxi 5.5 hosting 2 VMs, opportunity to upgrade the server OS to 2012, separate site (IP) so can utilise some improvements in GP etc. Replacement of Site Servers Replacement of servers at Practices. Redesign of Classroom Rewired a classroom and added Six new Client computers and reconfigured 24 others software for a larger class of Medical Assistant students. TECHNOLOGY IN THIS DISCUSSION Join the Community! Creating your account only takes a few minutes. Join Now Hi Spiceworks Clan, Im just new here and I need help to copy the entire directory from my file server to my new NAS voume I have created. I used robocopy with timestamp /dcopy:T before but when I tried now, its not working. The source and destination will be the same server (Windows 2003) the command I used is: Robocopy "E:\Dept" "H:\Dept" /XF thumbs.db /MIR /dcopy:T but returns to me an invalid paramter for /dcopy:T. Can someone help me if there would be any alternative command for this? Reply Subscribe View Best Answer RELATED TOPICS: robocopy issue Robocopy Robocopy Errors   11 Replies Serrano OP raycaruso Jul 6, 2014 at 6:33 UTC This worked for me, tested... robocopy e:\dept h:\dept /e /MIR /XF thumbs.db /dcopy:T 0 Pimiento OP michaelanjelopayongayong Jul 7, 2014 at 5:26 UTC hi ray, tried but still have errors on my side: C:\Documents and Settings\XXXXX>robocopy e:\dept h:\dept /e /MIR /XF th umbs.db /dcopy:T ------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows :: Version XP010 ------------------------------------------------------------------------------- Started : Mon Jul 07 08:28:58 2014 Source - e:\dept\ Dest - h:\dept\ Files : Exc Files : thumbs.db Options : /S /E /COPY:DAT /PURGE /MIR /R:1000000 /W:30 -----------------------------