PROJECT: Computer Report - Comprehensive

Page 3 of 8 FirstFirst 12345 ... LastLast

  1. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #21

    Hello @Anak,

    To be honest, it was something that I used in my testing area and never got round to removing.

    [1] Does it run OK if you remove the line ? . . .

    > PowerShell (Query Session $Env:UserName) -Replace ('console', 'Console')

    [2] Does it work if you right-click the file and Run as Administrator ?
    [3] I don't know about others because I can NOT monitor the downloads unless they click Thank [ See Post #1 ] !
      My Computer


  2. Posts : 1,800
    10 Home 64-bit | v22H2 | Build - 19045.3930
       #22

    Hi Paul,
    Found
    Code:
    PowerShell (Query Session $Env:UserName) -Replace ('console', 'Console')
    in section right above:
    Code:
    --
    
    echo    __     _  _          _  _  ____    ____  ____  ____  ____  __ _  ____  ____  ____    ____  ____  __  ____  _  _  ____ 
    echo   / _\   / )( \  ____  ( \/ )/ ___)  (    \(  __)(  __)(  __)(  ( \(    \(  __)(  _ \  / ___)(_  _)/ _\(_  _)/ )( \/ ___)
    echo  /    \  \ \/ / (____) / \/ \\___ \   ) D ( ) _)  ) _)  ) _) /    / ) D ( ) _)  )   /  \___ \  )( /    \ )(  ) \/ (\___ \
    echo  \_/\_/nti\__/irus     \_)(_/(____/  (____/(____)(__)  (____)\_)__)(____/(____)(__\_)  (____/ (__)\_/\_/(__) \____/(____/                                           & echo.
    echo

    Removed:
    Code:
    PowerShell (Query Session $Env:UserName) -Replace ('console', 'Console')

    Saved file with omission. This is the modified section:
    Code:
    =====================================================================================================================================================================& echo.
    
    echo  Processing . . . & echo.
    
    ::goto :Test_Area
    
    PowerShell "' Computer_Name\User_Name: ' +  (Get-wmiObject -Class Win32_ComputerSystem | Select UserName).UserName"
    echo.
    
    :Antivirus_Microsoft_Defender_Status
    
    echo.
    echo  -----------------------------------------------------------------------------------------------------------------------------------------------------------
    ran file, your answers below.

    [1] Does it run OK if you remove the line ? . . .
    Code:
    > PowerShell (Query Session $Env:UserName) -Replace ('console', 'Console')
    Yes; Clean an green now. This is what I'm seeing:
    Code:
    =====================================================================================================================================================================
     Processing . . .
    
     Computer_Name\User_Name: LAPTOP-M5******\*******
    
     ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    (Note added by Anak; (* for privacy))

    [2] Does it work if you right-click the file and Run as Administrator ?

    Yes

    [3] I don't know about others because I can NOT monitor the downloads unless they click Thank [ See Post #1 ] !

    I did see it in post #1 just did not get around to it. I was so overwhelmed by the amount of info I forgot the time.

    Thx has been added.
      My Computers


  3. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #23

    Hello @Anak,

    Excellent news, and thanks for the detailed feedback, it is appreciated.
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #24

    As a follow on from @Anak's post #19, and on further investigation, I have removed that particular Script block for outputting the SessionName [ Local (Console) or RDP ]. The reason for this is that the SessionName is defined only if the Terminal Services system component is installed.

    As the Script ONLY uses the standard Modules, Commands, etc, I have removed that particular Script block from the program.
    Last edited by Paul Black; 18 Jan 2023 at 12:13.
      My Computer


  5. Posts : 1,800
    10 Home 64-bit | v22H2 | Build - 19045.3930
       #25

    Paul Black said:
    Paul Black said:
    Hello @Anak,

    Excellent news, and thanks for the detailed feedback, it is appreciated.
    As a follow on from @Anak's post #19, and on further investigation, I have removed that particular Script block for outputting the SessionName [ Local (Console) or RDP ]. The reason for this is that the SessionName is defined only if the Terminal Services system component is installed.

    As the Script ONLY uses the standard Modules, Commands, etc, I have removed that particular Script block from the program.
    You're welcome!

    With your removal may I assume the D/L links in post #1 are up to date?
      My Computers


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #26

    Hello @Anak,

    Anak said:
    With your removal may I assume the D/L links in post #1 are up to date?
    Yes.

    Also, see the UPDATES: section towards the bottom of the FIRST post for ANY other changes.
      My Computer


  7. Posts : 1,800
    10 Home 64-bit | v22H2 | Build - 19045.3930
       #27

    Thx's

    Got it!
      My Computers


  8. NTN
    Posts : 972
    W10 19045.2546
       #28

    It may have been mentioned before in earlier posts....
    But anyway, it changed my settings for Virtual Memory from "Custom size" to "Automatically manage paging file size for all drives."
    No problem as one get aware of it....but suddenly I got 15GB less on my drive.
      My Computers


  9. Posts : 15,480
    Windows10
       #29

    NTN said:
    It may have been mentioned before in earlier posts....
    But anyway, it changed my settings for Virtual Memory from "Custom size" to "Automatically manage paging file size for all drives."
    No problem as one get aware of it....but suddenly I got 15GB less on my drive.
    Yeah, people usually use the 1.5xRAM which may have been reasonable back in day of 2GB RAM pcs but pretty much a waste of space nowadays. I have never seen an article justifying it. If you want to use a custom pagefile, monitor paging and set appropriate size.
      My Computer


  10. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #30

    Hello @NTN,

    NTN said:
    . . . it changed my settings for Virtual Memory from "Custom size" to "Automatically manage paging file size for all drives."
    I did NOT know that you had downloaded the program as per the reasons given in Post #1.

    Anyway, I have just checked the Script, and run another test, and mine does NOT change the Pagefile parameters.

    The Script ONLY uses the commands . . .

    Code:
    
    Get-CimInstance Win32_PageFileUsage
    Get-CimInstance Win32_PageFileSetting
    Get-wmiObject Win32_PageFileUsage

    . . . which ONLY extracts information, they do NOT change ANYTHING.
      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 01:32.
Find Us




Windows 10 Forums