Jump to content

Featured Replies

Posted

hello,

 

I do have a batch file which contains the following:

reg delete HKCR\CLSID\{key} /f

I am trying to run the batch file as a normal user in vista and I am getting

an error access_denied.

 

Can I achieve the same through the command line. I tried the same using

runas also:

runas /user:%computername%\administrator

 

but that needs password and need manual intervention, that I don't want.

 

I am able to delete the registry key as an administrator and I want to

achieve the same in normal user login.

 

Is there any way to delete the registry key as login as normal user and

providing the administrator credentials.

 

Thanks in advance,

Punit

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...