closing personalization window in CMD

Page 3 of 3 FirstFirst 123

  1. Posts : 93
    Windows 10
       #21

    My1 said:
    it did work for Mystere
    Strange. It doesn't work for me. I hope Mystere will jump on here and explain how he opened the Personalization window. How this window is opened is important for the mentioned Taskkill command to work.


    My1 said:
    also you need admin in the cmd. so I added this little thing at the very beginning
    And here's the PowerShell alternate: shorter, cleaner and no temp files needed. However, the same drawback of speed applies.
    Code:
    net session >NUL 2>&1|| powershell Start-Process '%0' -Verb RunAs&& exit /b|| exit /b
      My Computer


  2. My1
    Posts : 14
    Win7/8/10/Hackingtosh
    Thread Starter
       #22

    well I dont want to wait that long, it maybe shorter, but a temp file that is deleted roughly 2 sec after exec is sth. I dont care about...

    if they could speed up Powershell it would be nice tho...
      My Computer


  3. Posts : 3,257
    Windows 10 Pro
       #23

    Pyprohly said:
    Strange. It doesn't work for me. I hope Mystere will jump on here and explain how he opened the Personalization window. How this window is opened is important for the mentioned Taskkill command to work.
    I opened it by right clicking on the desktop and choosing Personalize. Then Opened a command prompt elevated and typed the taskkill command, which worked perfectly.
      My Computer


  4. Posts : 93
    Windows 10
       #24

    My1 said:
    well I dont want to wait that long, it maybe shorter, but a temp file that is deleted roughly 2 sec after exec is sth. I dont care about...

    if they could speed up Powershell it would be nice tho...
    Agreed: speed up the PowerShell initialization time. PowerShell is fast. It's its environment which takes time to setup that is the cause for all the slowness.

    What would be nice would be to see some way of being able trigger VBScript script directly within batch files; without the need of external temp files.


    Mystere said:
    I opened it by right clicking on the desktop and choosing Personalize. Then Opened a command prompt elevated and typed the taskkill command, which worked perfectly.
    I'm puzzled. I tested the same procedure on both Windows Professional x64 and Windows Ultimate x86, and both raise the "INFO: No tasks running with the specified criteria." error.

    Oh well. Best not to think too hard about it...
      My Computer


  5. My1
    Posts : 14
    Win7/8/10/Hackingtosh
    Thread Starter
       #25

    true I mean we have woking ways both short/clean and fast (I prefer the latter one, I mean the temp file does get deleted afaik)
      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 21:40.
Find Us




Windows 10 Forums