![]() ![]() The purpose of this instruction is to enable Microsoft BitLock to lock the D drive ps1 to.exe file conversion, the purpose of this is to encapsulate the local administrator password, so that the password is not stolen by a third party īelow I also share the bl.bat source code for your reference To return to the theme of this post, I want to find the. Therefore, I can bind the local administrator permissions to this custom bl.bat file so that I don't have to perform manual operations every time ![]() The purpose of this code is to obtain Administrator permission to run the bl.bat file under the path of the C drive on the computer Īt present, I have to manually assign Administrator permission to the bl.bat file every time to run, which is very inconvenient. Start-Process -FilePath "c:\bl.bat" -Credential $cred $pwd = ConvertTo-SecureString "PassWord" -AsPlainText –Force Thank you very much for your continued help Hello, today is my most happy thing is to see your reply message ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |