SQL Agent won't start

Hi,
I tried to start the SQL Agent on my SQL 2008 Server but got this error:
TITLE: Microsoft SQL Server Management Studio
Unable to start service SQLSERVERAGENT on server ACHSQL12. (mscorlib)
ADDITIONAL INFORMATION:
The SQLSERVERAGENT service on ACHSQL12 started and then stopped. (ObjectExplorer)
BUTTONS:
OK
Is there anything I should check?
Regards
Paul

You see the article for getting update :
Before you can start to use FILESTREAM, you must enable FILESTREAM on the instance of the SQL Server Database Engine. Enabling/configuring FILESTREAM is a bit different from configuring other SQL features because it involves making machine wide changes
and not only SQL instance changes. Also, FILESTREAM configuration has been changed for the February CTP to properly separate the Windows Built-in administrator and SQL administrator roles. In the November CTP, enabling/disabling FILESTREAM required Built-in
Admin privilege. Enabling FILESTREAM is now made up of 2 admin layers:
1-     
The Windows configuration layer handles Windows related setup changes required for FILESTREAM. This requires built in administrator privilege. FILESTREAM settings in the SQL Configuration Manager (SQL-CM) represent this admin layer.
2-     
The SQL configuration layer handles the setup changes required within the boundaries of the SQL instance. The SQL Admin can now use sp_configure/RECONFIGURE to handle this FILESTREAM configuration.
http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx
Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

