Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 999353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:20:23+00:00 2026-05-16T07:20:23+00:00

Hey, I am currently developing a vbs script, which installs SQL server 2008 +

  • 0

Hey, I am currently developing a vbs script, which installs SQL server 2008 + SP1. After the install I want to change the default settings in the Ssms, such as “Prevent saving changes that require table recreation” and such on.

I can’t figure out, where Ssms hides its settings. Currently I am looking at
1) My Documents\SQL Server Management Studio\
2) HKCU\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell\Profile

But whenever I change a “setting” in the vssettings-file in 1), Ssms thinks it is first time it runs, and overwrite.

How can I change the Ssms setting manual, without doing it from the Ssms itself?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T07:20:24+00:00Added an answer on May 16, 2026 at 7:20 am

    Unfortunately, on first run SSMS has to rebuild configuration information, since that is the way VSShell is designed and SSMS2005 – SSMS2008R2 is built on a top of VS Shell.

    I’m not 100% sure, but you can try to run SSMS /setup (runs without UI), that theoretically should trigger that rebuild.

    SSMS stores settings in multiple places. Most of Tools->Options settings are stored in “C:\Users\\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin”

    Which is binary serialization of the settings structure.

    But if you reference “C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Microsoft.SqlServer.Management.UserSettings.dll” assembly, you can access it programatically:

    Console.WriteLine(Settings<SqlStudio>.Current.SSMS.Startup);
    Settings<SqlStudio>.Save(true);
    

    Please note, that this file doesn’t exists right after installation, but if you instantiate the Settings object ans call Save method, it will be created and used.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey, I want to store application configuration data. Currently, I'm using INIs but they
Hey guys currently I am thinking of serving images using an image handler script.
Hey I am currently reading in a XML file which contains bullet list in
I am currently developing on an advertising system, which have been running just fine
Hey, I'm currently trying to send an image file to a web server using
Hey guys, I currently have a root table view which has a toolbar at
Hey all, I have an HTML form on my website which currently only uses
Hey there, I'm currently developing a Mex-file in matlab including CUDA computation. I wonder
Hey I am currently using a component in which I need to load a
Hey guys i have the string: /new/krymson/ currently i have the regex: /\/new\// which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.