Jump to content

The drive from net use in "task scheduler" cannot be seen in my computer.


Recommended Posts

Guest stevenYU
Posted

I did the following steps on my Window 10.

 

1) create a task in "task scheduler" to run a powershell script.

 

2) The script is like:

 

net use * /del /y

net use G: \\Mycompany\Group-Files /user:mydomain\user password

net use

 

After I trigger/run this task in "task scheduler", I am pretty use G drive has already mounted via the last cmd in my script(net use).

 

But when I open "my computer", I cannot see that G drive.

 

I suspect the drive from "net use" in task scheduler cannot be recognized in task scheduler. Is that true?

 

BTW, this "issue" cannot be reproduced in Windows 8.

 

 

steven

 

More...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...