Similar Messages

  • Server Intelligence Agent won't start after repair of Business Objects 4.0

    I migrated our company's business objects contents and documents from previous BO 3.1 server to new BI 4.0  server using standard BI tools. (That is, using the export wizard in BO 3.1 to create BIAR file and using upgrade management tool to import this biar file to new BI 4.0 server).
    After that, everything looks fine, I can log in to launch pad and can see all the folders, reports, etc have been moved over.
    But Life Cycle Management stopped working. I guess the reason is, when I created the biar file from source 3.1 server, I basically included everything that may include LCM folder as well, and this folder overwrite the LCM folder in BI 4.0 server. In order to fix this issue, I did "repair" of BI platform. After this, the Server Intelligen Agent won't start.
    Tried to log on to cmc, got error message 
    "Error: Server SERVERTest:6400 not found or server may be down (FWM 01003) null"
    Tried to start the Server Intelligence Agent from "services", got message:"windows could not start the server intelligence agent (servertest) from local computer..." Checked the event log, no much useful information.
    Can anyone please give me some ideas? what might have caused this issue? where should I look to? I hope we don't have to go through uninstall/reinstall.
    thanks.

    Hi,
    check the Task Manager if you have running the processes running "SIA.exe" ans "cms.exe"
    Regards
    -Seb.

  • Intelligent agent won't start

    We renamed the windows 2000 host on which Oracle lives and now the intelligent agent won't start. I cleared snmp_rw etc and rebooted but still no go any ideas?
    thx in advance.

    Thx Pete but the emca will effect the OEM repository I am looking for reconfig of the intelligent agent to reflect the new hostname.
    Daryl thx for the reminder. My DB is 9.2.0.1 on XP but the same rules apply as Unix. It turns out I missed deletion of one of the .q files which was enough to block auto-create on atleast one .q file and leave me hanging.
    These are the steps I took to fixit:
    1) shutdown the agent
    2) shutdown the listener
    3) delete snmp* files under network/admin
    4) delete .q files and services.ora under network/agent
    5) restart listener
    6) restart agent
    7) re-acquire DB through OEM discovery (success)
    Obviously the change of hostname has to be picked up by the IA's files. If the files do not exist at IA startup the IA creates them using current information from the host.
    thx to all.

  • ODBC server & agent won't start - J2EE install

    Hi all,
    I have installed the developer edition of CFMX7. I have
    tomcat running on my windows2000 server, so I downloaded the
    windows installer and chose the J2EE-war option. It runs just fine.
    I also installed the ODBC server, because I want to connect
    to MS Access databases with my developer edition. For that, I tried
    this:
    http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=860.
    First problem was that after tomcat automatically deployed the war
    file, the folder 'SequeLink Setup' did not exist in the web-inf\db
    folder. So I renamed the war to zip, and checked - the file
    is present in the war. So I manually extracted the zip to a
    new directory. I ran the cfm script with the reference to this new
    directory, and the ODBC services were installed - hurray!
    But now the services do not want to start. I first got the
    error that the file was not found. It referenced to a slserver52
    folder, which had only two directories called 'logging' and
    'tracing', but no bin files whatsoever. There is however a
    slserver54 folder, which contains all kind of stuff. So I started
    regedit and changed all the references to 52 in 54, and rebooted
    the server. Still no luck: now I get a 1067 error on the server and
    an unknown error on the agent.
    Any ideas??

    That is just what I did, but that didn't help. The installer
    creates services that point to the slserver52 folder, but that
    should be slserver54. When I change the directory in the registry,
    the services won't start. The ODBC Agent sais:
    "Could not start the ColdFusion MX ODBC Agent service on
    Local Computer. The service did not return an error. This could be
    an internal Windows error or an internal service error. If the
    problem persists, please contact your system administrator."
    The ODBC Service returns the exact same error.

  • SQL agent failed to start

    hi All
    I am using SQl 2008, and agent failed to start
    2015-03-16 11:11:31 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
    2015-03-16 11:11:31 - ! [298] SQLServer Error: 18456, Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [SQLSTATE 28000]
    2015-03-16 11:11:31 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
    2015-03-16 11:11:32 - ? [098] SQLServerAgent terminated (normally)
    SQLserver has started~~

    Hello,
    Try changing the SQL Server agent service account to Local System or by the same account you are using to
    start the SQL Server service account.  The following article for changing SQL Server service account may help you, since it is a similar procedure.
    https://msdn.microsoft.com/en-us/library/ms345578.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Agent don't start after a wrong reboot

    While creating a SQL Agent job with his scheduling the server was rebooted for updates. The SQL Agent service does not restart with the following error. The job that was being created
    there isn't in MSDB. What can you do? 
    thanks 
    Alessio
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    Server stack trace: 
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.FindObjectExplorerFrame()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.GetObjectExplorer(Boolean activateWindow)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ShowError(Exception e)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Service.Start()
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
       at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ServiceActionHandler.EndInvoke(IAsyncResult result)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ServiceControlProgress.ActionCompletedHandler(IAsyncResult result)

    Thank you. With your answer, from services.msc  iI have seen thet the problem was on the account password.
    Alessio  
    Hi theorangejuice,
    I’m writing to follow up with you on this post. According to your description, there is an issue on the SQL Server Agent service account password. Was the problem resolved after modifying the password or selecting Local System Account option? If yes, I’d
    like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings or concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Snmp master agent won't start

    I'm using Web Server 7.0U1 on Solaris 10U4. I'm trying to start the SNMP master subagent. On my Linux test platform, this works fine. But on the Solaris host, 'magt' hangs forever at startup and does nothing. This happens both when using the web console and wadm start-snmp-master-agent command.
    How do I make magt work?

    The SNMP master agent fails to start on Solaris 10U2 (and higher) due to the TCP fusion feature added in Solaris 10U2. (TCP fusion is a protocol-less data path for loopback TCP connections). One of the possible workarounds for this issue is to disable TCP fusion by adding the following line in /etc/system:
    set ip:do_tcp_fusion = 0x0
    The Sun Info Doc 86046 available on sunsolve explains the various TCP fusion related tunables.

  • Sourcefire AD user agent won't start

    I have tried to install the user agent on a server 2008 vm and it won't run. I only get an error that says "SF AD user agent Configuration has stopped working" 
    I have configured the server settings in Policies, User, User Agents on my Defense Center. This is a domain server so the firewall is not on by policy. The event logs are pretty cryptic and don't really say much. The agent never starts so I can't configure it. 
    There is not much documentation out there for it.

    Refer the link : http://www.cisco.com/c/dam/en/us/td/docs/security/firesight/user-agent/FireSIGHT-User-Agent-Configuration-Guide-v2-2.pdf

  • SQL Server won't start - unhelpful error message in log

    I am running SQL Server 2008 on Windows Server 2008.  SQL server had been running using a netowrk account, which i then changed over to a dedicated Active Directory account, and I tried restarting the server.  It failed to restart, and produces a number of identical error messages in the event log.  The error message is below:
    initerrlog: Could not open error log file ''. Operating system error = 3(failed to retrieve text for this error.  Reason: 15105)
    I've searched the web and have not found a solution.  It appears to be a permissions problem (the "Reason: 15105" indicates such), but the permissions on all the data and log folders are correct.  The fact that it fails to list the error log file is the must frustrating of all since it gives me no indication of where to look for the problem.
    If I try switching the the SQL Server user back to the network account it gives the following error:
    WMI Provider Error [call to WMI Provider returned error code: 0x800742a2]

    Hi Guys,
    The solution of Tibork is the working one for me.
    What I did to get this error:
    I wanted to move my TempDB to another volume (e). I executed following query:
    USE master
    GO
    ALTER DATABASE tempdb
    MODIFY FILE (NAME = tempdb, FILENAME = 'E:\tempdb.mdf')
    GO
    ALTER DATABASE tempdb
    MODIFY FILE (NAME = templog, FILENAME = 'E:\templog.ldf')
    GO
    Stopped the SQL Server instance and moved the TempDB files from the original DATA folder.
    After that, when I restarted the server, it gave me the 1814 error. I tried to undo my actions with no luck.
    The working solution for the problem was indeed access rights. I know its not best practice, but since we are in a protected environment I choose to remedy the problem with Tibork's solution:
    Start > Control Panel > Adminsitrative Tools > Services
    Find the SQL Instance
    Right click and choose Properties
    Find the logon tab
    I changed the logon to "Local System Account"
    Worked like a charm. Thanks for the hint.

  • SQl Developer won't start

    I am using Windows XP Professional. I am also using Java 1.6.26. Whenever I try to start SQL Developer, nothing happens. Is there a log for SQL Developer that I could look at somewhere on my machine? I don't get any errors.... its just that nothing happens. I can see the sqldeveloper.exe process pop up momentarily and then disappear sometimes when I look at Task Manager while trying to start SQL Developer. Any advice?

    what a nightmare install oracle 11g in windows 7, it's an awful experience, i take introduction to sql and workshop I from oracle university, and i need to practice with in my 32 bit laptop SQL developer simply doesn't works, my first install was corrupted, then i reinstall and get a second no functional installation and neither of both can be uninstaled. i think that i may be need to reinstala the operating system, what a waste of time :-(
    Edited by: 979160 on 29-dic-2012 11:10

  • My Management Agent Won't start

    Hi Guys
    I am installing Enterprise Manager management Agent ( 10.2.0.2.0) on Windows XP Professional (Service Pack2). The installation and configuration is successfull but the agent service does not start.
    When I go to the command prompt to manually start the agent I get the following error:
    C:\OraOemAgent\agent10g\BIN>emctl start agent
    Oracle Enterprise Manager 10g Release 10.2.0.2.0.
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    The Oracleagent10gAgent service is starting..
    The Oracleagent10gAgent service could not be started.
    A service specific error occurred: 2.
    More help is available by typing NET HELPMSG 3547.
    Can anyone help ?

    Check log/trace files ( http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e10954/logging.htm#i1023926 )
    'A service specific error occurred: 2.' basically means, one or more files couldn't be found. Issue 'net helpmsg 2'.
    Werner

  • 8iLite,SQL*PLUS Won't start, ORA-12203

    I d/l'd 8iLite and I am running on WIN95. In the log on dialog box for SQL*PLUS, I typed username = scott and password = tiger and got the error message: ORC-12203:TNS: unable to connect to destination. (This indicates that the username and password are acceptable.)
    Earlier, I was in Oracle Navigator and tried to set myself up as a new user. From the file menu, I selected Createdb.exe and I go the error message: C:\orawin95\BIN\Createdb.exe has a bad format. I also selected crdb35.exe from the file menu and got the error mesage: c:\orawin95\BIN\crdb35.exe has a bad format.
    In each case, I clicked OK to close the dialog box and attempted to enter the new user properties anyway; in each case I got the error message ORA-12203:TNS:unable to connect to destination.
    I am wondering whether the root cause of the problem is that Createdb.exe and crdb35.exe are corrupted, and is so, what to do about it. My main goal is to get SQL*PLUS running on the sample (POLITE) database.
    ANY help would be greatly appreciated. If someone would email me good copies of Createdb.exe and crdb35.exe, I'll try that.
    Thanks, Gary

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Gary Premo ([email protected]):
    I d/l'd 8iLite and I am running on WIN95. In the log on dialog box for SQL*PLUS, I typed username = scott and password = tiger and got the error message: ORC-12203:TNS: unable to connect to destination. (This indicates that the username and password are acceptable.)
    Earlier, I was in Oracle Navigator and tried to set myself up as a new user. From the file menu, I selected Createdb.exe and I go the error message: C:\orawin95\BIN\Createdb.exe has a bad format. I also selected crdb35.exe from the file menu and got the error mesage: c:\orawin95\BIN\crdb35.exe has a bad format.
    In each case, I clicked OK to close the dialog box and attempted to enter the new user properties anyway; in each case I got the error message ORA-12203:TNS:unable to connect to destination.
    I am wondering whether the root cause of the problem is that Createdb.exe and crdb35.exe are corrupted, and is so, what to do about it. My main goal is to get SQL*PLUS running on the sample (POLITE) database.
    ANY help would be greatly appreciated. If someone would email me good copies of Createdb.exe and crdb35.exe, I'll try that.
    Thanks, Gary<HR></BLOCKQUOTE>
    null

  • Database Engine won't start - master DB log file issue

    I had a server patched and reboot yesterday and now the SQL services won't start because it's saying it can't find the master log file. I checked the path and the log file is present. Any suggestions.
    2014-04-21 09:48:55.22 Server      Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)
     Jun 28 2012 08:36:30
     Copyright (c) Microsoft Corporation
     Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
    2014-04-21 09:48:55.22 Server      (c) Microsoft Corporation.
    2014-04-21 09:48:55.22 Server      All rights reserved.
    2014-04-21 09:48:55.22 Server      Server process ID is 4008.
    2014-04-21 09:48:55.22 Server      System Manufacturer: 'HP', System Model: 'ProLiant DL380 G5'.
    2014-04-21 09:48:55.22 Server      Authentication mode is MIXED.
    2014-04-21 09:48:55.22 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
    2014-04-21 09:48:55.22 Server      This instance of SQL Server last reported using a process ID of 4080 at 4/21/2014 9:47:41 AM (local) 4/21/2014 2:47:41 PM (UTC). This is an informational message only; no user action is required.
    2014-04-21 09:48:55.22 Server      Registry startup parameters:
      -d C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\master.mdf
      -e C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG
      -l C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf -g512
    2014-04-21 09:48:55.22 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2014-04-21 09:48:55.22 Server      Detected 4 CPUs. This is an informational message; no user action is required.
    2014-04-21 09:48:55.33 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2014-04-21 09:48:55.35 Server      Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational
    message only. No user action is required.
    2014-04-21 09:48:55.38 spid7s      Starting up database 'master'.
    2014-04-21 09:48:55.39 spid7s      Error: 17204, Severity: 16, State: 1.
    2014-04-21 09:48:55.39 spid7s      FCB::Open failed: Could not open file C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf -g512 for file number 2.  OS error: 2(The system cannot find the file
    specified.).
    2014-04-21 09:48:55.39 spid7s      Error: 5120, Severity: 16, State: 101.
    2014-04-21 09:48:55.39 spid7s      Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf -g512". Operating system error 2: "2(The system cannot find the
    file specified.)".

    That did it.  Not sure why that switch was there.
    It might have been intended, but it was added incorrectly. -g512 is a legal switch. Then again, since you have 64-bit SQL Server, it is not likely that you will needed.
    (The -g switch increases the area known as memtoleave, which is the virtual address space (VAS) not used for the buffer cache. On 32-bit SQL Server you may need to increase this area from the default of 256 MB. On 64-bit SQL Server the full physical memory
    is available for VAS; on 32-bit it's only 2GB.)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • OEM Agent will not Start

    Hello,
    We have a OMS 11.1.0.1.0 environment running on Linux.
    We have performed a Fresh Install (using OEM) of a 10.2.0.5.0 Agent to a HPUX server. We have tried 'emctl stop', 'emctl start' and 'emctl secure' commands. They all fail. We have performed a new discovery on that agent. We have removed the agent and performed a 2nd and 3rd Fresh Install. Nothing works.
    We have a 15+ server environment that is working great.
    Any ideas on why this agent won't start?
    Thanks,
    Bob Larsen

    It didn't product a .trc file, need to adjust options in emd.properties
    Do you see any problems below ?? Thanks ...
    emctl.log
    13849 :: Tue Feb 7 14:32:43 2012::AgentLifeCycle.pm: Processing start agent
    13849 :: Tue Feb 7 14:32:43 2012::AgentLifeCycle.pm: EMHOME is /oemagenthome/agent10g
    13849 :: Tue Feb 7 14:32:43 2012::AgentLifeCycle.pm: service name is
    13849 :: Tue Feb 7 14:32:43 2012::AgentLifeCycle.pm:status agent returned with retCode=0
    13849 :: Tue Feb 7 14:32:51 2012::AgentLifeCycle.pm:Watch dog processs id: 13856 exited with an exit code of 0
    13849 :: Tue Feb 7 14:34:46 2012::AgentLifeCycle.pm: Exited loop with retCode=0
    emagent.nohup
    EMHOME ================== /oemagenthome/agent10g
    --- Standalone agent
    ### Tue Feb 7 14:32:48 2012::agentTZRegion already exists in /oemagenthome/agent10g/sysman/config/emd.properties. ###
    ### Tue Feb 7 14:32:48 2012::agentTZRegion successfully validated. ###
    ----- Tue Feb 7 14:32:48 2012::Agent Launched with PID 13874 at time Tue Feb 7 14:32:48 2012 -----
    ----- Tue Feb 7 14:32:48 2012::Time elapsed between Launch of Watchdog process and execing EMAgent is 5 secs -----
    --EMAGENT_MEMCHECK_HOURS=1
    --EMAGENT_RECYCLE_DAYS=0
    --EMAGENT_TIMESCALE=1
    --EMAGENT_RECYCLE_MAXMEMORY=512
    --EMAGENT_MAXMEM_INCREASE=1
    ### Tue Feb 7 14:32:48 2012::EMWD. Monitoring 1 Components. ###
    ### Tue Feb 7 14:32:48 2012::Env changes prior to agent launch recorded in /tmp/emctl.env.13837.diff2 ###
    ### Tue Feb 7 14:32:51 2012::EMWD Checking component processes... 1 ###
    ### Tue Feb 7 14:32:51 2012::EMWD. Checking Status for EMAgent 13874 ###
    ### Tue Feb 7 14:32:51 2012::waitpid(13874) reaped=13874, processStatus=0 ###
    ### Tue Feb 7 14:32:51 2012::reapChild pid=13874, status = 1, 0
    ### Tue Feb 7 14:32:51 2012::Status for 13874 : (1, 0), 99 ###
    ----- Tue Feb 7 14:32:51 2012::Checking status of EMAgent : 13874 -----
    ----- Tue Feb 7 14:32:51 2012::EMAgent exited at Tue Feb 7 14:32:51 2012 with return value 0. -----
    ----- Tue Feb 7 14:32:51 2012::EMAgent was shutdown normally. -----
    ----- Tue Feb 7 14:32:51 2012::Exiting watchdog loop

  • Term is not recognized when executing PowerShell Script through SQL Agent using CMDEXEC

    I am trying to simply execute a PowerShell script that is stored in a file on a network drive through SQL Agent as a job. The script is a basic copy from one directory to another.  I have run and successfully executed this from a command prompt outside
    of SQL Agent.  When I execute this through SQL Agent as a Operating System (CmdExec) command I am getting an error that the term is not recognized as the name of a cmdleet, function, script file or operable program. I have executed many different ways
    put found an article to use double quotes in the network path which I have done with no success. 
    I am executing the following command as a job in SQL Agent:
    PowerShell H:\"\PowerShell""\PS_Scripts\"\batchcopyFFLWithProgress.ps1 through SQL Agent job
    I get the following error message:
     04/21/2015 10:01:09,Copy FFL Files,Error,1,NY11266-LTW7E\JPLAPTOPSQL,Copy FFL Files,Copy FFL files,,Executed as user: NT Service\SQLAgent$JPLAPTOPSQL. H:\PowerShell\PS_Scripts\batchcopyFFLWithProgress.ps1 : The term   'H:\PowerShell\PS_Scripts\batchcopyFFLWithProgress.ps1'
    is not recognized as   the name of a cmdlet<c/> function<c/> script file<c/> or operable program. Check the   spelling of the name<c/> or if a path was included<c/> verify that the path is   correct and try again.
     At line:1 char:1  + H:"\PowerShell\PS_Scripts"\batchcopyFFLWithProgress.ps1  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      + CategoryInfo          : ObjectNotFound:
    (H:\PowerShell\P...ithProgress.p      s1:String) []<c/> CommandNotFoundException      + FullyQualifiedErrorId : CommandNotFoundException.  Process Exit Code 1.  The step failed.,00:00:03,0,0,,,,0
    Content of batchcopyFFLWithProgress.ps1 which has the PowerShell script:
    $source=ls H:\SQLTest\Script\TestData\*.*
    $i=1
    $source| %{
        [int]$percent = $i / $source.count * 100
        Write-Progress -Activity "Copying ... ($percent %)" -status $_ -PercentComplete $percent -verbose
        copy $_.fullName -Destination H:\test -Recurse
        $i++
    I have searched the internet and have not found any resolution to my error.  If someone has experienced this error and found the resolution I would greatly appreciate your help.

    I have change the service account for SQL Agent to be my domain account as I have local admin rights to my laptop.  I stopped and started the services for SQL Agent and than started the job to run which is copying locally to minimize any network drive
    issues.  I am still getting the same error message as it is showing that I am executing the job under my domain account?  Any thoughts what it could be?
    ErrorMsg
    04/23/2015 11:21:06,Copy FFL Files,Error,1,ServerName\InstanceName,Copy FFL Files,Copy FFL files,,Executed as user: Domain\DomainAccount. \\ServerName\Test\PS_Script\batchcopyFFLWithProgress.ps1 : The term '\\ServerName\Test\PS_Script\batchcopyFFLWithProgress.ps1'
    is   not recognized as the name of a cmdlet<c/> function<c/> script file<c/> or operable program. Check the spelling of the name<c/> or if a path was   included<c/> verify that the path is correct and try again.  At
    line:1 char:1  + \\ServerName\Test\PS_Script\batchcopyFFLWithProgress.ps1  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      + CategoryInfo          : ObjectNotFound: (\\ServerName...ithProgress.ps1:String)
    []<c/> CommandNotFoundException      + FullyQualifiedErrorId : CommandNotFoundException.  Process Exit Code 1.  The step failed.,00:00:02,0,0,,,,0
    Script
    $source=ls "\\ServerName\Test\TestData\*.*"
    $i=1
    $source| %{
        [int]$percent = $i / $source.count * 100
        Write-Progress -Activity "Copying ... ($percent %)" -status $_ -PercentComplete $percent -verbose
        copy $_.fullName -Destination "\\ServerName\Test\test" -Recurse
        $i++

Maybe you are looking for