システムwiki

sysprepはすべてのSQLログインを削除します

ColmdeC 受付中 最終更新日:2022-03-04 15:55

commandLine>SQL Server(2017)で実行されている2つのインスタンス(SQLEXPRESSとMYINSTANCE

)があります

MYINSTANCEに数人のユーザーを追加しました

ただし、デバイスでSysprepを実行すると、saBuiltin\Users以外のすべてが削除されます.

ただし、ユーザーはSQLEXPRESSだけを使用しているようです.

この削除を防ぐにはどうすればよいですか?

これが私の無人ファイルです:(セキュリティのために編集されたものもあります)



<サービス>








<パスワード>
<値>#####################################

false</PlainText><br></パスワード><br><ユーザー名>#########</ユーザー名><br><LogonCount>4294967290</LogonCount><br><Enabled>true</Enabled><br></AutoLogon><br><computerName>comPACT-PC</computerName><br><ProductKey>###########################</ProductKey><br><TimeZone>GMT標準時</TimeZone><br></component><br><component name= "Microsoft-Windows-SystemRestore-Main" ProcessorArchitecture= "amd64" publicKeyToken= "31bf3856ad364e35" language= "neutral" versionScope= "nonSxS" <?xml><br><DisableSR>1</DisableSR><br></component><br></設定><br><settings pass= "oobeSystem"><br><component name= "Microsoft-Windows-International-Core" ProcessorArchitecture= "amd64" publicKeyToken= "31bf3856ad364e35" language= "neutral" versionScope= "nonSxS" <?xml><br><InputLocale>en-GB;</InputLocale><br><SystemLocale>en-GB</SystemLocale><br><UILanguage>en-GB</UILanguage><br><UILanguageFallback>en-GB</UILanguageFallback><br><UserLocale>en-GB</UserLocale><br></component><br><component name= "Microsoft-Windows-Shell-Setup" ProcessorArchitecture= "amd64" publicKeyToken= "31bf3856ad364e35" language= "neutral" versionScope= "nonSxS" <?xml><br><AutoLogon><br><パスワード><br><値>##################################</値><br><PlainText>false</PlainText><br></パスワード><br><LogonCount>4294967290</LogonCount><br><ユーザー名>#########</ユーザー名><br><Enabled>true</Enabled><br></AutoLogon><br><FirstLogoncommands><br><同期コマンドwcm:action= "add"><br><注文>9</注文><br><commandLine>powercfg.exe-setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</commandLine><br></同期コマンド><br><同期コマンドwcm:action= "add"><br><commandLine>powercfg.exe-SETACVALUEINDEX ########################## #################### ## ###################</commandLine><br><注文>10</注文><br></同期コマンド><br><同期コマンドwcm:action= "add"><br><注文>1</注文><br><説明>bcdedit.exe/set {current} bootstatuspolicy ignoreallfailures</Description><br></同期コマンド><br><同期コマンドwcm:action= "add"><br><commandLine>"<code>C:\Windows\System32\sysprep\sidFoldRename.vbs"</code>commandLine></<br><注文>12</注文><br></同期コマンド><br></FirstLogoncommands><br><OEMInformation><br><メーカー>###########</メーカー><br><supportURL>####################</supportURL><br><モデル>#################</モデル><br></OEMInformation><br><OOBE><br><NetworkLocation>ホーム</NetworkLocation><br><ProtectYourPC>3</ProtectYourPC><br><HideEULAPage>true</HideEULAPage><br><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE><br><SkipUserOOBE>true</SkipUserOOBE><br><SkipMachineOOBE>true</SkipMachineOOBE><br></OOBE><br><ユーザーアカウント><br><LocalAccounts><br><LocalAccount wcm:action= "add"><br><パスワード><br><値>#############################</値><br><PlainText>false</PlainText><br></パスワード><br><グループ>管理者</グループ><br><説明>######</説明><br><DisplayName>######</DisplayName><br><名前>#####</名前><br></LocalAccount><br></LocalAccounts><br></UserAccounts><br><WindowsFeatures><br><ShowMediaCenter>false</ShowMediaCenter><br><ShowWindowsMail>false</ShowWindowsMail><br><ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer><br><ShowInternetExplorer>true</ShowInternetExplorer><br></WindowsFeatures><br><BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled><br></component><br></設定><br><settings pass= "generalize"><br><component name= "Microsoft-Windows-PnpSysprep" ProcessorArchitecture= "amd64" publicKeyToken= "31bf3856ad364e35" language= "neutral" versionScope= "nonSxS" <?xml><br><PersistAllDeviceInstalls>true</PersistAllDeviceInstalls><br><DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices><br></component><br></設定><br><cpi:offlineImage cpi:source= "wim:e:/sources/install.wim#<code>Windows 10</code>Enterprise 2016 LTSB" <?xml><br></無人></code></pre><p>(ユーザー名とパスワードは各セクションで同じです)</p><p>sysprepを実行するために使用されるコマンドは次のとおりです...</p><p><code>c:\Windows\system32\sysprep\sysprep.exe/generalize/oobe/shutdown/unattend:c:\Windows\system32\sysprep\myAnswerFile.<?xml></pre><p>ただし、これは、応答ファイルのない監査モードでも実行されます.</p><p>助けてくれてありがとう...</p> <div class="PnadhHfvol"><div id='NanvwTvkee' class='SmpcgChdan rdbox'></div> <h2>返信リスト(回答:1)</h2> <div class="PxwivTozmi" id="post_1"> <div class="BmrndXyhjn"> <div class="UweorXlboi"><div class="floors"> 1 # </div><em class="fr">CarloTJ <time title="返信日">2021-09-07 02:04</time> </em><span></span> </div> </div> <div class="GngarHissd"> <p>グッドデイコルム、 <br>これは、ホーム消費者のためのコミュニティフォーラムです. SQL Serverに関連する懸念事項については、お問い合わせを投稿できます Microsoft Q&Aの下のこのリンクにあります. <br><a href="https://docs.Microsoft.com/ja-jp/answers/topics/sql-server-general.html" target="_blank" rel="noreferrer nofollow">https://docs.Microsoft.com/ja-jp/answers/topics... </a><br>素晴らしい一日を過ごし、安全を確保してください. <br>心から、 <br>カルロT.</p><script>ans();</script><div class="show_all_reply"></div> </div> </div> </div> </article> </div> </div> <script type="text/javascript">footer();</script> <footer><div id='ZadyuXitmh' class='AphieGpzys rdbox'></div> <div class="WcfafBtisw"> <div class="RvuqdJhazw"> <p>© システムwiki All Rights Reserved.</p> </div> </div> </footer> <script src="/css/main.js" async="" defer=""></script> <!----> </body> </html>