[英]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.