none
starting with srcripts RRS feed

  • Question

  • hello i am new a writing scripts it started becouse i ran into a shared folder logof  issue 

    i wanted if i close windos explorer to execute the command 

    net stop workstation && net start workstation

    because windows still remembers the logon ( i tried credentials and not remember logon service etc etc )

    so i know in the old basic time the command line if then  so i want to write a script that sees is windows explorer is closed bij user the command net stop workstation && net start workstation comes into action but i have no clue ik opend powershell with administrator rights and put the command net stop workstation && net start workstation in but do not know how to tell it to becomen active if explerer is closed

    and then where to put the script and how is to activate automaticly if exploerer is closed 

    i know difficult question but maybe u can help me on the way ( and if it is possible at all ) :-)

    kind regards dogan226


    Thursday, August 2, 2018 4:59 PM

Answers

All replies