简体   繁体   English

SQL Server 17.9中的MSSQL $ SQLEXPRESS和SQLTELEMETRY $ SQLEXPRESS文件夹的用途是什么

[英]What is the purpose of MSSQL$SQLEXPRESS and SQLTELEMETRY$SQLEXPRESS folders in SQL Server 17.9

Anybody knows why I have MSSQL$SQLEXPRESS and SQLTELEMETRY$SQLEXPRESS folders in location C:\\Windows\\Users after installing SQL Server 17.9? 谁知道安装SQL Server 17.9后为什么在位置C:\\Windows\\Users有MSSQL $ SQLEXPRESS和SQLTELEMETRY $ SQLEXPRESS文件夹?

Is it a problem to delete both of them? 删除两个都存在问题吗?

They are Service Accounts. 它们是服务帐户。 They are essentially fake users that get their own user profile directories, which is why they exist in the User directory. 他们本质上是伪造的用户,他们拥有自己的用户配置文件目录,这就是为什么它们存在于User目录中的原因。 You should keep them there (intact) if you plan on continuing to use SQL Server. 如果计划继续使用SQL Server,则应将它们保留在原处。

In my case, I was trying to migrate user profiles from an SSD to an SSHD data drive, leaving behind a Directory Junction/Symbolic Link. 就我而言,我试图将用户配置文件从SSD迁移到SSHD数据驱动器,而留下目录连接/符号链接。 I found it incredibly frustrating that even after uninstalling all SQL Server stuff, these guys remained behind. 我发现令人难以置信的是,即使卸载了所有SQL Server内容,这些人仍然落后。 That is a legitimate reason to get rid of them. 这是摆脱它们的正当理由。 You don't have to have mental issues to not want uninstall residue left over. 您不必有精神问题即可避免遗留卸载残余物。 And, I think it's okay to be concerned about potential conflicts down the road, and not wanting to assume that a reinstall will somehow catch it. 而且,我认为可以担心将来可能发生的冲突,而不希望重新安装会在某种程度上抓住它。

Here is how to remove them. 这是删除它们的方法。 (Again, only if not using SQL Server at all): (同样,仅当完全不使用SQL Server时):

• Remove the services in a cmd window: •在cmd窗口中删除服务:

 sc delete MSSQL$SQLExpress sc delete SQLTELEMETRY$SQLEXPRESS 

then 然后

• Open services.msc and Stop the services (I can't remember what they're called, but they both start with SQL and have SQLEXPRESS in their name) •打开services.msc并停止服务(我不记得它们的名字了,但是它们都以SQL开头并且名称中有SQLEXPRESS)

then 然后

• Delete the directories. •删除目录。 If doing it from a cmd window: 如果从cmd窗口执行此操作:

 rd "c:\\users\\MSSQL$SQLExpress\\" /s/q rd "c:\\users\\SQLTELEMETRY$SQLEXPRESS\\" /s/q 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将新的SQLEXPRESS实例添加到SQL Server 2012 - Add new Instance of SQLEXPRESS to SQL Server 2012 SQL Server代理(SQLEXPRESS)自动停止 - SQL Server Agent (SQLEXPRESS) automatically stop 有没有办法在 Microsoft Sql 服务器管理上将 SQLEXPRESS 服务器更改为 MSSQLSERVER? - Is there a way to change the SQLEXPRESS server to MSSQLSERVER on Microsoft Sql Server Management? {Server Name} localhost与。\\ SqlExpress之间有什么区别 - What Is Difference Between {Server Name} localhost vs .\SqlExpress PHP和SQLExpress Server 2008的复选框 - Checkboxes with PHP & SQLExpress Server 2008 SQLexpress中的日期? - Dates in SQLexpress? 服务器“MSERVER1-PC\\SQLEXPRESS”上的 MSDTC 不可用 - MSDTC on server 'MSERVER1-PC\SQLEXPRESS' is unavailable 如何获取已安装并存在于本地网络中的Sql Server实例(或SqlExpress)的列表 - how can get the list of Sql Server instance(or SqlExpress) that are installed and exist in local network 如何使用Visual Studio 2010和SQLEXPRESS将表从一个SQL Server数据库复制到另一个数据库 - How can I copy tables from one SQL Server database to another using Visual Studio 2010 & SQLEXPRESS 如何为 SQL Server 2012 开发版创建非 SQLEXPRESS 实例 - How to create a non-SQLEXPRESS instance for SQL Server 2012 developer edition
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM