Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable auto update for all users

    Hello,

    I've been searching for a way to disable the automatic update notification window for all users who log in to the VM. Although there is an option within STATA in general settings, it only works for the current user. Could you please advise me on how to disable this for all users?

    Thank you.

  • #2
    To disable automatic update, set the following Registry key to "0": HKCU:\Software\Stata\Stata17\set_w\update_query

    You could use Group Policy to set it, otherwise, a PowerShell logon script would work too:
    Code:
    New-Item -Path "HKCU:\Software\Stata\Stata17\set_w\update_query" -Value "0" -ItemType String -Force
    To just disable the prompt, but still update, set HKCU:\Software\Stata\Stata17\set_w\update_prompt to 0.

    Comment


    • #3
      Does this work beyond Windows? I imagine that there is something similar on other platforms.

      Comment


      • #4
        This won't necessarily affect all users, but from within Stata you can control update frequency, prompt and query (-help update- and -help set-) to turn them both off, even permanently. You could also put these in your -sysprofile.do- which I believe will control it for all users.

        Comment


        • #5
          Thx all

          Comment


          • #6
            Originally posted by Kiel Hurley View Post
            To disable automatic update, set the following Registry key to "0": HKCU:\Software\Stata\Stata17\set_w\update_query

            You could use Group Policy to set it, otherwise, a PowerShell logon script would work too:
            Code:
            New-Item -Path "HKCU:\Software\Stata\Stata17\set_w\update_query" -Value "0" -ItemType String -Force
            To just disable the prompt, but still update, set HKCU:\Software\Stata\Stata17\set_w\update_prompt to 0.
            that works, thank you!

            Comment

            Working...
            X