File WIndows Task Sceduler and .bat

Hi, what makes me lose a lot of hair. I've read other threads suggested and it is similar, but I tried.

Here's the scenario-

I copy customer data (desktop, Documents, etc. of the payroll) to a (QNAP) mapped network drive.

On the QNAP, I gave permission to read/write in the Margaret_Backup folder. The QNAP I have the following users-

Admin, andrew, gerry, margaret and PCUser1

This is the batch file that I have-

xcopy C:\Users\PCUser1\Desktop \\192.168.0.254\Margaret_Backup\desktop/s/y
xcopy C:\Users\PCUser1\Documents \\192.168.0.254\Margaret_Backup\documents/s/y
xcopy C:\Users\PCUser1\favorites \\192.168.0.254\Margaret_Backup\favorites/s/y
xcopy C:\Users\PCUser1\Music \\192.168.0.254\Margaret_Backup\music_folder/s/y
xcopy C:\Users\PCUser1\Pictures \\192.168.0.254\Margaret_Backup\pictures/s/y
xcopy C:\Users\PCUser1\Videos \\192.168.0.254\Margaret_Backup\video_folder/s/y
xcopy C:\Data \\192.168.0.254\Margaret_Backup\data/s/y

It works fine when I double click on the actual .bat file. However when in the Task Scheduler, nothing happens. When I executed on demand via the Task Scheduler, it says it works but I don't see any signs of opening command prompt.

I can't give permission to the mapped via the functionality of Windows network drive because it keeps wiping them. The authorization must come from the QNAP.

Am I missing something?

Thanks for any help

Hi Michael,

As I see that this problem is with a copy of customer data I suggest you view the query in this link for help we have a dedicated team to address these issues.

https://social.technet.Microsoft.com/forums/en-us/home?Forum=w7itpronetworking&filter=AllTypes&sort=lastpostdesc

Respond us if you have any questions with windows and we will be happy to help.

Tags: Windows

