Forgive me as I am new to scripting, but I need to run this command and Deploy via K1000 Scripting

reg.exe ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v CertificateRevocation /t REG_DWORD /d 0 /f

Ive tried calling this with psexec.. couldnt get it to work, Ive tried calling a bat file as a dependency and that does not work. even as a offline kscript running as the domain admin account.

any suggestions for a scripting beginner such as myself?

0 Comments   [ + ] Show Comments


Please log in to comment



Have you tried running as logged in user? Since it's HKCU you would have to. Either that, or active setup.

Answered 07/31/2013 by: dugullett
Red Belt

  • Yep... that fixed the trick, i had tried everything but running as all logged in users.
  • The trick is to always think of 'HKEY_CURRENT_USER' as 'HKEY_CURRENTLY_LOGGED-IN_USER'. As a remote user/admin, you (or the KBox or SCCM or whatever) are NOT the currently logged-in user, so unless you want to get into proper scripting, that hive is unavailable to you.
  • this handy free tool will sort you out:
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja