{"id":29052774,"url":"https://github.com/maru0014/windows-kitting-workflow","last_synced_at":"2026-04-30T02:33:36.145Z","repository":{"id":299444535,"uuid":"1003044177","full_name":"maru0014/windows-kitting-workflow","owner":"maru0014","description":"Windows PC自動セットアップワークフロー - PowerShellとJSONによる完全自動化ソリューション","archived":false,"fork":false,"pushed_at":"2025-10-03T14:04:15.000Z","size":573,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T16:10:30.132Z","etag":null,"topics":["automation","deployment","it-automation","kitting","powershell","registry","system-administration","windows","windows-10","windows-11","winget","workflow"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maru0014.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-16T14:33:50.000Z","updated_at":"2025-10-03T14:04:20.000Z","dependencies_parsed_at":"2025-06-16T16:20:32.475Z","dependency_job_id":"6439f8e4-e6c2-487c-a7c8-3feb558e743c","html_url":"https://github.com/maru0014/windows-kitting-workflow","commit_stats":null,"previous_names":["maru0014/windows-kitting-workflow"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/maru0014/windows-kitting-workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maru0014%2Fwindows-kitting-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maru0014%2Fwindows-kitting-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maru0014%2Fwindows-kitting-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maru0014%2Fwindows-kitting-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maru0014","download_url":"https://codeload.github.com/maru0014/windows-kitting-workflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maru0014%2Fwindows-kitting-workflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32452623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","deployment","it-automation","kitting","powershell","registry","system-administration","windows","windows-10","windows-11","winget","workflow"],"created_at":"2025-06-27T00:12:42.774Z","updated_at":"2026-04-30T02:33:36.139Z","avatar_url":"https://github.com/maru0014.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows Kitting Workflow\r\n\r\n## 概要\r\n\r\nWindows Kitting Workflowは、Windows 11 PCを完全自動でセットアップするためのワークフローシステムです。PowerShellとJSON設定ファイルを使用して、アプリケーションのインストール、レジストリ設定、システム最適化を自動実行します。\r\n\r\n### 主な特徴\r\n\r\n- **完全自動化**: ユーザー介入なしでPCセットアップを実行\r\n- **JSON設定**: 実行順序と設定をJSONファイルで簡単管理\r\n- **winget統合**: Microsoft公式パッケージマネージャーによる安全なアプリ管理\r\n- **レジストリ最適化**: セキュリティ・パフォーマンス向上のための設定自動適用\r\n- **エラー通知**: Slack/Teams連携によるリアルタイム通知\r\n- **自動継続**: 再起動後も自動的にセットアップを継続\r\n- **安全なバックアップ**: レジストリ変更前の自動バックアップ\r\n\r\n## デモ動画\r\n\r\n実際の動作を確認するには、以下のデモ動画をご覧ください：\r\n\r\n[![Windows Kitting Workflow デモ動画](https://github.com/user-attachments/assets/2ae9e24f-da1b-41f3-8d5a-22f2a968e6b4)](https://youtu.be/JRqgSvs1WTQ?si=_2jrspqjiH4APwLO)\r\n\r\n[🎬 YouTube でデモ動画を見る](https://youtu.be/JRqgSvs1WTQ)\r\n\r\n## ファイル構成\r\n\r\n```\r\nwindows-kitting-workflow/\r\n├── README.md                     # このファイル\r\n├── LICENSE\r\n├── plan.md\r\n├── main.bat                      # メインエントリーポイント\r\n├── unblock-files.bat             # セキュリティブロック一括解除\r\n├── workflow-editor.bat           # WorkflowEditor 起動バッチ\r\n├── MainWorkflow.ps1              # メインワークフローエンジン\r\n├── WorkflowEditor.ps1            # ワークフロー設定GUIエディター\r\n├── AutoLogin.ps1                 # 自動ログイン設定管理\r\n├── TaskScheduler.ps1             # タスクスケジューラ管理\r\n├── config/                       # 設定ファイル\r\n│   ├── workflow.json             # ワークフロー設定\r\n│   ├── applications.json         # アプリケーション設定\r\n│   ├── notifications.json        # 通知設定\r\n│   ├── local_user.json           # ローカルユーザー設定\r\n│   ├── machine_list.csv          # マシンリスト（オプション）\r\n│   ├── start_pins.ppkg           # スタートメニュー固定構成\r\n│   ├── TaskbarLayoutModification.xml # タスクバー配置\r\n│   ├── wi-fi.xml                 # Wi‑Fi設定XML\r\n│   ├── desktop/                  # デスクトップファイル\r\n│   │   ├── public/               # パブリック用\r\n│   │   └── user/                 # ユーザー用\r\n│   ├── registry/                 # レジストリ設定ファイル\r\n│   │   ├── 01_explorer_settings.*\r\n│   │   ├── 02_performance_settings.*\r\n│   │   ├── ...\r\n│   └── office/                   # Office 導入ファイル\r\n│       ├── setup.exe\r\n│       ├── configuration-Office2021.xml\r\n│       ├── configuration-Office365-x64.xml\r\n│       └── Office/\r\n│           └── Data/\r\n│               └── ...\r\n├── scripts/                      # スクリプトファイル\r\n│   ├── Unblock-AllFiles.ps1      # セキュリティブロック一括解除\r\n│   ├── Common-LogFunctions.ps1   # 共通ログ関数\r\n│   ├── Common-NotificationFunctions.ps1  # 共通通知関数\r\n│   ├── Common-WorkflowHelpers.ps1        # 共通ワークフロー補助\r\n│   ├── setup/                    # セットアップスクリプト\r\n│   │   ├── initialize.ps1\r\n│   │   ├── install-winget.ps1\r\n│   │   ├── install-basic-apps.ps1\r\n│   │   ├── uninstall-apps.ps1\r\n│   │   ├── install-office.ps1\r\n│   │   ├── install-ppkg.ps1\r\n│   │   ├── apply-taskbar-layout.ps1\r\n│   │   ├── import-registry.ps1\r\n│   │   ├── disable-startup-apps.ps1\r\n│   │   ├── deploy-desktop-files.ps1\r\n│   │   ├── setup-wifi.ps1\r\n│   │   ├── setup-wifi.bat\r\n│   │   ├── create-user.ps1\r\n│   │   ├── remove-user.ps1\r\n│   │   ├── rename-computer.ps1\r\n│   │   ├── setup-bitlocker.ps1\r\n│   │   └── windows-update.ps1\r\n│   └── cleanup/                  # クリーンアップスクリプト\r\n│       └── cleanup.ps1\r\n├── docs/                         # ドキュメント\r\n│   ├── README.md\r\n│   ├── TABLE_OF_CONTENTS.md\r\n│   ├── VALIDATION_NOTES.md\r\n│   ├── Testing-Guide.md\r\n│   ├── Troubleshooting.md\r\n│   ├── Registry-Configuration.md\r\n│   ├── Application-Management.md\r\n│   ├── Customization-Guide.md\r\n│   ├── Windows-Update-Guide.md\r\n│   ├── Wi-Fi-Configuration-Guide.md\r\n│   ├── File-Security-Unblock-Guide.md\r\n│   ├── Slack-Thread-Guide.md\r\n│   ├── Teams-Notification-V2-Guide.md\r\n│   ├── WorkflowRoot-Improvement-Guide.md\r\n│   ├── AutoLogin-README.md\r\n│   ├── Office-Installation-Guide.md\r\n│   ├── install_office_script.md\r\n│   ├── ppkg_installation_guide.md\r\n│   ├── taskbar_layout_guide.md\r\n│   ├── copy_path_with_network_guide.md\r\n│   ├── disable_startup_apps_guide.md\r\n│   ├── create-user-guide.md\r\n│   └── remove_user_guide.md\r\n├── tests/                        # テスト・診断ツール\r\n│   ├── README.md\r\n│   ├── Run-AllTests.ps1\r\n│   ├── Test-JsonConfiguration.ps1\r\n│   ├── Test-ProjectStructure.ps1\r\n│   ├── Test-TeamsNotificationV2.ps1\r\n│   ├── run-tests.bat\r\n│   └── run-tests-advanced.bat\r\n└── 自動生成フォルダ（実行時作成）\r\n    ├── backup/                  # バックアップファイル\r\n    ├── status/                  # ステータス管理\r\n    └── logs/                    # ログファイル\r\n```\r\n\r\n## クイックスタート\r\n\r\n### 前提条件\r\n\r\n- Windows 11 または Windows 10 1809以降\r\n- PowerShell 5.1以上\r\n- インターネット接続\r\n\r\n### ⚠️ 重要: セキュリティブロック解除\r\n\r\nインターネットからダウンロードしたファイルには、Windowsによってセキュリティブロックが設定されます。このワークフローを実行する前に、以下のコマンドでセキュリティブロックを解除してください：\r\n\r\n```batch\r\n# 最も簡単な方法（バッチファイル実行）\r\n.\\unblock-files.bat\r\n\r\n# または PowerShell で直接実行\r\n.\\scripts\\Unblock-AllFiles.ps1 -Recurse\r\n```\r\n\r\n詳細な手順は[ファイルセキュリティブロック解除ガイド](docs/File-Security-Unblock-Guide.md)を参照してください。\r\n\r\n### 基本的な使用方法\r\n\r\n1. **フォルダをCドライブに配置**\r\n   ```\r\n   C:\\windows-kitting-workflow\\\r\n   ```\r\n\r\n2. **main.batを右クリックして「管理者として実行」を選択**\r\n\r\n以上。\r\n\r\nセットアップが開始されると、自動ログインとタスクスケジューラが設定され、PC再起動後も自動的に処理が継続されます。\r\n\r\n## インストールされる内容\r\n\r\n### 基本アプリケーション\r\n- **開発ツール**: PowerShell 7, Git, Visual Studio Code\r\n- **ユーティリティ**: 7-Zip, PowerToys  \r\n- **生産性**: Google 日本語入力, Adobe Acrobat Reader\r\n- **ブラウザ**: Google Chrome, Mozilla Firefox\r\n- **メディア**: VLC Media Player\r\n- **コミュニケーション**: Microsoft Teams, Zoom\r\n\r\n### システム最適化\r\n- **エクスプローラー設定**: ファイル拡張子表示でセキュリティ向上\r\n- **パフォーマンス設定**: 応答性向上、視覚効果最適化\r\n- **プライバシー設定**: 不要な情報収集・広告配信の抑制\r\n- **BitLocker暗号化**: TPMベースのシステムドライブ暗号化\r\n- **タスクバー調整**: 不要なボタンの非表示\r\n\r\n詳細は[レジストリ設定ガイド](docs/Registry-Configuration.md)を参照してください。\r\n\r\n## カスタマイズ\r\n\r\n### WorkflowEditor GUI\r\n`WorkflowEditor.ps1`を使用して、視覚的にワークフロー設定を編集できます。\r\n\r\n```batch\r\n# WorkflowEditorを起動（推奨）\r\nworkflow-editor.bat\r\n\r\n# カスタム設定ファイルを指定\r\nworkflow-editor.bat \"path\\to\\workflow.json\"\r\n```\r\n\r\nまたは、直接PowerShellを使用：\r\n```powershell\r\n# WorkflowEditorを起動\r\n.\\WorkflowEditor.ps1\r\n\r\n# カスタム設定ファイルを指定\r\n.\\WorkflowEditor.ps1 -ConfigPath \"path\\to\\workflow.json\"\r\n```\r\n![image](https://github.com/user-attachments/assets/23f9a98f-3f0f-406c-ad1a-10475c7911c4)\r\n\r\n![image](https://github.com/user-attachments/assets/1651b96a-61c8-4ac6-acea-2a00501b5e63)\r\n\r\n\r\nWorkflowEditorでは以下の操作が可能です：\r\n- ワークフローの基本設定（名前、バージョン、説明など）\r\n- ステップの詳細設定（スクリプト、タイプ、実行オプション）\r\n- ステップの実行順序変更（上下移動）\r\n- ステップのJSONを直接編集\r\n- 設定の保存・名前を付けて保存\r\n\r\n詳細は[WorkflowEditorガイド](docs/WorkflowEditor-Guide.md)を参照してください。\r\n\r\n### アプリケーションの追加・変更\r\n`config/applications.json`を編集してインストールアプリをカスタマイズできます。\r\n詳細は[アプリケーション管理ガイド](docs/Application-Management.md)を参照してください。\r\n\r\n### ワークフローの変更\r\n`config/workflow.json`を編集して実行順序や処理内容をカスタマイズできます。\r\n\r\n#### Windows Updateの設定\r\nWindows Updateステップでは以下のカスタマイズが可能です：\r\n- 特定のKB番号のアップデートのみインストール\r\n- 特定のアップデートを除外してインストール\r\n- Microsoft Updateサービスの含有/除外\r\n- 自動再起動の有効/無効\r\n\r\n詳細は[カスタマイズガイド](docs/Customization-Guide.md)を参照してください。\r\n\r\n### 通知設定\r\nSlack/Teams Webhookを設定することで、進捗状況をリアルタイムで確認できます。\r\n`config/notifications.json`で設定してください。\r\n\r\n#### Slackスレッド機能\r\nPCごとにSlackスレッドを分けて通知することが可能です。複数PCの同時セットアップでも各PCの進捗を個別に追跡できます。\r\n詳細は[Slackスレッドガイド](docs/Slack-Thread-Guide.md)を参照してください。\r\n\r\n## トラブルシューティング\r\n\r\n### セキュリティエラーが発生する場合\r\n\r\nPowerShell実行ポリシーエラーや「ファイルがブロックされています」エラーが発生した場合：\r\n\r\n```batch\r\n# セキュリティブロック解除\r\n.\\unblock-files.bat\r\n\r\n# または実行ポリシーを一時的に変更\r\npowershell -ExecutionPolicy Bypass -File \"main.bat\"\r\n```\r\n\r\n### その他の問題\r\n\r\n問題が発生した場合は以下の診断ツールを使用してください：\r\n\r\n```powershell\r\n# 包括的な健全性チェック\r\n.\\tests\\Run-AllTests.ps1 -Verbose\r\n\r\n# JSON設定ファイルの検証・修正\r\n.\\tests\\Test-JsonConfiguration.ps1 -Fix\r\n\r\n# プロジェクト構造の詳細診断\r\n.\\tests\\Test-ProjectStructure.ps1 -Verbose\r\n```\r\n\r\nよくある問題と解決方法は[トラブルシューティングガイド](docs/Troubleshooting.md)を参照してください。\r\n\r\n## ドキュメント\r\n\r\n### 📚 基本ガイド（ユーザー向け）\r\n- **[ドキュメントREADME](docs/README.md)**: 全ドキュメントの概要とナビゲーション\r\n- **[ファイルセキュリティブロック解除ガイド](docs/File-Security-Unblock-Guide.md)**: ダウンロードファイルのブロック解除方法\r\n- **[レジストリ設定ガイド](docs/Registry-Configuration.md)**: システム最適化設定の詳細\r\n- **[アプリケーション管理ガイド](docs/Application-Management.md)**: アプリインストールの管理方法\r\n- **[BitLocker設定ガイド](docs/BitLocker-Configuration-Guide.md)**: BitLocker暗号化の自動設定\r\n- **[カスタマイズガイド](docs/Customization-Guide.md)**: ワークフローのカスタマイズ方法\r\n- **[Windows Updateガイド](docs/Windows-Update-Guide.md)**: Windows Update設定の詳細\r\n- **[Wi-Fi設定ガイド](docs/Wi-Fi-Configuration-Guide.md)**: Wi-Fi自動設定機能の詳細\r\n- **[Slackスレッドガイド](docs/Slack-Thread-Guide.md)**: Slackスレッド機能の使用方法\r\n- **[トラブルシューティングガイド](docs/Troubleshooting.md)**: 問題解決方法\r\n- **[テスト・診断ガイド](docs/Testing-Guide.md)**: テストツールの使用方法\r\n- **[自動ログインREADME](docs/AutoLogin-README.md)**: 自動ログイン機能の詳細\r\n\r\n### 🔧 技術実装詳細（開発者向け）\r\n- **[共通通知ライブラリ](docs/Common-Notification-Library.md)**: 通知機能の共通化とアーキテクチャ\r\n- **[Teams通知新スレッド化方式ガイド](docs/Teams-Notification-V2-Guide.md)**: 改良版フロー/真のスレッド化\r\n- **[WorkflowRoot改善ガイド](docs/WorkflowRoot-Improvement-Guide.md)**: 共通処理改善の実装詳細\r\n\r\n## ライセンス\r\n\r\nこのプロジェクトはMITライセンスの下で公開されています。\r\n\r\n## 注意事項\r\n\r\nこのツールは管理者権限で実行され、システムに重要な変更を加える可能性があります。本番環境で使用する前に、テスト環境で十分に検証してください。\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaru0014%2Fwindows-kitting-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaru0014%2Fwindows-kitting-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaru0014%2Fwindows-kitting-workflow/lists"}