thanks for this very helpful article. I used an immediate scheduled task to deploy a task with a powershell script which personalizes the template paths of Office 2013 for our users. The task runs in the user's context to be able to write to HKCU. It all worked well but every time the policy was pulled, the script window popped up and flashed for a second for every user, every 90 minutes. I tried “powershell.exe -WindowStyle Hidden”, “| Out-Null”, “>$nul 2&>1” and the task's hidden flag but none worked.
The workaround I found while reading the Github thread is: ps-run.vbs
Set objShell = CreateObject("Wscript.Shell")
Set args = Wscript.Arguments
For Each arg In args
objShell.Run("powershell -windowstyle hidden -executionpolicy bypass -noninteractive ""&"" ""'" & arg & "'"""),0
… and then call the powershell script you want to execute like this:
Hi, I have forgotten the local account (admin) windows sign in password and my system having in built windows 10. Trying a troubleshoot through safe mode following above steps, its still asking to sign in local account password. Please help, how reset/recover the password then.
Aaaaand with 1909 it's changed again. Errors and resets on login with new profile after preferences imported. We imported 1709 settings, and get errors. We are now in the process of attempting to get 1903 preferences and getting less than expected results when exporting preferences. Nothing listed for Office, PDF's are still pointing to Edge even after we change the user default to Adobe etc etc.
Why is this STILL so painful for such a small simple seeming issue?!
One question: When using the GUI, one can add a custom permission for the Private Key. While I can do this after the key is installed, is there a way to add READ permission for "mydomainNETWORK SERVICE" account in the request?
Awesome blog!!! thanks for the detailed information, this clear instructions helps a lot . I am also looking for option to import signed certificate via command line and after that export it with key and make .pfx file
it would be nice to get that option if you have one ready or thoughts.
Thank you for your reply but I just use another setup and it's also working fine. I just remove the restart switch of FLASH BIOS step and use task sequence 'restart computer' instead of that. I also add return code 2 as a success code of FLASH BIOS step.
I used that powershell script no problem with Skype for business 'lync.exe' but it will not work with Teams (Teams.exe) I even decrypted the iconstreams to ensure that Teams was in the list but I still get a message that it's not found. Sort of out of luck.
I successfully established cluster to cluster sychronous storage replica. In time of creation it looks like that all is ok, but if I look into events, I can see events 10448 - Storage Replica has failed an application IO.