Windows 10 - Tips and Tweaks

Discussion in 'Operating Systems' started by Extraordinary, Jul 30, 2015.

  1. BetA

    BetA Ancient Guru

    Messages:
    4,320
    Likes Received:
    251
    GPU:
    G1-GTX980@1400Mhz
    Thank you very much for this indepth explonation.
    I see your point and agree. It looks also more clean like this.

    To your question, i dont know, i would have to ask him :p

    Is it ok when i forward your findings to him?

    Best Regards...
     
  2. mbk1969

    mbk1969 Ancient Guru

    Messages:
    9,654
    Likes Received:
    6,526
    GPU:
    GF RTX 2070 Super
    I will post in the forum you linked...
     
    BetA likes this.
  3. BetA

    BetA Ancient Guru

    Messages:
    4,320
    Likes Received:
    251
    GPU:
    G1-GTX980@1400Mhz
    very nice...
    just saw your post there.. Thanks for taking the Time.

    Best Regards..
     
  4. mbk1969

    mbk1969 Ancient Guru

    Messages:
    9,654
    Likes Received:
    6,526
    GPU:
    GF RTX 2070 Super
    I was called a noob in his reply, so I guess the conversation there will be short. :cool:

    No big deal.
     
    Last edited: Jun 17, 2020

  5. BetA

    BetA Ancient Guru

    Messages:
    4,320
    Likes Received:
    251
    GPU:
    G1-GTX980@1400Mhz
    Well, that escalated quickly... Yeah, People on that Forum can be, hmm how do i put this, kinda strange...
    I also didnt like his wording, he could have been nicer.. not shure if he just missunderstood you?
    :( what a shame, this could have been an constructive conversation.

    I can only guess he felt attacked or something, maybe he had a bad day, who knows...
     
    Last edited: Jun 17, 2020
  6. mbk1969

    mbk1969 Ancient Guru

    Messages:
    9,654
    Likes Received:
    6,526
    GPU:
    GF RTX 2070 Super
    From the book "Windows Internals":
    I guess NoDebugThread is REG_DWORD value equals to "1".
    It is not clear whether this periodic timer works always or only when kernel debugger is active. If it is active always then disabling it you eliminate unneeded activity.
     
  7. BetA

    BetA Ancient Guru

    Messages:
    4,320
    Likes Received:
    251
    GPU:
    G1-GTX980@1400Mhz
    what does that mean? i dont understand it i think..
    sounds like an vulneribility to me.. but like i sayd, i dont understand half of it :(
     
  8. mbk1969

    mbk1969 Ancient Guru

    Messages:
    9,654
    Likes Received:
    6,526
    GPU:
    GF RTX 2070 Super
    It seems that Winlogon (a system process) creates a special periodic timer to help a remote debugging.
    Question is whether Winlogon does that only on demand when debugging is initiated, or always.
     
    BetA likes this.
  9. KissSh0t

    KissSh0t Ancient Guru

    Messages:
    8,021
    Likes Received:
    2,077
    GPU:
    ASUS RX 470 Strix
    I learned that you can completely disable the "Start App" in Windows 10 to save a bit of memory, seeing as I'm using Classic Shell which puts back the original Start Menu I was like...... why do I have a second Start Menu running in the background that I don't ever use?

    So... yeah.. that was pretty funny I thought.
     
  10. Mineria

    Mineria Ancient Guru

    Messages:
    4,135
    Likes Received:
    92
    GPU:
    Asus RTX 2080 Super
    Issue is that some of the old programmers do not take suggestions to their code lightly, he most probably went completely into defensive mode when he read you typed flawed.
    As your in on, using the .Net classes and lessen the overhead is the correct and recommended way to do it.

    The periodic timer queue is initiated by wininit.exe, default value for NoDebugThread is probably 0 on Windows 7, setting it to 1 should disable it, the entry doesn't exist on Windows 10.
    I wouldn't mess around with it tbh. since it is required for user mode debugging as well.
     

  11. mbk1969

    mbk1969 Ancient Guru

    Messages:
    9,654
    Likes Received:
    6,526
    GPU:
    GF RTX 2070 Super
    That`s the lesson for me - first ask and then suggest (and choose words carefully).
    In this script he uses too much different ways of doing the same task - to start a process. I get his reasoning - verbosity - for using "Stop-Process" instead of methods of underlying .Net class, but the differences in starting the processes are really not needed there. He could use only "Start-Process" to do the job across whole script (and increase the verbosity).
    That (and some answers, and some decisions) makes me think that he is not professional developer, that he just copied different places from other scripts.
    No big deal, script does its job, so I left the conversation there.
     
  12. Mineria

    Mineria Ancient Guru

    Messages:
    4,135
    Likes Received:
    92
    GPU:
    Asus RTX 2080 Super
    There is the saying "it's hard to learn an old dog new tricks", some professional developers got to much "stupid" professional pride to acknowledge new/different ways their code can be written in.
    Your are probably right in that he might not be a professional developer, seems more like either a self learned sysadmin or an educated sysadmin from the time where programming wasn't weighted as much as it is today.
    I had a project back in time where I utilized finding, stopping and starting some processes in about the exact same way you wrote, no reason to make it more complicated than it is when: 1. it works as intended without any issues, 2. it does the job the fastest possible way
    Seems that not everyone enjoys optimizing their own code though :D
     
    mbk1969 likes this.
  13. mbk1969

    mbk1969 Ancient Guru

    Messages:
    9,654
    Likes Received:
    6,526
    GPU:
    GF RTX 2070 Super
    @Mineria

    Btw, I am "old programmer" - I started back in late 80s with Fortran, PL/1 and Assembler on mainframes. But I always glad to learn something new and cool.
    (Though, I must confess that I became super lazy in comfort environment of .Net and C#.)
    Have you read the books of Robert Martin? I have just now and I am inspired by his "clean code/design" passion.
     
    HK-1 likes this.
  14. Mineria

    Mineria Ancient Guru

    Messages:
    4,135
    Likes Received:
    92
    GPU:
    Asus RTX 2080 Super
    @mbk1969

    Nopes, never read his books, loads of others though.
     
  15. Guru3Dmember

    Guru3Dmember New Member

    Messages:
    5
    Likes Received:
    0
    GPU:
    6Gb
    What tweaks can be done to help Windows 10 be a better gaming OS?

    Thanks
     

  16. ultraex2003

    ultraex2003 Member Guru

    Messages:
    161
    Likes Received:
    31
    GPU:
    Amd 2x290 Cfx
     
    HK-1, big ROBOT bill and eGGroLLiO like this.
  17. BetA

    BetA Ancient Guru

    Messages:
    4,320
    Likes Received:
    251
    GPU:
    G1-GTX980@1400Mhz
    :confused: Microsoft at it again...

    :mad:

    Full Article here:
    https://www.ghacks.net/2020/08/04/m...with-microsoft-server-redirects-as-malicious/
     
  18. KissSh0t

    KissSh0t Ancient Guru

    Messages:
    8,021
    Likes Received:
    2,077
    GPU:
    ASUS RX 470 Strix
    I actually use the hostfile to block many unwanted connections, including microsoft telemetry.

    Does it restore the host file If it's set as read only?
     
  19. BetA

    BetA Ancient Guru

    Messages:
    4,320
    Likes Received:
    251
    GPU:
    G1-GTX980@1400Mhz
  20. mbk1969

    mbk1969 Ancient Guru

    Messages:
    9,654
    Likes Received:
    6,526
    GPU:
    GF RTX 2070 Super
    Found an article about configuration of dedicated dump files - the means to have a crash dump when page file is disabled completely or set on not system drive
    http://msexchangeworld.com/?p=349
     

Share This Page