SE の雑記

SQL Server の情報をメインに Microsoft 製品の勉強内容を日々投稿

Archive for the ‘Windows Client’ Category

直近の Windows Update の実行状態をスクリプトで取得する

leave a comment

Windows10でのWindows Update関連のレジストリについて に記載されている内容になるのですが、Windows 10 / Windows Server 2016 以降で、直近の Windows Update の実行状態を確認する方法を。
イメージとしては、「設定」の次の画面の表示に近い内容の取得方法です。
image
Read the rest of this entry »

Written by Masayuki.Ozawa

8月 10th, 2019 at 6:30 pm

Posted in Windows Client,Windows Server

Tagged with

リモートデスクトップ接続時の資格情報と証明書の記憶について

leave a comment

Windows からリモートデスクトップで Windows Server 等に接続する場合、資格情報と証明書警告の無視を記憶しておくことができます。
imageimage
これらの情報を初期化したい場合、どの情報をクリアすればよいかをメモとして。
資格情報の記憶部分については、Connect-Mstsc – Open RDP Session with credentials のスクリプトがとても参考になります。
Read the rest of this entry »

Written by Masayuki.Ozawa

3月 11th, 2019 at 11:12 pm

Windows 10 Creators Update にアップデートした際に FileStream が動作しなくなる現象についての情報

leave a comment

SNS でいくつか情報が上がっていますが、Windows 10 Creators Update にアップデートした環境で、SQL Server の FileStream が動作しないという現象が発生しています。
US の TechNet フォーラムにも同様の現象の情報が上がっています。
Database in recovery pending status
詳細については、FILESTREAM issues with SQL Server on Windows 10 creators update で情報が発信されており、現状の回避策としては、SQL Server のサービスアカウントが管理者権限を持つように設定変更する必要があるようです。

Workaround

Following are some of the workaround identified which will enable you to overcome the above errors on Windows 10 creators update.

  • Change the SQL Server service startup account to built-in account LocalSystem
  • Change the SQL Server service startup account to a domain user account with local admin privileges on the system
  • If you use virtual account [NT SERVICE\MSSQL$InstanceName] as service startup account, please make this account a member of the local administrators group
  • Uninstall Creators Update and fall back to the previous Windows build

The Windows team is working on the fix to prevent this breaking change on FILE_OPEN_IF api. If you have SQL Server installed on Windows 10 with databases using filestream feature, we recommend you defer applying the Windows 10 Creators update until the fix is made available.

We will update the blog post once the fix is made available by Windows team

とのことで、修正をする予定のようですが、4/15 時点では修正プログラムはまだ公開されていませんので、Creators Update の適用は注意する必要があるかと。
Read the rest of this entry »

Written by Masayuki.Ozawa

4月 15th, 2017 at 10:48 am

AppLocker 設定時の設定反映の確認のポイント

leave a comment

AppLocker を使用して、アプリケーションの実行制御をする場合の、設定反映が行われているかの確認のポイントのメモを。

Read the rest of this entry »

Written by Masayuki.Ozawa

12月 12th, 2016 at 11:32 pm

Posted in Windows Client

Tagged with

スタートアップスクリプトが完了するまでログインを待機させる

leave a comment

スタートアップスクリプトが完了するまでログインを待機させる荒い方法を。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 22nd, 2016 at 11:40 pm

Posted in Windows Client

Tagged with