Similar Questions

  • Print my pdf files is no longer. After pressing PRINT the 'Print to File' window pops up and I have to press SAVE under to go to the next step. Once the pdf file is saved it is therefore more a pdf but a PRN file. When I try to print the PRN file an error

    Print my pdf files is no longer. After pressing PRINT the 'Print to File' window pops up and I have to press SAVE under to go to the next step. Once the pdf file is saved it is therefore more a pdf but a PRN file. An error message appears when I try to print the PRN file. I need to be able to print my original pdf files. Please notify.

    Looks like you somehow accidentally active the option print to file in the Advanced Options print dialogue. Uncheck that and this problem should go away.

    -Dov

  • wlsettings.exe complains that UXCore.dll is missing, but it is located in Program Files/Windows Live/Shared

    After the installation of Windows Live Essentials, I get now a Wlsetting.exe has stopped working.  Sometimes I get an error message wlsettings.exe can not find UXCore.dll.

    I looked in C:/Program Files/Windows Live/Shared and UXCore.dll.  I also looked in the registry and it seems that the registry database seeks also to C:\Program Files\Windows Live\Shared.
    I tried to uninstall and reinstall but no change.
    I am currently running Windows Vista.  I've read a lot about this anomaly and there seems to be a lot of people who have constantly pending problems.  I had hoped that Microsoft would have figured this out now.
    I really need a fix for this
    Hi HotDes,
     
    The question you posted would be better suited to Windows Live Solution Center. I suggest you to send your application in the Windows Live Solution Center for better support.
  • How to restore corrupted files windows vista system (audiosvc, audioendpointbuilder)

    My audio service seems to be corrupted.  When I start in safe mode and stop the sound service, then restart works fine.  When I turn on the audio service then the computer crashes immediately.

    How can I locate audio files windows vista 64 and re-install them.

    Hello

    Make sure you have the latest audio drivers for vista for your computer which you can get your site of card manufacturers sound or computer

    go to their website and look for a driver and software download section

    Enter your model number for the last look drivers vista then download and install

    also run the sfc/scannow command.

    http://support.Microsoft.com/kb/929833

    Use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. Open an elevated command prompt. To do this, click Start, click principally madeprograms,Accessories, right-clickguest, and then clickrun as administrator. If you are prompted for an administrator password or a confirmation, type the password, or clickallow.
    2. Type the following command and press ENTER:
      sfc/scannow

      The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions

    If SFC detects the main problems it can't fix you may need to borrow a Microsoft dvd vista not an acer, HP etc. recovery disk and do a repair installation

    read the below tutorial on how to perform a repair installation

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

  • The files window requires manual collapse on MAc

    I used Dreamweaver CS5 (11.0) on a Mac.

    When I change a lot of files, I use the "select more recently changed" and the files of registration in the files window extends on and highlights all files updated the.   I have download these files with a simple click on the upload arrow and everything is good!

    The problem is that the view files window has now 100 developed outside directories to find something in this list is a long and tedious process.

    The only solution I found is to go through each open directory and click on the arrow down and collapse this specific directory manually.  After 50 or so clicks get washed my nerves and eyes start bad... lol!

    Is there a command that I'm missing in the COLLAPSE of the list of files/directories, back to normal?

    Click option should close at the same time for you. I also look at the files in the order of last modified... Put the most recent at the top.

  • . A PDF file do not open and player XI itself opens either

    I can see an instance of AcroRD32.exe in the list of processes in the Windows Task Manager and Mem Usage continues to increase, but nothing ever shows up.  Under XP.

    In reading other posts, the common remedy was to repair in the Panel.  Tried that.  Also completely uninstalled Reader, then ran another program of cleaning of Adobe, in the case where fragments stayed, then reinstalled.  Still nothing.

    I am sure that this problem started when I installed the XI player.

    Grateful for any constructive suggestion.

    Thank you.

    Dan

    See point 3 of my instructions you posted earlier: http://helpx.adobe.com/acrobat/kb/reader-core-dll-error.html - in most cases, it proves to be a malware/rootkit infection.

  • Windows 7 backup and restore recording is not recent files (and task corrupted images)

    I recently discovered that my Windows 7 backup and restore does not work properly and need help to fix it.  The backup runs daily, but it seems that he spared not the files that have been generated in the last month or so.  For example, I was not able to restore files that have been created last week, even if they have been backed up yesterday.

    Any questions/comments that might relate to the question above:

    -J' had to upgrade to Windows 10 for 1 month and then downgraded to Windows 7, about a month earlier due to some software doesn't work only with Windows 10.
    -Last week, I realized that my automatic backup didn't work automatically.  I found the problem is due to a corrupt image of task in Task Scheduler I could fix.  I have developed from my backup with the recommended settings settings, and I discovered that the problem of missing file today.

    -J' still have a problem with the images of task corrupted because when I open the Task Scheduler, I get about 70 errors which "XXXX task: the task image is damaged or has been tampered with."  Any help

    Help for backup and the Task Scheduler issues would be greatly appreciated.  Thank you!!

    André

    Hello

    Thanks for posting your query to the Microsoft forum. I will definitely help you with this.

    This could be due to corruption on the system files, please follow the methods below.

    Step 1: I suggest you to re-create the Task Scheduler.

    Steps to re-create the Task Scheduler

    1. Click Start; in the start search type regedit.exe and press ENTER. (If you get a consent prompt, click Yes).
    2. Navigate to the following location. HKLM\Software\Microsoft\Windows NT\Current Version\Schedule keys and remove its subkeys.
    3. Save the changes and then close the registry editor.

    Now check if the Task Scheduler works.

    Note: The steps mentioned below includes the modification of the system registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    Step 2: Perform the scan SFC

    I suggest that you can exercise SFC scan and check if that helps. The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions. It is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files.

    See the link: use the File Checker system to repair missing or corrupted system files

    Please answer us with this information and the current state of your computer, we will be happy to help you further.

    _______________

    Thank you best regards &,.

    Isha Soni

  • Rstrui.exe - bad Image of the application or DLL C:\Windows\System32\Wbem\Framedyn.dll is not a valid windows image. AND the exe task manager. -Bad guess. The application or DLL C:\Windows\System32\VDMDBG. DLL is not a valid windows image.

    I use WIndows XP.  After that THINKPOINT is presented on my system, I have not been able to access my task manager or restore my system to an earlier date.

    I have checked Kellys Korner and various other suggestions on the internet, but have had no luck with anything.

    It shows that the HKEY value for the Task Manager is set to 0.  Don't know if that helps.

    I BELIEVE I have the THINK POINT removed from my system.  I use Microsoft Security, Ad-Ware and Malwarebytes Anti - Malware.  Between the 3, it seems I have everything.

    But now I can not restore my system, or use my TASK MANAGER.

    Help would be GREATLY appreciated.

    Thank you!

    Bindifer

    Think like a malicious software...
    It infects your system and is not to be found and removed.
    What are you most likely to use to find and remove malware?
    Internet, Google, Task Manager, regedit, restore the system command prompt, etc...
    The malware is often afflicts one or more of these components to try to trick into thinking you need to perform a system restore, a repair facility, or even to reinstall your XP from scratch.  None of these things are necessary since you can usually just to thwart malware.
    If the referenced files are completely absent from your system, you will see messages like this when you try to run the applications:
    Taskmgr.exe - Unable to locate component
    This application has failed to start because VDMDBG.dll is not found.  Reinstalling the application may fix this problem.
    Rstrui.exe - Unable to locate component
    This application has failed to start because framedyn.dll was not found.  Reinstalling the application may fix this problem.
    Sometimes you can click through the OK messages to access the System Restore screen, but the restoration of the system is still broken.
    If the referenced files are present on the system, but somehow corrupted, you will see messages like this when you try to run the applications:
    Taskmgr.exe - bad Image
    The application or DLL C:\WINDOWS\system32\VDMDBG.dll is not a valid Windows image.  Please check this against your installation diskette.
    Rstrui.exe - bad Image
    The application or DLL C:\WINDOWS\system32\wbem\framedyn.dll is not a valid Windows image.  Please check this against your installation diskette.
    Sometimes you can click through the OK messages to access the System Restore screen, but the restoration of the system is still broken.
    These files are part of the file 3498 who cares about Windows File Protection, so unless the WFP is also broken it is likely that files are missing completely (you get a different error message).  What is more likely is that the files are somehow corrupt or have been replaced by incorrect files.
    Assuming that XP is installed on your C drive and in the windows folder, XP keeps copies of 3498 files that he cares about this issue:
    c:\Windows\System32\dllcache
    On a health care system, Windows File Protection keeps track of 3498 protected files and quickly and quietly replaces all the files in the list that appears missing from the backup folder.  File protection Windows will not replace the files if they are somehow corrupted or replaced by bad files.
    You can simply copy the backup files in the dllcache folder in the folder where are the suspects or missing files.
    Using Explorer, navigate to the folder c:\windows\system32\dllcache and individually to copy the backup files in there and then navigate the folders where the suspect or incorrect files are and paste in the copied files.
    Depending on your installation, you can also find copies of the files in this folder:
    c:\windows\ServicePackFiles\i386
    Answer Yes, if you are prompted to replace existing files.
    Test your functions now and then to reboot your system to make sure the changes 'stick', and then fix any problems.

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • Utilization ratio of page showing very high in Task Manager and computer file crashes

    Original title: the utilization ratio file page showing very high in the Task Manager and the system is to be hanged, please help!

    Hello

    as I mentioned in the title line that we our office gives problem that it begin to become hunged and at this time, when I open the Task Manager to check the status of performance using Page file shows very high up to 1.5 GB.

    Please suggest!

    Thank you

    Brahmaprakash Mishra

    If the swap file itself grows in fact you may suspect a leak memory by an application, it is called a leak 'Paged', usually, notice increased use of pagefile with an increasing slowness of the machine.  As the demand for 'leaks' or consumes more memory Windows pages pages of the RAM in the swap file, where the name, 'Paged' leaking, leaks memory in the paging file.

    The Task Manager is not a very good job of giving you the 'real' swap file usage, to get use accurate, you can analyze the file with the corresponding Perfmon counter or you
    can use PageFileMon from Doug Knox utility: http://www.dougknox.com/xp/utils/xp_pagefilemon.htm

    Open your task manager and click on the view menu and click Select columns...  Put a check mark on the columns paged and Thread Count.  Keep an eye on these columns over a period of time, showing a constantly growing number likely suspicious process Thread.

    You can monitor these counters with Perfmon, that might be useful:
    Using performance monitor to identify a pool leak

    John

  • Is the corrupted Windows 10 download, and if so how can I remove this and re-download the file?

    Original title: upgrade Windows 10

    I have a Dell Studio 1749 under Windows 7 Home Premium.   I postponed the upgrade of Windows 10 to the present day.  The update file appears in the control panel Windows Update Panel, but when I click start it restarts Windows 7 simply and tells me that the new updates have been installed but it was Windows 7 updates since yesterday.

    Is the corrupted Windows 10 download, and if so how can I remove this and re-download the file?    Or maybe another solution?

    Thank you.

    Review:

    Retry the upgrade manually:

    Option 1:

    Download the media creation tool

    Click with the right button on the MediaCreationTool.exe file and then click on run as administrator.

    Note: How to check if you are downloaded or installed the update Windows 10 November

    How to create an ISO or USB drive.

    Select upgrade this PC now and then click Next

    Option 2:

    Task of pre-required

    When you make significant changes to your computer for example updated operating system, you must always back up. See the links to resources on the backup by clicking the link for each version of Windows you are using: Windows XP, Windows Vista, Windows 7, Windows 8/8.1

    then

    then

    • Turn off (preferably uninstall) your Antivirus utility before you perform the upgrade.
    • Reboot several times, and then try again.
    • Disable the general USB peripherals (for example - smart card reader).
    • If you are using a SCSI drive, make sure you have the drivers available for your storage on a thumdrive device and it is connected. During the installation of Windows 10, click on the advanced custom Option and use the command load driver to load the driver for the SCSI drive. If this does not work and the installer still fails, consider switching to an IDE based hard drive.
    • Perform a clean boot, restart, and then try again.
    • If you upgrade to the. ISO file, disconnect from the Internet during the installation, if you are connected in LAN (Ethernet) or wireless, disable both, then try to install.
    • If you are updated through Windows Update, when download reaches 100% disconnect from the LAN (Ethernet) Internet or Wi - Fi, then proceed with the installation.
    • If this does not work, try using the. ISO file to upgrade if possible.
    • If you are connected to a domain, go to a local account.
    • If you have an external equipment, attached to the machine, unplug them (example, game controllers, USB sticks, external hard drive, printers, peripherals not essential).
  • I closed my shot explorer.exe process in my task manager and now I can't load my computer, control panel and these files, can someone help me? When I try to open their message comes that no such interface supported.

    I closed my shot explorer.exe process in my task manager and now I can't load my computer, control panel and these files, can someone help me? When I try to open their message comes that: {26EE0668-A00A-44D7-9371-BEB064C98683} not this interface supported...

    Hi MAMARDA,

    Welcome to the Microsoft Vista answers Forum!

    I would like to ask you a few questions in order to get a better understanding of this issue so that we can better help you.

    (a) what version of Windows 7 use you?

    (b) what is the exact error message you are getting?

    Method 1: You can also try to perform a file system (scan SFC) verification tool. This tool will fix the system files are corrupted.

    Scan SFC enforcement procedure:

    1. click on the Start button

    2. on the Start Menu, click all programs followed by accessories

    3. in the menu accessories, right-click on command line option

    4. in the drop-down menu that appears, click the "Run as Administrator" option

    5. If you have the User Account Control (UAC) enabled, you will be asked permission before the opening of the command line. You simply press the button continue if you are the administrator or insert password etc.

    6. in the command prompt window, type: sfc/scannow then press enter

    7. a message is displayed to indicate that "the analysis of the system will start.

    8. be patient because the analysis may take some time

    9. If all the files need replace SFC will replace them. You may be asked to insert your Vista DVD for this process to continue

    10. If all goes although you should, after the analysis, see the following message "Windows resource protection not found any breach of integrity.

    11. once the scan is finished, close the command prompt window, restart the computer and check.

    Method 2: If this is a recent problem that has developed you can try to perform a system restore and check if it works very well.

    To restore the operating system to an earlier point in time, follow these steps:

    1. Click Start, type system restore in the search box, and then click System Restore in the list programs.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue.

    2. in the System Restore dialog box, click on choose a different restore point and then click Next

    3. in the list of restore points, click a restore point created before you started having the problem, and then click Next

    4. click on finish

    Note: When you perform the system restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    For more information, please follow the below given link:

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista

    http://support.Microsoft.com/kb/936212/

    Method 3: you can try to start safe mode and restore the system, if you are unable to do it in normal mode.

    For a safe boot, you can follow the below given steps:

    1. remove all floppy disks, CDs and DVDs from your computer and restart your computer.

    Click the Start button, click the arrow next to the button lock and then click on restart.

    2. do one of the following:

    a. If your computer has a single operating system installed, press and hold the F8 key as your computer restarts. You need to press F8 before the Windows logo appears. If the Windows logo appears, you need to try again by waiting until the Windows logon prompt appears, and then stop and restart your computer.

    b. If your computer has multiple operating systems, use the arrow keys to select the operating system you want to start in safe mode, and then press F8.

    When you are in safe mode, follow the steps mentioned above to complete the restore of the system.

    Hope the helps of information.
    Please post back and we do know.

    Concerning
    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I clicked "end task" in the Task Manager and windows and disappered funds? Help?

    So I was trying on end task on the Task Manager, but accidentally, I finished the task of file windows or something else and my entire system seems to have disappered, I see that the Task Manager and the chrome bar that I had opened and there is no office! And on the bottom, where you are supposed to see the time and windows and all the bars, they simply disappeared! I don't know what to do? Help, please? All my files are gone permanently?

    SR

    Restart your computer and hope.  It should start.  Consider this as a lesson and save your data.

  • Firefox continues to run even after the release in Manager Windows tasks and has about as much memory to affect other applications

    Firefox continues to run even after the release in Manager Windows tasks and has about as much memory to affect other applications. Firefox.exe must be completed manually in Windows Task Manager. Is there a software patch that will force the release of memory and all the resources of the computer that was using Firefox, when it is finished?

    This has happened

    A few times a week

    == I see only the program in the Manager of tasks over the past months but the problem could took place for more

    See this:
    https://support.Mozilla.com/en-us/KB/Firefox+hangs#Hang_at_exit

  • Icons and links do not work, they all say .encre and get an error "to open this file, windows needs to know which file was used to create".

    I uninstalled a program a few days ago and I think that it uninstalled the things I needed. All my icons tell .lnk and a message appears that says "to open this file, windows needs to know which file was used to create it.  I can't access my add or remove program file.

    I can't delete email, a lot about different programs does not work when I click on them with my mouse.  I have windows 2005.  My PC is in good condition with a lot of memory left and I have antivirus protection.  Help?

    Hello

    I suggest following the link below and follow the steps:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/Windows-file-associationunable-to-load-eg-vlcink/d14b86ae-b02f-40fd-bf3f-5bf7922f5542

    I hope that the above information is useful!

  • How to detect the window closing event and to do some tasks before leaving

    Hello

    Someone knows how to detect the window closing event and to do some tasks before leaving?

    Sridhar

    Structure of the event allows to detect the window closing event. In the structure of the event,.

    Select this VI-> close round table for this task. See attached picture.

Maybe you are looking for