开发者

install certificate with administrator rights

开发者 https://www.devze.com 2023-02-02 23:50 出处:网络
Hi I\'m command \"runas /env /user:administrator \"certutil -addstore root myrootca.cer\" When I use this command in command prompt it is asking for the administrator password but when integrating it

Hi I'm command "runas /env /user:administrator "certutil -addstore root myrootca.cer" When I use this command in command prompt it is asking for the administrator password but when integrating it in NSI script the pop up for running command 开发者_如何学JAVAcome and disappears but doesn't ask for the password hence the command fails and could not install the certificate. Please provide the solution Thanks in advance


You should run the whole installer as admin, not just a single command. And what if there is no user named administrator on the system?

0

精彩评论

暂无评论...
验证码 换一张
取 消