Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Windows (https://www.askmehelpdesk.com/forumdisplay.php?f=237)
-   -   I need to automate my batch file , passing the username and password in the batch fil (https://www.askmehelpdesk.com/showthread.php?t=555141)

  • Feb 17, 2011, 02:41 AM
    aru7730
    I need to automate my batch file , passing the username and password in the batch fil
    I need to automate my batch file , passing the username and password in the batch file itself so that, user doesn't have to put in the authentication every time for windows.
  • Feb 17, 2011, 02:44 AM
    Curlyben
    Add this line:
    Code:

    PASSWORD /user:DOMAIN\USERNAME
    For example drive mapping

    Code:

    net use z: \\PATH PASSWORD /user:DOMAIN\USERNAME /persistent:no
  • Feb 18, 2011, 01:05 AM
    aru7730
    How to transfer file between two machine using schedule task in windows 7
    How to transfer file between two machine using schedule task in windows 7
  • Feb 18, 2011, 01:11 AM
    Curlyben
    Same way as you would do it on earlier windows.

    Write your batch file, then follow the create basic task wiz.
    Then simply point it at the batch you have already written.
  • Feb 18, 2011, 02:11 AM
    aru7730
    Hii
    I am running windows 7 and I have batch file copy from 1 computer to another .it runs fine, but when I set it up to run in task scheduler it shows as completed successfully but nothing happens. No files are copied and the command box doesn't appear... any idea?
  • Feb 18, 2011, 02:13 AM
    Curlyben
    Check the permissions used.

  • All times are GMT -7. The time now is 02:13 AM.