double click on the log-collector shortcut and a mistake happen

Page 1 of 2 12 LastLast

  1. Posts : 48
    windows 10 20H2
       #1

    double click on the log-collector shortcut and a mistake happen


    when i follow the guide and double click on the log-collector shortcut,A Command Prompt window shows below information:

    & : The term '.\resources\main.ps1' is not recognized as the name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:2
    + &'.\resources\main.ps1'
    + ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (.\resources\main.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    thanks a lot
      My Computer


  2. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #2

    The reason this happened is because you had not extracted the files before trying to use them. The program does not work unless all the files and folders are extracted from the zip file and saved onto your device. You then run the shortcut from within your saved location.
      My Computers


  3. Posts : 48
    windows 10 20H2
    Thread Starter
       #3

    thank you for reply

    i am sure i extracted the file

    just now i found the reason

    if i directly double click the shortcut ,it will running noramly

    but ,if i run it as a administrator ,it will show the mistake

    i want to know why

    thank you
      My Computer


  4. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #4

    I have not come across that issue before. I will need to try and reproduce it.
      My Computers


  5. Posts : 48
    windows 10 20H2
    Thread Starter
       #5

    after reinstall win10,still BSOD


    DESKTOP-0P4AVPU-(2021-07-02_22-32-37).zip - Google Drive

    after reinstall the win10,There is also BSOD

    thanks a lot

    windows ver:20H2(19042.1052)
      My Computer


  6. Posts : 1,538
    Windows 8.1 Enterprise x64
       #6
      My Computer


  7. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #7

    I can indeed reproduce it - I have no idea why that message is given. I will report it.
      My Computers


  8. Posts : 48
    windows 10 20H2
    Thread Starter
       #8

    already reinstalled many times system,also BSOD

      My Computer


  9. Posts : 48
    windows 10 20H2
    Thread Starter
       #9

    After wifi can not use sereval times,BSOD happens many times


    CLEANTECH-(2021-07-04_17-18-46).zip - Google Drive



    WINVER: 1511.10586.1176

    After wifi can not use sereval times,BSOD happens many times
      My Computer


  10. Posts : 1,538
    Windows 8.1 Enterprise x64
       #10
      My Computer


 

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

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




Windows 10 Forums