Batch Scripts / Programs.

Page 9 of 16 FirstFirst ... 7891011 ... LastLast

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

    Hello @ricardobohner,

    ricardobohner said:
    Hm, that space between Richard and Maxx may have something to do with the problem...Ususally usernames consist only of one word...

    That is a good point, although the code should allow for that. I would have thought that some of the people who have already downloaded the files would possibly of also had a space.

    Intriguing.
      My Computer


  2. Posts : 456
    Windows 10
       #82

    Here is the problem the log files are created without quotes:

    >> %LOG% echo. & >> %LOG% echo Title : %Title%

    It should be:

    >> "%LOG%" echo. & >> "%LOG%" echo Title : %Title%

    But for most users the batch still works because there username is build only from 1 word...
      My Computer


  3. Posts : 4,303
    Windows 11 Pro 22H3
       #83

    Batch Scripts / Programs.-screenshot-18-.png
      My Computers


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

    Hello @Hemimax,

    As per @ricardobohner suggestion, please download and run the following . . .

    Click here > PowerCFG_Detailed_Analysis.bat



    Thanks @ricardobohner.
      My Computer


  5. Posts : 4,303
    Windows 11 Pro 22H3
       #85

    Batch Scripts / Programs.-screenshot-32-.png
      My Computers


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

    Hello @Hemimax,

    You still haven't run the below and posted the results . . .

    Elevated CMD Prompt:

    Code:
    
    Powershell -command "& "Get-winevent -FilterHashTable @{logname='Application'; id='1001'} ^| ?{$_.providername -match 'wininit'} ^| select-object -first 1 ^| fl timecreated, message
    Code:
    
    PowerShell powercfg -GetActiveScheme


    Elevated PowerShell Prompt:

    Code:
    
    Get-winevent -FilterHashTable @{logname='Application'; id='1001'} | ?{$_.providername -match 'wininit'} | select-object -first 1 | fl timecreated, message
    Code:
    
    powercfg -GetActiveScheme
      My Computer


  7. Posts : 4,303
    Windows 11 Pro 22H3
       #87

    Batch Scripts / Programs.-screenshot-33-.png
      My Computers


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

    Hello @Hemimax,

    Please download and run the following and post the CMD Prompt output using CODE tags . . .

    > PowerCFG_Detailed_Analysis_TEST.bat
      My Computer


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

    Hello @Hemimax,

    [1] Press the Win + X keys together > Command Prompt (Admin).
    [2] Highlight ALL the commands below and PASTE them into the Administrator: Command Prompt Window > Enter [ Post the results ].

    Code:
    
    powercfg -BatteryReport
    powercfg -DeviceQuery Wake_Armed
    powercfg -DeviceQuery Wake_From_Any
    powercfg -DeviceQuery Wake_Programmable
    powercfg -Energy -Duration 0
    PowerShell powercfg -GetActiveScheme
    powercfg -LastWake
    powercfg -List
    powercfg -Requests
    powercfg /RequestsOverride
    powercfg -SystemPowerReport
    powercfg -SystemSleepDiagnostics
    powercfg -WakeTimers
    powercfg /q
      My Computer


  10. Posts : 4,303
    Windows 11 Pro 22H3
       #90

    Batch Scripts / Programs.-screenshot-34-.png
      My Computers


 

  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 04:34.
Find Us




Windows 10 Forums