Enable user account at logoff/shutdown - server 2008 R2


  1. Posts : 2
    7 Pro
       #1

    Enable user account at logoff/shutdown - server 2008 R2


    Hi folks. I've got Server 2008 R2 laptop that I need to transfer files to. Frequently, when I reconnect the mapped drive on the source computer, it disables my account on the laptop. Sometimes I forget to check & re-enable it, causing me to get someone to re-enable my account.

    I created a batch file using net user account /active:yes. Running that batch file seems to work fine.

    The question is, how do I automate that batch file to run on logoff or shutdown?

    Thanks,
    Mike
      My Computer

  2.   My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:56.
Find Us