Jump to content

opdenis

Member
  • Posts

    17
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Russian Federation

Everything posted by opdenis

  1. opdenis

    UAC and PIN

    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. opdenis

    UAC and PIN

    Yes, its better - this is my home PC. Only my wife and I use it My child is too small yet
  3. opdenis

    UAC and PIN

    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?
  4. 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.
  5. 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: And 4 errors in Application log: These errors repeating after each reboot.
  6. No, I have only Windows Store in the ProvisionedPackage. It seems that I have to remove it via DISM also...
  7. No, after restart there was installation of Windows components and Cortana has returned
  8. I have caught usage of file c:\ProgramData\Microsoft\Windows\AppRepository\Downlevel\StateRepository-Machine.srd I think this is some sort of backup. I was able to edit it also. Now i will try to restart my PC...
  9. 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_cw5n1h2txyewyAfter these steps I DON'T have Cortana in my list: Get-AppxPackage | Select Name, PackageFullNameBut after restart it will appear again!
  10. 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!
  11. maxXPsoft, Wait. I think, you don't understand, why do you call that string 2-4 times. The only purpose of this - is to be sure to kill svchost. When you kill it, you can DELETE the file StateRepository-Machine.srd.
  12. 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 StateRepositorydir - 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?
  13. 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.
  14. What do you mean? What should I finish off? P.S. Yes, I'm from Russia, but I have english UI Windows 10.
  15. 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: And some in my Application EventLog: Is there a way to fix them?
  16. 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...