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.