Jump to content

opdenis

Member
  • Posts

    17
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Russian Federation

Posts posted by opdenis

  1.  

    Yes, its better - this is my home PC. Only my wife and I use it ;)

    My child is too small yet :)

     

    You didn't answer the question about why you feel it's better, but that's okay if you don't want to.

     

    The reason I asked is because I was just going to suggest setting the password to the same number as the PIN.

     

    -Noel

     

    I see.

    The PIN is quicker - I don't need to press Enter and use my "strong" password :)

  2. On my Windows 10 I don't use MS account, instead I use local accound with password and PIN.

    When I have used MS account login, I have logged into system with my local account which was in User group. My admin account was signed with MS account. So when I wanted to call admin rights, there was UAC prompt with PIN by default.

    Now I use admin account without MS authorization and by default UAC appears with PASSWORD prompt. I can choose PIN, but it is in the second row, so I cannot just type numbers...

    Is there a way to set PIN field active by default?

  3. I don't need classic Control panel. I mean I don't need ALL elements. Usually I use about 10  things like compmgmt, regedit.exe, eventvwr.msc, mmsys.cpl sounds and so on.

    All these links I have placed on my taskbar with only ONE button "Control panel". If I click it with left mouse button, it opens Control Panel. If I press right mouse button, it shoes JumpLists with all usefull commands.

    Check this tool here.

  4. Noel, have you used script from first post of this topic? I mean 10Cortana_Search2.cmd?

    After I have used it (DISM), Cortana has gone, but I've 4 errors in Microsoft-Windows-TWinUI/Operational log:

    Activation of the app Microsoft.Windows.Cortana_cw5n1h2txyewy!CortanaUI for the Windows.BackgroundTasks contract failed with error: The specified module could not be found..

     

     

    And 4 errors in Application log:
     

    Activation of application Microsoft.Windows.Cortana_cw5n1h2txyewy!CortanaUI failed with error: The specified module could not be found. See the Microsoft-Windows-TWinUI/Operational log for additional information.

     

     

    These errors repeating after each reboot.

  5. I've disabled a number of things in my Task Scheduler setup.  Perhaps that's what's triggering for you that's not triggering for me.

     

    Also, specifically, I used Remove-AppxPackage -allusers as well as Remove-AppxProvisionedPackage -online.  Note in the screen grab I posted earlier I show no provisioned packages whatsoever.

     

    -Noel

    No, I have only Windows Store in the ProvisionedPackage. It seems that I have to remove it via DISM also...

  6. Noel, yes, but I think, the problem somewhere else.

    1. I copy C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.srd to the Windows\Temp folder

    2. Edit it with MySQL editor (Change IsInBox from 1 to 0 for Cortana.

    3. I open Process Explorer and try to find any process, that use StateRepository-Machine.srd

    4. This is svchost.exe (PID = 2212).

    5. I Suspend it (don't kill now)

    6. I open CMD with System Level Integrity

    7. There I run my script:

    taskkill /im sihost.exe /fFOR /F "usebackq tokens=2 skip=2" %%i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %%i /fdel c:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.*copy "C:\Windows\Temp\StateRepository-Machine.srd" c:\ProgramData\Microsoft\Windows\AppRepository\

    8. Now I run PowerShell with Admin rights and execute there:

    Remove-AppxPackage Microsoft.Windows.Cortana_1.6.1.52_neutral_neutral_cw5n1h2txyewy

    After these steps I DON'T have Cortana in my list:

    Get-AppxPackage | Select Name, PackageFullName

    But after restart it will appear again! :(

  7. The script or manual killing svchost - IS NOT the problem.

    The problem (for me) - is to keep the file StateRepository-Machine.srd unchanged.

    SOMETHING reverts parameter  IsInBox from 0 to 1, so Cortana is back again!

    And I tell , that changing this parameter is not enough. We have to block it from changing!

  8. Ok. Now I know where was the problem.

    0. You don't need to read first post :)

    1. Run CMD.exe with admin rights

    2. From that CMD call CMD with System integrity level:

    PsExec.exe -i -s cmd

    3. From that cmd (System) goto directory which contains script and run it:

    taskkill /im sihost.exe /fFOR /F "usebackq tokens=2 skip=2" %%i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %%i /fdel c:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.*dir c:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine*copy "C:\Windows\Temp\StateRepository-Machine.srd" c:\ProgramData\Microsoft\Windows\AppRepository\sc start StateRepository

    dir - its just to be sure, that all files are deleted (you can comment this line).

    The files where deleted and copied.

    BUT after StateRepository has been restarted, it has updated StateRepository-Machine.srd and changed parameter IsInBox from 0 to 1 (for Microsoft.Windows.Cortana_1.6.1.52_neutral_neutral_cw5n1h2txyewy)...

    How can I prevent it?

  9.  

    I don't start another script done said that. Have no luck calling a script that works

     

     

    My script sihost-kill.cmd works well (i have run it as System process in psexec -i -s cmd):

    taskkill /im sihost.exe /fFOR /F "usebackq tokens=2 skip=2" %%i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %%i /fdel c:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.*copy "C:\Windows\Temp\StateRepository-Machine.srd" c:\ProgramData\Microsoft\Windows\AppRepository\

    Result:

    taskkill /im sihost.exe /fSUCCESS: The process "sihost.exe" with PID 3624 has been terminated.FOR /F "usebackq tokens=2 skip=2" %i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %i /ftaskkill /PID ======== /fERROR: The process "========" not found.taskkill /PID 2324 /fSUCCESS: The process with PID 2324 has been terminated.del c:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.*copy "C:\Windows\Temp\StateRepository-Machine.srd" c:\ProgramData\Microsoft\Windows\AppRepository\        1 file(s) copied.
  10. Thank you!

    I have ran cmd.exe with admin rights, then have called from there psexec -i -s cmd

    From new cmd-window I was able to start this script sihost-kill.cmd:

    taskkill /im sihost.exe /fFOR /F "usebackq tokens=2 skip=2" %%i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %%i /fFOR /F "usebackq tokens=2 skip=2" %%i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %%i /fFOR /F "usebackq tokens=2 skip=2" %%i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %%i /fdel c:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.*copy "C:\Users\Denis\Desktop\StateRepository-Machine.srd" c:\ProgramData\Microsoft\Windows\AppRepository\

    Next step was to start your script 10Cortana_Search2.cmd

     

    But now I have some errors in my System EventLog:

    Unable to start a DCOM Server: CortanaUI as Unavailable/Unavailable. The error:
    "2"
    Happened while starting this command:
    "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\SearchUI.exe" -ServerName:CortanaUI.AppXa50dqqa5gqv4a428c9y1jjw7m3btvepj.mca

     

     

    And some in my Application EventLog:

    Activation of app Microsoft.Windows.Cortana_cw5n1h2txyewy!CortanaUI failed with error: The specified module could not be found. See the Microsoft-Windows-TWinUI/Operational log for additional information.

     

     

    Is there a way to fix them?

  11. This seemed to work better taking down the State ran all at once. Oh well whatever works

    taskkill /im sihost.exe /f

    FOR /F "usebackq tokens=2 skip=2" %i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %i /f

    FOR /F "usebackq tokens=2 skip=2" %i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %i /f

    FOR /F "usebackq tokens=2 skip=2" %i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %i /f

    del %ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.*

    Hello. When I ran this script (as cmd), it execute "taskkill /im sihost.exe /f" and then stops on "FOR /F "usebackq tokens=2 skip=2" %i IN (`tasklist /svc /fi "services eq StateRepository"`) DO taskkill /PID %i /f"

    Other three lines don't execute. Where is the problem?

    C:\Users\Denis\Downloads\PSTools>taskkill /im sihost.exe /fSUCCESS: The process "sihost.exe" with PID 3684 has been terminated.i was unexpected at this time.C:\Users\Denis\Downloads\PSTools>FOR /F "usebackq tokens=2 skip=2" i /fC:\Users\Denis\Downloads\PSTools>
×
×
  • Create New...