├── .devcontainer.json
├── .dockerignore
├── .github
├── ISSUE_TEMPLATE
│ ├── 1-issue.yml
│ ├── 2-feature.yml
│ ├── 3-bug.yml
│ ├── 4-question.yml
│ └── config.yml
├── dependabot.yml
├── logo.png
├── renovate.json
└── workflows
│ ├── build.yml
│ ├── check.yml
│ ├── hub.yml
│ └── test.yml
├── .gitignore
├── Dockerfile
├── assets
├── win10x64-enterprise-eval.xml
├── win10x64-enterprise.xml
├── win10x64-iot.xml
├── win10x64-ltsc.xml
├── win10x64.xml
├── win11x64-enterprise-eval.xml
├── win11x64-enterprise.xml
├── win11x64-iot.xml
├── win11x64-ltsc.xml
├── win11x64.xml
├── win2008r2-eval.xml
├── win2008r2.xml
├── win2012r2-eval.xml
├── win2012r2.xml
├── win2016-eval.xml
├── win2016.xml
├── win2019-eval.xml
├── win2019-hv.xml
├── win2019.xml
├── win2022-eval.xml
├── win2022.xml
├── win2025-eval.xml
├── win2025.xml
├── win7x64-enterprise-eval.xml
├── win7x64-enterprise.xml
├── win7x64-ultimate.xml
├── win7x64.xml
├── win7x86-enterprise.xml
├── win7x86-ultimate.xml
├── win7x86.xml
├── win81x64-enterprise-eval.xml
├── win81x64-enterprise.xml
├── win81x64.xml
├── winvistax64-enterprise.xml
├── winvistax64-ultimate.xml
├── winvistax64.xml
├── winvistax86-enterprise.xml
├── winvistax86-ultimate.xml
└── winvistax86.xml
├── compose.yml
├── kubernetes.yml
├── license.md
├── readme.md
└── src
├── define.sh
├── entry.sh
├── install.sh
├── mido.sh
├── power.sh
└── samba.sh
/.devcontainer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "windows",
3 | "service": "windows",
4 | "forwardPorts": [8006],
5 | "dockerComposeFile": "compose.yml"
6 | }
7 |
--------------------------------------------------------------------------------
/.dockerignore:
--------------------------------------------------------------------------------
1 | .dockerignore
2 | .git
3 | .github
4 | .gitignore
5 | .gitlab-ci.yml
6 | .gitmodules
7 | Dockerfile
8 | Dockerfile.archive
9 | compose.yml
10 | compose.yaml
11 | docker-compose.yml
12 | docker-compose.yaml
13 | *.md
14 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/1-issue.yml:
--------------------------------------------------------------------------------
1 | name: "\U0001F6A8 Technical issue"
2 | description: When you're experiencing problems using the container
3 | body:
4 | - type: input
5 | id: os
6 | attributes:
7 | label: Operating system
8 | description: Your Linux distribution (can be shown by `lsb_release -a`).
9 | placeholder: e.g. Ubuntu 24.04
10 | validations:
11 | required: true
12 | - type: textarea
13 | id: summary
14 | attributes:
15 | label: Description
16 | description: A clear and concise description of your issue.
17 | validations:
18 | required: true
19 | - type: textarea
20 | id: compose
21 | attributes:
22 | label: Docker compose
23 | description: The compose file (or otherwise the `docker run` command used).
24 | render: yaml
25 | validations:
26 | required: true
27 | - type: textarea
28 | id: log
29 | attributes:
30 | label: Docker log
31 | description: The logfile of the container (as shown by `docker logs windows`).
32 | render: shell
33 | validations:
34 | required: true
35 | - type: textarea
36 | id: screenshot
37 | attributes:
38 | label: Screenshots (optional)
39 | description: Screenshots that might help to make the problem more clear.
40 | validations:
41 | required: false
42 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/2-feature.yml:
--------------------------------------------------------------------------------
1 | name: "\U0001F680 Feature request"
2 | description: Suggest an idea for improving the container
3 | title: "[Feature]: "
4 | labels: ["enhancement"]
5 | body:
6 | - type: textarea
7 | id: problem
8 | attributes:
9 | label: Is your proposal related to a problem?
10 | description: |
11 | Provide a clear and concise description of what the problem is.
12 | For example, "I'm always frustrated when..."
13 | validations:
14 | required: true
15 | - type: textarea
16 | id: solution
17 | attributes:
18 | label: Describe the solution you'd like.
19 | description: |
20 | Provide a clear and concise description of what you want to happen.
21 | validations:
22 | required: true
23 | - type: textarea
24 | id: alternatives
25 | attributes:
26 | label: Describe alternatives you've considered.
27 | description: |
28 | Let us know about other solutions you've tried or researched.
29 | validations:
30 | required: true
31 | - type: textarea
32 | id: context
33 | attributes:
34 | label: Additional context
35 | description: |
36 | Is there anything else you can add about the proposal?
37 | You might want to link to related issues here, if you haven't already.
38 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/3-bug.yml:
--------------------------------------------------------------------------------
1 | name: "\U0001F41E Bug report"
2 | description: Create a report to help us improve the container
3 | title: "[Bug]: "
4 | labels: ["bug"]
5 | body:
6 | - type: input
7 | id: os
8 | attributes:
9 | label: Operating system
10 | description: Your Linux distribution (can be shown by `lsb_release -a`).
11 | placeholder: e.g. Ubuntu 24.04
12 | validations:
13 | required: true
14 | - type: textarea
15 | id: summary
16 | attributes:
17 | label: Description
18 | description: Describe the expected behaviour, the actual behaviour, and the steps to reproduce.
19 | validations:
20 | required: true
21 | - type: textarea
22 | id: compose
23 | attributes:
24 | label: Docker compose
25 | description: The compose file (or otherwise the `docker run` command used).
26 | render: yaml
27 | validations:
28 | required: true
29 | - type: textarea
30 | id: log
31 | attributes:
32 | label: Docker log
33 | description: The logfile of the container (as shown by `docker logs windows`).
34 | render: shell
35 | validations:
36 | required: true
37 | - type: textarea
38 | id: screenshot
39 | attributes:
40 | label: Screenshots (optional)
41 | description: Screenshots that might help to make the problem more clear.
42 | validations:
43 | required: false
44 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/4-question.yml:
--------------------------------------------------------------------------------
1 | name: "\U00002753 General question"
2 | description: Questions about the container not related to an issue
3 | title: "[Question]: "
4 | labels: ["question"]
5 | body:
6 | - type: checkboxes
7 | attributes:
8 | label: Is your question not already answered in the FAQ?
9 | description: Please read the [FAQ](https://github.com/dockur/windows/blob/master/readme.md) carefully to avoid asking duplicate questions.
10 | options:
11 | - label: I made sure the question is not listed in the [FAQ](https://github.com/dockur/windows/blob/master/readme.md).
12 | required: true
13 | - type: checkboxes
14 | attributes:
15 | label: Is this a general question and not a technical issue?
16 | description: For questions related to issues you must use the [technical issue](https://github.com/dockur/windows/issues/new?assignees=&labels=&projects=&template=1-issue.yml) form instead. It contains all the right fields (system info, logfiles, etc.) we need in order to be able to help you.
17 | options:
18 | - label: I am sure my question is not about a technical issue.
19 | required: true
20 | - type: textarea
21 | id: question
22 | attributes:
23 | label: Question
24 | description: What's the question you have about the container?
25 | validations:
26 | required: true
27 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | blank_issues_enabled: false
2 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: docker
4 | directory: /
5 | schedule:
6 | interval: weekly
7 | - package-ecosystem: github-actions
8 | directory: /
9 | schedule:
10 | interval: weekly
11 |
--------------------------------------------------------------------------------
/.github/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dockur/windows/0b7e8f01becd950eb22c478c7220612b967336ed/.github/logo.png
--------------------------------------------------------------------------------
/.github/renovate.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3 | "extends": ["config:recommended", ":disableDependencyDashboard"]
4 | }
5 |
--------------------------------------------------------------------------------
/.github/workflows/build.yml:
--------------------------------------------------------------------------------
1 | name: Build
2 |
3 | on:
4 | workflow_dispatch:
5 | push:
6 | branches:
7 | - master
8 | paths-ignore:
9 | - '**/*.md'
10 | - '**/*.yml'
11 | - '.gitignore'
12 | - '.dockerignore'
13 | - '.github/**'
14 | - '.github/workflows/**'
15 |
16 | concurrency:
17 | group: build
18 | cancel-in-progress: false
19 |
20 | jobs:
21 | shellcheck:
22 | name: Test
23 | uses: ./.github/workflows/check.yml
24 | build:
25 | name: Build
26 | needs: shellcheck
27 | runs-on: ubuntu-latest
28 | permissions:
29 | actions: write
30 | packages: write
31 | contents: read
32 | steps:
33 | -
34 | name: Checkout
35 | uses: actions/checkout@v5
36 | with:
37 | fetch-depth: 0
38 | -
39 | name: Docker metadata
40 | id: meta
41 | uses: docker/metadata-action@v5
42 | with:
43 | context: git
44 | images: |
45 | ${{ secrets.DOCKERHUB_REPO }}
46 | ghcr.io/${{ github.repository }}
47 | tags: |
48 | type=raw,value=latest,priority=100
49 | type=raw,value=${{ vars.MAJOR }}.${{ vars.MINOR }}
50 | labels: |
51 | org.opencontainers.image.title=${{ vars.NAME }}
52 | env:
53 | DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
54 | -
55 | name: Set up Docker Buildx
56 | uses: docker/setup-buildx-action@v3
57 | -
58 | name: Login into Docker Hub
59 | uses: docker/login-action@v3
60 | with:
61 | username: ${{ secrets.DOCKERHUB_USERNAME }}
62 | password: ${{ secrets.DOCKERHUB_TOKEN }}
63 | -
64 | name: Login to GitHub Container Registry
65 | uses: docker/login-action@v3
66 | with:
67 | registry: ghcr.io
68 | username: ${{ github.actor }}
69 | password: ${{ secrets.GITHUB_TOKEN }}
70 | -
71 | name: Build Docker image
72 | uses: docker/build-push-action@v6
73 | with:
74 | context: .
75 | push: true
76 | provenance: false
77 | platforms: linux/amd64,linux/arm64
78 | tags: ${{ steps.meta.outputs.tags }}
79 | labels: ${{ steps.meta.outputs.labels }}
80 | annotations: ${{ steps.meta.outputs.annotations }}
81 | build-args: |
82 | VERSION_ARG=${{ steps.meta.outputs.version }}
83 | -
84 | name: Create a release
85 | uses: action-pack/github-release@v2
86 | with:
87 | tag: "v${{ steps.meta.outputs.version }}"
88 | title: "v${{ steps.meta.outputs.version }}"
89 | token: ${{ secrets.REPO_ACCESS_TOKEN }}
90 | -
91 | name: Increment version variable
92 | uses: action-pack/bump@v2
93 | with:
94 | token: ${{ secrets.REPO_ACCESS_TOKEN }}
95 | -
96 | name: Push to Gitlab mirror
97 | uses: action-pack/gitlab-sync@v3
98 | with:
99 | url: ${{ secrets.GITLAB_URL }}
100 | token: ${{ secrets.GITLAB_TOKEN }}
101 | username: ${{ secrets.GITLAB_USERNAME }}
102 | -
103 | name: Send mail
104 | uses: action-pack/send-mail@v1
105 | with:
106 | to: ${{secrets.MAILTO}}
107 | from: Github Actions <${{secrets.MAILTO}}>
108 | connection_url: ${{secrets.MAIL_CONNECTION}}
109 | subject: Build of ${{ github.event.repository.name }} v${{ steps.meta.outputs.version }} completed
110 | body: |
111 | The build job of ${{ github.event.repository.name }} v${{ steps.meta.outputs.version }} was completed successfully!
112 |
113 | See https://github.com/${{ github.repository }}/actions for more information.
114 |
--------------------------------------------------------------------------------
/.github/workflows/check.yml:
--------------------------------------------------------------------------------
1 | on: [workflow_call]
2 | name: "Check"
3 | permissions: {}
4 |
5 | jobs:
6 | shellcheck:
7 | name: shellcheck
8 | runs-on: ubuntu-latest
9 | steps:
10 | - uses: actions/checkout@v5
11 | - name: Run ShellCheck
12 | uses: ludeeus/action-shellcheck@master
13 | env:
14 | SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
15 | - name: Validate XML
16 | uses: action-pack/valid-xml@v1
17 | with:
18 | path: "assets"
19 | file-endings: ".xml"
20 | - name: Lint Dockerfile
21 | uses: hadolint/hadolint-action@v3.2.0
22 | with:
23 | dockerfile: Dockerfile
24 | ignore: DL3006,DL3008
25 | failure-threshold: warning
26 |
--------------------------------------------------------------------------------
/.github/workflows/hub.yml:
--------------------------------------------------------------------------------
1 | name: Update
2 | on:
3 | push:
4 | branches:
5 | - master
6 | paths:
7 | - readme.md
8 | - README.md
9 | - .github/workflows/hub.yml
10 |
11 | jobs:
12 | dockerHubDescription:
13 | runs-on: ubuntu-latest
14 | steps:
15 | - uses: actions/checkout@v5
16 | -
17 | name: Docker Hub Description
18 | uses: peter-evans/dockerhub-description@v4
19 | with:
20 | username: ${{ secrets.DOCKERHUB_USERNAME }}
21 | password: ${{ secrets.DOCKERHUB_TOKEN }}
22 | repository: ${{ secrets.DOCKERHUB_REPO }}
23 | short-description: ${{ github.event.repository.description }}
24 | readme-filepath: ./readme.md
25 |
--------------------------------------------------------------------------------
/.github/workflows/test.yml:
--------------------------------------------------------------------------------
1 | on:
2 | workflow_dispatch:
3 | pull_request:
4 | paths:
5 | - '**/*.sh'
6 | - '**/*.xml'
7 | - '.github/workflows/test.yml'
8 | - '.github/workflows/check.yml'
9 | - 'Dockerfile'
10 |
11 | name: "Test"
12 | permissions: {}
13 |
14 | jobs:
15 | shellcheck:
16 | name: Test
17 | uses: ./.github/workflows/check.yml
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | # syntax=docker/dockerfile:1
2 |
3 | ARG VERSION_ARG="latest"
4 | FROM scratch AS build-amd64
5 |
6 | COPY --from=qemux/qemu:7.12 / /
7 |
8 | ARG DEBCONF_NOWARNINGS="yes"
9 | ARG DEBIAN_FRONTEND="noninteractive"
10 | ARG DEBCONF_NONINTERACTIVE_SEEN="true"
11 |
12 | RUN set -eu && \
13 | apt-get update && \
14 | apt-get --no-install-recommends -y install \
15 | samba \
16 | wimtools \
17 | dos2unix \
18 | cabextract \
19 | libxml2-utils \
20 | libarchive-tools \
21 | netcat-openbsd && \
22 | apt-get clean && \
23 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
24 |
25 | COPY --chmod=755 ./src /run/
26 | COPY --chmod=755 ./assets /run/assets
27 |
28 | ADD --chmod=755 https://raw.githubusercontent.com/christgau/wsdd/refs/tags/v0.9/src/wsdd.py /usr/sbin/wsdd
29 | ADD --chmod=664 https://github.com/qemus/virtiso-whql/releases/download/v1.9.47-0/virtio-win-1.9.47.tar.xz /var/drivers.txz
30 |
31 | FROM dockurr/windows-arm:${VERSION_ARG} AS build-arm64
32 | FROM build-${TARGETARCH}
33 |
34 | ARG VERSION_ARG="0.00"
35 | RUN echo "$VERSION_ARG" > /run/version
36 |
37 | VOLUME /storage
38 | EXPOSE 3389 8006
39 |
40 | ENV VERSION="11"
41 | ENV RAM_SIZE="4G"
42 | ENV CPU_CORES="2"
43 | ENV DISK_SIZE="64G"
44 |
45 | ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
46 |
--------------------------------------------------------------------------------
/assets/win7x64-enterprise-eval.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | 100
24 |
25 |
26 | 2
27 | Primary
28 | true
29 |
30 |
31 |
32 |
33 | NTFS
34 |
35 | 1
36 | true
37 | 1
38 | 0x27
39 |
40 |
41 | true
42 | NTFS
43 |
44 | C
45 | 2
46 | 2
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Windows 7 Enterprise
56 | /IMAGE/NAME
57 |
58 |
59 |
60 | 0
61 | 2
62 |
63 | false
64 |
65 |
66 |
67 | true
68 | Never
69 |
70 |
71 | false
72 | Never
73 |
74 |
75 | true
76 | Docker
77 | Windows for Docker
78 |
79 | false
80 |
81 | false
82 |
83 |
84 |
85 |
86 |
87 | false
88 |
89 |
90 |
91 |
92 | true
93 |
94 |
95 | 1
96 |
97 |
98 |
99 |
100 | true
101 |
102 |
103 | *
104 |
105 | Dockur
106 | Windows for Docker
107 |
108 |
109 |
110 | 1
111 |
112 |
113 | true
114 | true
115 | https://google.com
116 | about:blank
117 |
118 |
119 | true
120 | true
121 | https://google.com
122 | about:blank
123 |
124 |
125 | 0
126 |
127 |
128 | 1
129 |
130 |
131 | 0409:00000409
132 | en-US
133 | en-US
134 | en-US
135 |
136 |
137 | false
138 |
139 |
140 | 0
141 |
142 |
143 |
144 |
145 | true
146 | all
147 | @FirewallAPI.dll,-28752
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 | Docker
158 | Administrators
159 |
160 |
161 | true
162 |
163 |
164 |
165 |
166 | password
167 | true
168 |
169 |
170 |
171 | Docker
172 | true
173 | 65432
174 |
175 |
176 | true
177 |
178 |
179 |
180 | 32
181 | 1920
182 | 1080
183 |
184 |
185 | true
186 | true
187 | Home
188 | 3
189 | true
190 | true
191 |
192 | Dockur
193 | Windows for Docker
194 |
195 |
196 | 1
197 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
198 | Allow guest access to network shares
199 |
200 |
201 | 3
202 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
203 | Password Never Expires
204 |
205 |
206 | 4
207 | cmd /C POWERCFG -H OFF
208 | Disable Hibernation
209 |
210 |
211 | 5
212 | cmd /C POWERCFG -X -monitor-timeout-ac 0
213 | Disable monitor blanking
214 |
215 |
216 | 6
217 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
218 | Disable Network Discovery popup
219 |
220 |
221 | 7
222 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
223 | Disable Network Discovery popup
224 |
225 |
226 | 8
227 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
228 | Disable Network Discovery popup
229 |
230 |
231 | 9
232 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
233 | Disable first-run experience in Edge
234 |
235 |
236 | 10
237 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
238 | Show file extensions in Explorer
239 |
240 |
241 | 11
242 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
243 | Zero Hibernation File
244 |
245 |
246 | 12
247 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
248 | Disable Hibernation
249 |
250 |
251 | 13
252 | cmd /C POWERCFG -X -standby-timeout-ac 0
253 | Disable Sleep
254 |
255 |
256 | 14
257 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
258 | Enable RemoteAPP to launch unlisted programs
259 |
260 |
261 | 15
262 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
263 | Enable Network Discovery
264 |
265 |
266 | 16
267 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
268 | Enable File Sharing
269 |
270 |
271 | 17
272 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
273 | Add entry in hosts file
274 |
275 |
276 | 18
277 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
278 | Execute custom script from the OEM folder if exists
279 |
280 |
281 |
282 |
283 |
284 |
--------------------------------------------------------------------------------
/assets/win7x64-enterprise.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | 100
24 |
25 |
26 | 2
27 | Primary
28 | true
29 |
30 |
31 |
32 |
33 | NTFS
34 |
35 | 1
36 | true
37 | 1
38 | 0x27
39 |
40 |
41 | true
42 | NTFS
43 |
44 | C
45 | 2
46 | 2
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Windows 7 Enterprise
56 | /IMAGE/NAME
57 |
58 |
59 |
60 | 0
61 | 2
62 |
63 | false
64 |
65 |
66 |
67 | true
68 | Never
69 |
70 |
71 | false
72 | Never
73 |
74 |
75 | true
76 | Docker
77 | Windows for Docker
78 |
79 | H7X92-3VPBB-Q799D-Y6JJ3-86WC6
80 | OnError
81 |
82 |
83 | false
84 |
85 | false
86 |
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | true
97 |
98 |
99 | 1
100 |
101 |
102 |
103 |
104 | true
105 |
106 |
107 | *
108 |
109 | Dockur
110 | Windows for Docker
111 |
112 |
113 |
114 | 1
115 |
116 |
117 | true
118 | true
119 | https://google.com
120 | about:blank
121 |
122 |
123 | true
124 | true
125 | https://google.com
126 | about:blank
127 |
128 |
129 | 0
130 |
131 |
132 | 1
133 |
134 |
135 | 0409:00000409
136 | en-US
137 | en-US
138 | en-US
139 |
140 |
141 | false
142 |
143 |
144 | 0
145 |
146 |
147 |
148 |
149 | true
150 | all
151 | @FirewallAPI.dll,-28752
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 | Docker
162 | Administrators
163 |
164 |
165 | true
166 |
167 |
168 |
169 |
170 | password
171 | true
172 |
173 |
174 |
175 | Docker
176 | true
177 | 65432
178 |
179 |
180 | true
181 |
182 |
183 |
184 | 32
185 | 1920
186 | 1080
187 |
188 |
189 | true
190 | true
191 | Home
192 | 3
193 | true
194 | true
195 |
196 | Dockur
197 | Windows for Docker
198 |
199 |
200 | 1
201 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
202 | Allow guest access to network shares
203 |
204 |
205 | 3
206 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
207 | Password Never Expires
208 |
209 |
210 | 4
211 | cmd /C POWERCFG -H OFF
212 | Disable Hibernation
213 |
214 |
215 | 5
216 | cmd /C POWERCFG -X -monitor-timeout-ac 0
217 | Disable monitor blanking
218 |
219 |
220 | 6
221 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
222 | Disable Network Discovery popup
223 |
224 |
225 | 7
226 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
227 | Disable Network Discovery popup
228 |
229 |
230 | 8
231 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
232 | Disable Network Discovery popup
233 |
234 |
235 | 9
236 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
237 | Disable first-run experience in Edge
238 |
239 |
240 | 10
241 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
242 | Show file extensions in Explorer
243 |
244 |
245 | 11
246 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
247 | Zero Hibernation File
248 |
249 |
250 | 12
251 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
252 | Disable Hibernation
253 |
254 |
255 | 13
256 | cmd /C POWERCFG -X -standby-timeout-ac 0
257 | Disable Sleep
258 |
259 |
260 | 14
261 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
262 | Enable RemoteAPP to launch unlisted programs
263 |
264 |
265 | 15
266 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
267 | Enable Network Discovery
268 |
269 |
270 | 16
271 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
272 | Enable File Sharing
273 |
274 |
275 | 17
276 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
277 | Add entry in hosts file
278 |
279 |
280 | 18
281 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
282 | Execute custom script from the OEM folder if exists
283 |
284 |
285 |
286 |
287 |
288 |
--------------------------------------------------------------------------------
/assets/win7x64-ultimate.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | 100
24 |
25 |
26 | 2
27 | Primary
28 | true
29 |
30 |
31 |
32 |
33 | NTFS
34 |
35 | 1
36 | true
37 | 1
38 | 0x27
39 |
40 |
41 | true
42 | NTFS
43 |
44 | C
45 | 2
46 | 2
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Windows 7 Ultimate
56 | /IMAGE/NAME
57 |
58 |
59 |
60 | 0
61 | 2
62 |
63 | false
64 |
65 |
66 |
67 | true
68 | Never
69 |
70 |
71 | false
72 | Never
73 |
74 |
75 | true
76 | Docker
77 | Windows for Docker
78 |
79 | D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV
80 | OnError
81 |
82 |
83 | false
84 |
85 | false
86 |
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | true
97 |
98 |
99 | 1
100 |
101 |
102 |
103 |
104 | true
105 |
106 |
107 | *
108 |
109 | Dockur
110 | Windows for Docker
111 |
112 |
113 |
114 | 1
115 |
116 |
117 | true
118 | true
119 | https://google.com
120 | about:blank
121 |
122 |
123 | true
124 | true
125 | https://google.com
126 | about:blank
127 |
128 |
129 | 0
130 |
131 |
132 | 1
133 |
134 |
135 | 0409:00000409
136 | en-US
137 | en-US
138 | en-US
139 |
140 |
141 | false
142 |
143 |
144 | 0
145 |
146 |
147 |
148 |
149 | true
150 | all
151 | @FirewallAPI.dll,-28752
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 | Docker
162 | Administrators
163 |
164 |
165 | true
166 |
167 |
168 |
169 |
170 | password
171 | true
172 |
173 |
174 |
175 | Docker
176 | true
177 | 65432
178 |
179 |
180 | true
181 |
182 |
183 |
184 | 32
185 | 1920
186 | 1080
187 |
188 |
189 | true
190 | true
191 | Home
192 | 3
193 | true
194 | true
195 |
196 | Dockur
197 | Windows for Docker
198 |
199 |
200 | 1
201 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
202 | Allow guest access to network shares
203 |
204 |
205 | 3
206 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
207 | Password Never Expires
208 |
209 |
210 | 4
211 | cmd /C POWERCFG -H OFF
212 | Disable Hibernation
213 |
214 |
215 | 5
216 | cmd /C POWERCFG -X -monitor-timeout-ac 0
217 | Disable monitor blanking
218 |
219 |
220 | 6
221 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
222 | Disable Network Discovery popup
223 |
224 |
225 | 7
226 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
227 | Disable Network Discovery popup
228 |
229 |
230 | 8
231 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
232 | Disable Network Discovery popup
233 |
234 |
235 | 9
236 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
237 | Disable first-run experience in Edge
238 |
239 |
240 | 10
241 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
242 | Show file extensions in Explorer
243 |
244 |
245 | 11
246 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
247 | Zero Hibernation File
248 |
249 |
250 | 12
251 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
252 | Disable Hibernation
253 |
254 |
255 | 13
256 | cmd /C POWERCFG -X -standby-timeout-ac 0
257 | Disable Sleep
258 |
259 |
260 | 14
261 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
262 | Enable RemoteAPP to launch unlisted programs
263 |
264 |
265 | 15
266 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
267 | Enable Network Discovery
268 |
269 |
270 | 16
271 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
272 | Enable File Sharing
273 |
274 |
275 | 17
276 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
277 | Add entry in hosts file
278 |
279 |
280 | 18
281 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
282 | Execute custom script from the OEM folder if exists
283 |
284 |
285 |
286 |
287 |
288 |
--------------------------------------------------------------------------------
/assets/win7x64.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | 100
24 |
25 |
26 | 2
27 | Primary
28 | true
29 |
30 |
31 |
32 |
33 | NTFS
34 |
35 | 1
36 | true
37 | 1
38 | 0x27
39 |
40 |
41 | true
42 | NTFS
43 |
44 | C
45 | 2
46 | 2
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Windows 7 PROFESSIONAL
56 | /IMAGE/NAME
57 |
58 |
59 |
60 | 0
61 | 2
62 |
63 | false
64 |
65 |
66 |
67 | true
68 | Never
69 |
70 |
71 | false
72 | Never
73 |
74 |
75 | true
76 | Docker
77 | Windows for Docker
78 |
79 | HYF8J-CVRMY-CM74G-RPHKF-PW487
80 | OnError
81 |
82 |
83 | false
84 |
85 | false
86 |
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | true
97 |
98 |
99 | 1
100 |
101 |
102 |
103 |
104 | true
105 |
106 |
107 | *
108 |
109 | Dockur
110 | Windows for Docker
111 |
112 |
113 |
114 | 1
115 |
116 |
117 | true
118 | true
119 | https://google.com
120 | about:blank
121 |
122 |
123 | true
124 | true
125 | https://google.com
126 | about:blank
127 |
128 |
129 | 0
130 |
131 |
132 | 1
133 |
134 |
135 | 0409:00000409
136 | en-US
137 | en-US
138 | en-US
139 |
140 |
141 | false
142 |
143 |
144 | 0
145 |
146 |
147 |
148 |
149 | true
150 | all
151 | @FirewallAPI.dll,-28752
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 | Docker
162 | Administrators
163 |
164 |
165 | true
166 |
167 |
168 |
169 |
170 | password
171 | true
172 |
173 |
174 |
175 | Docker
176 | true
177 | 65432
178 |
179 |
180 | true
181 |
182 |
183 |
184 | 32
185 | 1920
186 | 1080
187 |
188 |
189 | true
190 | true
191 | Home
192 | 3
193 | true
194 | true
195 |
196 | Dockur
197 | Windows for Docker
198 |
199 |
200 | 1
201 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
202 | Allow guest access to network shares
203 |
204 |
205 | 3
206 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
207 | Password Never Expires
208 |
209 |
210 | 4
211 | cmd /C POWERCFG -H OFF
212 | Disable Hibernation
213 |
214 |
215 | 5
216 | cmd /C POWERCFG -X -monitor-timeout-ac 0
217 | Disable monitor blanking
218 |
219 |
220 | 6
221 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
222 | Disable Network Discovery popup
223 |
224 |
225 | 7
226 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
227 | Disable Network Discovery popup
228 |
229 |
230 | 8
231 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
232 | Disable Network Discovery popup
233 |
234 |
235 | 9
236 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
237 | Disable first-run experience in Edge
238 |
239 |
240 | 10
241 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
242 | Show file extensions in Explorer
243 |
244 |
245 | 11
246 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
247 | Zero Hibernation File
248 |
249 |
250 | 12
251 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
252 | Disable Hibernation
253 |
254 |
255 | 13
256 | cmd /C POWERCFG -X -standby-timeout-ac 0
257 | Disable Sleep
258 |
259 |
260 | 14
261 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
262 | Enable RemoteAPP to launch unlisted programs
263 |
264 |
265 | 15
266 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
267 | Enable Network Discovery
268 |
269 |
270 | 16
271 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
272 | Enable File Sharing
273 |
274 |
275 | 17
276 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
277 | Add entry in hosts file
278 |
279 |
280 | 18
281 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
282 | Execute custom script from the OEM folder if exists
283 |
284 |
285 |
286 |
287 |
288 |
--------------------------------------------------------------------------------
/assets/win7x86-enterprise.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | 100
24 |
25 |
26 | 2
27 | Primary
28 | true
29 |
30 |
31 |
32 |
33 | NTFS
34 |
35 | 1
36 | true
37 | 1
38 | 0x27
39 |
40 |
41 | true
42 | NTFS
43 |
44 | C
45 | 2
46 | 2
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Windows 7 Enterprise
56 | /IMAGE/NAME
57 |
58 |
59 |
60 | 0
61 | 2
62 |
63 | false
64 |
65 |
66 |
67 | true
68 | Never
69 |
70 |
71 | false
72 | Never
73 |
74 |
75 | true
76 | Docker
77 | Windows for Docker
78 |
79 | H7X92-3VPBB-Q799D-Y6JJ3-86WC6
80 | OnError
81 |
82 |
83 | false
84 |
85 | false
86 |
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | true
97 |
98 |
99 | 1
100 |
101 |
102 |
103 |
104 | true
105 |
106 |
107 | *
108 |
109 | Dockur
110 | Windows for Docker
111 |
112 |
113 |
114 | 1
115 |
116 |
117 | true
118 | true
119 | https://google.com
120 | about:blank
121 |
122 |
123 | true
124 | true
125 | https://google.com
126 | about:blank
127 |
128 |
129 | 0
130 |
131 |
132 | 1
133 |
134 |
135 | 0409:00000409
136 | en-US
137 | en-US
138 | en-US
139 |
140 |
141 | false
142 |
143 |
144 | 0
145 |
146 |
147 |
148 |
149 | true
150 | all
151 | @FirewallAPI.dll,-28752
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 | Docker
162 | Administrators
163 |
164 |
165 | true
166 |
167 |
168 |
169 |
170 | password
171 | true
172 |
173 |
174 |
175 | Docker
176 | true
177 | 65432
178 |
179 |
180 | true
181 |
182 |
183 |
184 | 32
185 | 1920
186 | 1080
187 |
188 |
189 | true
190 | true
191 | Home
192 | 3
193 | true
194 | true
195 |
196 | Dockur
197 | Windows for Docker
198 |
199 |
200 | 1
201 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
202 | Allow guest access to network shares
203 |
204 |
205 | 3
206 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
207 | Password Never Expires
208 |
209 |
210 | 4
211 | cmd /C POWERCFG -H OFF
212 | Disable Hibernation
213 |
214 |
215 | 5
216 | cmd /C POWERCFG -X -monitor-timeout-ac 0
217 | Disable monitor blanking
218 |
219 |
220 | 6
221 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
222 | Disable Network Discovery popup
223 |
224 |
225 | 7
226 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
227 | Disable Network Discovery popup
228 |
229 |
230 | 8
231 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
232 | Disable Network Discovery popup
233 |
234 |
235 | 9
236 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
237 | Disable first-run experience in Edge
238 |
239 |
240 | 10
241 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
242 | Show file extensions in Explorer
243 |
244 |
245 | 11
246 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
247 | Zero Hibernation File
248 |
249 |
250 | 12
251 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
252 | Disable Hibernation
253 |
254 |
255 | 13
256 | cmd /C POWERCFG -X -standby-timeout-ac 0
257 | Disable Sleep
258 |
259 |
260 | 14
261 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
262 | Enable RemoteAPP to launch unlisted programs
263 |
264 |
265 | 15
266 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
267 | Enable Network Discovery
268 |
269 |
270 | 16
271 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
272 | Enable File Sharing
273 |
274 |
275 | 17
276 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
277 | Add entry in hosts file
278 |
279 |
280 | 18
281 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
282 | Execute custom script from the OEM folder if exists
283 |
284 |
285 |
286 |
287 |
288 |
--------------------------------------------------------------------------------
/assets/win7x86-ultimate.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | 100
24 |
25 |
26 | 2
27 | Primary
28 | true
29 |
30 |
31 |
32 |
33 | NTFS
34 |
35 | 1
36 | true
37 | 1
38 | 0x27
39 |
40 |
41 | true
42 | NTFS
43 |
44 | C
45 | 2
46 | 2
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Windows 7 Ultimate
56 | /IMAGE/NAME
57 |
58 |
59 |
60 | 0
61 | 2
62 |
63 | false
64 |
65 |
66 |
67 | true
68 | Never
69 |
70 |
71 | false
72 | Never
73 |
74 |
75 | true
76 | Docker
77 | Windows for Docker
78 |
79 | D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV
80 | OnError
81 |
82 |
83 | false
84 |
85 | false
86 |
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | true
97 |
98 |
99 | 1
100 |
101 |
102 |
103 |
104 | true
105 |
106 |
107 | *
108 |
109 | Dockur
110 | Windows for Docker
111 |
112 |
113 |
114 | 1
115 |
116 |
117 | true
118 | true
119 | https://google.com
120 | about:blank
121 |
122 |
123 | true
124 | true
125 | https://google.com
126 | about:blank
127 |
128 |
129 | 0
130 |
131 |
132 | 1
133 |
134 |
135 | 0409:00000409
136 | en-US
137 | en-US
138 | en-US
139 |
140 |
141 | false
142 |
143 |
144 | 0
145 |
146 |
147 |
148 |
149 | true
150 | all
151 | @FirewallAPI.dll,-28752
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 | Docker
162 | Administrators
163 |
164 |
165 | true
166 |
167 |
168 |
169 |
170 | password
171 | true
172 |
173 |
174 |
175 | Docker
176 | true
177 | 65432
178 |
179 |
180 | true
181 |
182 |
183 |
184 | 32
185 | 1920
186 | 1080
187 |
188 |
189 | true
190 | true
191 | Home
192 | 3
193 | true
194 | true
195 |
196 | Dockur
197 | Windows for Docker
198 |
199 |
200 | 1
201 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
202 | Allow guest access to network shares
203 |
204 |
205 | 3
206 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
207 | Password Never Expires
208 |
209 |
210 | 4
211 | cmd /C POWERCFG -H OFF
212 | Disable Hibernation
213 |
214 |
215 | 5
216 | cmd /C POWERCFG -X -monitor-timeout-ac 0
217 | Disable monitor blanking
218 |
219 |
220 | 6
221 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
222 | Disable Network Discovery popup
223 |
224 |
225 | 7
226 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
227 | Disable Network Discovery popup
228 |
229 |
230 | 8
231 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
232 | Disable Network Discovery popup
233 |
234 |
235 | 9
236 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
237 | Disable first-run experience in Edge
238 |
239 |
240 | 10
241 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
242 | Show file extensions in Explorer
243 |
244 |
245 | 11
246 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
247 | Zero Hibernation File
248 |
249 |
250 | 12
251 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
252 | Disable Hibernation
253 |
254 |
255 | 13
256 | cmd /C POWERCFG -X -standby-timeout-ac 0
257 | Disable Sleep
258 |
259 |
260 | 14
261 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
262 | Enable RemoteAPP to launch unlisted programs
263 |
264 |
265 | 15
266 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
267 | Enable Network Discovery
268 |
269 |
270 | 16
271 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
272 | Enable File Sharing
273 |
274 |
275 | 17
276 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
277 | Add entry in hosts file
278 |
279 |
280 | 18
281 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
282 | Execute custom script from the OEM folder if exists
283 |
284 |
285 |
286 |
287 |
288 |
--------------------------------------------------------------------------------
/assets/win7x86.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | 100
24 |
25 |
26 | 2
27 | Primary
28 | true
29 |
30 |
31 |
32 |
33 | NTFS
34 |
35 | 1
36 | true
37 | 1
38 | 0x27
39 |
40 |
41 | true
42 | NTFS
43 |
44 | C
45 | 2
46 | 2
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Windows 7 PROFESSIONAL
56 | /IMAGE/NAME
57 |
58 |
59 |
60 | 0
61 | 2
62 |
63 | false
64 |
65 |
66 |
67 | true
68 | Never
69 |
70 |
71 | false
72 | Never
73 |
74 |
75 | true
76 | Docker
77 | Windows for Docker
78 |
79 | HYF8J-CVRMY-CM74G-RPHKF-PW487
80 | OnError
81 |
82 |
83 | false
84 |
85 | false
86 |
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | true
97 |
98 |
99 | 1
100 |
101 |
102 |
103 |
104 | true
105 |
106 |
107 | *
108 |
109 | Dockur
110 | Windows for Docker
111 |
112 |
113 |
114 | 1
115 |
116 |
117 | true
118 | true
119 | https://google.com
120 | about:blank
121 |
122 |
123 | true
124 | true
125 | https://google.com
126 | about:blank
127 |
128 |
129 | 0
130 |
131 |
132 | 1
133 |
134 |
135 | 0409:00000409
136 | en-US
137 | en-US
138 | en-US
139 |
140 |
141 | false
142 |
143 |
144 | 0
145 |
146 |
147 |
148 |
149 | true
150 | all
151 | @FirewallAPI.dll,-28752
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 | Docker
162 | Administrators
163 |
164 |
165 | true
166 |
167 |
168 |
169 |
170 | password
171 | true
172 |
173 |
174 |
175 | Docker
176 | true
177 | 65432
178 |
179 |
180 | true
181 |
182 |
183 |
184 | 32
185 | 1920
186 | 1080
187 |
188 |
189 | true
190 | true
191 | Home
192 | 3
193 | true
194 | true
195 |
196 | Dockur
197 | Windows for Docker
198 |
199 |
200 | 1
201 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
202 | Allow guest access to network shares
203 |
204 |
205 | 3
206 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
207 | Password Never Expires
208 |
209 |
210 | 4
211 | cmd /C POWERCFG -H OFF
212 | Disable Hibernation
213 |
214 |
215 | 5
216 | cmd /C POWERCFG -X -monitor-timeout-ac 0
217 | Disable monitor blanking
218 |
219 |
220 | 6
221 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
222 | Disable Network Discovery popup
223 |
224 |
225 | 7
226 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
227 | Disable Network Discovery popup
228 |
229 |
230 | 8
231 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
232 | Disable Network Discovery popup
233 |
234 |
235 | 9
236 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
237 | Disable first-run experience in Edge
238 |
239 |
240 | 10
241 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
242 | Show file extensions in Explorer
243 |
244 |
245 | 11
246 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
247 | Zero Hibernation File
248 |
249 |
250 | 12
251 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
252 | Disable Hibernation
253 |
254 |
255 | 13
256 | cmd /C POWERCFG -X -standby-timeout-ac 0
257 | Disable Sleep
258 |
259 |
260 | 14
261 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
262 | Enable RemoteAPP to launch unlisted programs
263 |
264 |
265 | 15
266 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
267 | Enable Network Discovery
268 |
269 |
270 | 16
271 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
272 | Enable File Sharing
273 |
274 |
275 | 17
276 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
277 | Add entry in hosts file
278 |
279 |
280 | 18
281 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
282 | Execute custom script from the OEM folder if exists
283 |
284 |
285 |
286 |
287 |
288 |
--------------------------------------------------------------------------------
/assets/winvistax64-enterprise.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | true
24 |
25 |
26 |
27 |
28 | true
29 | NTFS
30 |
31 | C
32 | 1
33 | 1
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | Windows Vista Enterprise
43 | /IMAGE/NAME
44 |
45 |
46 |
47 | 0
48 | 1
49 |
50 | OnError
51 | false
52 |
53 |
54 |
55 | true
56 | Docker
57 | Windows for Docker
58 |
59 | VKK3X-68KWM-X2YGT-QR4M6-4BWMV
60 |
61 |
62 |
63 |
64 |
65 |
66 | true
67 |
68 |
69 | 1
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | *
78 | VKK3X-68KWM-X2YGT-QR4M6-4BWMV
79 | Pacific Standard Time
80 |
81 | Dockur
82 | Windows for Docker
83 |
84 | Dockur
85 | Windows for Docker
86 |
87 |
88 | 1
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | 0409:00000409
97 | en-US
98 | en-US
99 | en-US
100 |
101 |
102 | about:blank
103 |
104 |
105 | 0
106 |
107 |
108 |
109 |
110 |
111 | Docker
112 | Administrators
113 |
114 |
115 | true
116 |
117 |
118 |
119 |
120 | password
121 | true
122 |
123 |
124 |
125 | Docker
126 | true
127 | 65432
128 |
129 |
130 | true
131 |
132 |
133 |
134 | 32
135 | 1920
136 | 1080
137 |
138 |
139 | true
140 | Home
141 | 3
142 | true
143 | false
144 |
145 | Dockur
146 | Windows for Docker
147 |
148 |
149 | 1
150 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
151 | Allow guest access to network shares
152 |
153 |
154 | 3
155 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
156 | Password Never Expires
157 |
158 |
159 | 4
160 | cmd /C POWERCFG -H OFF
161 | Disable Hibernation
162 |
163 |
164 | 5
165 | cmd /C POWERCFG -X -monitor-timeout-ac 0
166 | Disable monitor blanking
167 |
168 |
169 | 6
170 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
171 | Disable Network Discovery popup
172 |
173 |
174 | 7
175 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
176 | Disable Network Discovery popup
177 |
178 |
179 | 8
180 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
181 | Disable Network Discovery popup
182 |
183 |
184 | 9
185 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
186 | Disable first-run experience in Edge
187 |
188 |
189 | 10
190 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
191 | Show file extensions in Explorer
192 |
193 |
194 | 11
195 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
196 | Zero Hibernation File
197 |
198 |
199 | 12
200 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
201 | Disable Hibernation
202 |
203 |
204 | 13
205 | cmd /C POWERCFG -X -standby-timeout-ac 0
206 | Disable Sleep
207 |
208 |
209 | 14
210 | netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes
211 | Add RDP in firewall
212 |
213 |
214 | 15
215 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
216 | Enable RDP
217 |
218 |
219 | 16
220 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f
221 | Turn off sidebar
222 |
223 |
224 | 17
225 | reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f
226 | Disable screensaver
227 |
228 |
229 | 18
230 | reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f
231 | Disable screensaver
232 |
233 |
234 | 19
235 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
236 | Enable RemoteAPP to launch unlisted programs
237 |
238 |
239 | 20
240 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
241 | Enable Network Discovery
242 |
243 |
244 | 21
245 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
246 | Enable File Sharing
247 |
248 |
249 | 22
250 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
251 | Add entry in hosts file
252 |
253 |
254 | 23
255 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
256 | Execute custom script from the OEM folder if exists
257 |
258 |
259 |
260 |
261 |
262 |
--------------------------------------------------------------------------------
/assets/winvistax64-ultimate.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | true
24 |
25 |
26 |
27 |
28 | true
29 | NTFS
30 |
31 | C
32 | 1
33 | 1
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | Windows Vista Ultimate
43 | /IMAGE/NAME
44 |
45 |
46 |
47 | 0
48 | 1
49 |
50 | OnError
51 | false
52 |
53 |
54 |
55 | true
56 | Docker
57 | Windows for Docker
58 |
59 | VMCB9-FDRV6-6CDQM-RV23K-RP8F7
60 |
61 |
62 |
63 |
64 |
65 |
66 | true
67 |
68 |
69 | 1
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | *
78 | VMCB9-FDRV6-6CDQM-RV23K-RP8F7
79 | Pacific Standard Time
80 |
81 | Dockur
82 | Windows for Docker
83 |
84 | Dockur
85 | Windows for Docker
86 |
87 |
88 | 1
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | 0409:00000409
97 | en-US
98 | en-US
99 | en-US
100 |
101 |
102 | about:blank
103 |
104 |
105 | 0
106 |
107 |
108 |
109 |
110 |
111 | Docker
112 | Administrators
113 |
114 |
115 | true
116 |
117 |
118 |
119 |
120 | password
121 | true
122 |
123 |
124 |
125 | Docker
126 | true
127 | 65432
128 |
129 |
130 | true
131 |
132 |
133 |
134 | 32
135 | 1920
136 | 1080
137 |
138 |
139 | true
140 | Home
141 | 3
142 | true
143 | false
144 |
145 | Dockur
146 | Windows for Docker
147 |
148 |
149 | 1
150 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
151 | Allow guest access to network shares
152 |
153 |
154 | 3
155 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
156 | Password Never Expires
157 |
158 |
159 | 4
160 | cmd /C POWERCFG -H OFF
161 | Disable Hibernation
162 |
163 |
164 | 5
165 | cmd /C POWERCFG -X -monitor-timeout-ac 0
166 | Disable monitor blanking
167 |
168 |
169 | 6
170 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
171 | Disable Network Discovery popup
172 |
173 |
174 | 7
175 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
176 | Disable Network Discovery popup
177 |
178 |
179 | 8
180 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
181 | Disable Network Discovery popup
182 |
183 |
184 | 9
185 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
186 | Disable first-run experience in Edge
187 |
188 |
189 | 10
190 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
191 | Show file extensions in Explorer
192 |
193 |
194 | 11
195 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
196 | Zero Hibernation File
197 |
198 |
199 | 12
200 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
201 | Disable Hibernation
202 |
203 |
204 | 13
205 | cmd /C POWERCFG -X -standby-timeout-ac 0
206 | Disable Sleep
207 |
208 |
209 | 14
210 | netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes
211 | Add RDP in firewall
212 |
213 |
214 | 15
215 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
216 | Enable RDP
217 |
218 |
219 | 16
220 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f
221 | Turn off sidebar
222 |
223 |
224 | 17
225 | reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f
226 | Disable screensaver
227 |
228 |
229 | 18
230 | reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f
231 | Disable screensaver
232 |
233 |
234 | 19
235 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
236 | Enable RemoteAPP to launch unlisted programs
237 |
238 |
239 | 20
240 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
241 | Enable Network Discovery
242 |
243 |
244 | 21
245 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
246 | Enable File Sharing
247 |
248 |
249 | 22
250 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
251 | Add entry in hosts file
252 |
253 |
254 | 23
255 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
256 | Execute custom script from the OEM folder if exists
257 |
258 |
259 |
260 |
261 |
262 |
--------------------------------------------------------------------------------
/assets/winvistax64.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | true
24 |
25 |
26 |
27 |
28 | true
29 | NTFS
30 |
31 | C
32 | 1
33 | 1
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | Windows Vista BUSINESS
43 | /IMAGE/NAME
44 |
45 |
46 |
47 | 0
48 | 1
49 |
50 | OnError
51 | false
52 |
53 |
54 |
55 | true
56 | Docker
57 | Windows for Docker
58 |
59 | 4D2XH-PRBMM-8Q22B-K8BM3-MRW4W
60 |
61 |
62 |
63 |
64 |
65 |
66 | true
67 |
68 |
69 | 1
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | *
78 | 4D2XH-PRBMM-8Q22B-K8BM3-MRW4W
79 | Pacific Standard Time
80 |
81 | Dockur
82 | Windows for Docker
83 |
84 | Dockur
85 | Windows for Docker
86 |
87 |
88 | 1
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | 0409:00000409
97 | en-US
98 | en-US
99 | en-US
100 |
101 |
102 | about:blank
103 |
104 |
105 | 0
106 |
107 |
108 |
109 |
110 |
111 | Docker
112 | Administrators
113 |
114 |
115 | true
116 |
117 |
118 |
119 |
120 | password
121 | true
122 |
123 |
124 |
125 | Docker
126 | true
127 | 65432
128 |
129 |
130 | true
131 |
132 |
133 |
134 | 32
135 | 1920
136 | 1080
137 |
138 |
139 | true
140 | Home
141 | 3
142 | true
143 | false
144 |
145 | Dockur
146 | Windows for Docker
147 |
148 |
149 | 1
150 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
151 | Allow guest access to network shares
152 |
153 |
154 | 3
155 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
156 | Password Never Expires
157 |
158 |
159 | 4
160 | cmd /C POWERCFG -H OFF
161 | Disable Hibernation
162 |
163 |
164 | 5
165 | cmd /C POWERCFG -X -monitor-timeout-ac 0
166 | Disable monitor blanking
167 |
168 |
169 | 6
170 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
171 | Disable Network Discovery popup
172 |
173 |
174 | 7
175 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
176 | Disable Network Discovery popup
177 |
178 |
179 | 8
180 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
181 | Disable Network Discovery popup
182 |
183 |
184 | 9
185 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
186 | Disable first-run experience in Edge
187 |
188 |
189 | 10
190 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
191 | Show file extensions in Explorer
192 |
193 |
194 | 11
195 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
196 | Zero Hibernation File
197 |
198 |
199 | 12
200 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
201 | Disable Hibernation
202 |
203 |
204 | 13
205 | cmd /C POWERCFG -X -standby-timeout-ac 0
206 | Disable Sleep
207 |
208 |
209 | 14
210 | netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes
211 | Add RDP in firewall
212 |
213 |
214 | 15
215 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
216 | Enable RDP
217 |
218 |
219 | 16
220 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f
221 | Turn off sidebar
222 |
223 |
224 | 17
225 | reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f
226 | Disable screensaver
227 |
228 |
229 | 18
230 | reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f
231 | Disable screensaver
232 |
233 |
234 | 19
235 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
236 | Enable RemoteAPP to launch unlisted programs
237 |
238 |
239 | 20
240 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
241 | Enable Network Discovery
242 |
243 |
244 | 21
245 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
246 | Enable File Sharing
247 |
248 |
249 | 22
250 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
251 | Add entry in hosts file
252 |
253 |
254 | 23
255 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
256 | Execute custom script from the OEM folder if exists
257 |
258 |
259 |
260 |
261 |
262 |
--------------------------------------------------------------------------------
/assets/winvistax86-enterprise.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | true
24 |
25 |
26 |
27 |
28 | true
29 | NTFS
30 |
31 | C
32 | 1
33 | 1
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | Windows Vista Enterprise
43 | /IMAGE/NAME
44 |
45 |
46 |
47 | 0
48 | 1
49 |
50 | OnError
51 | false
52 |
53 |
54 |
55 | true
56 | Docker
57 | Windows for Docker
58 |
59 | VKK3X-68KWM-X2YGT-QR4M6-4BWMV
60 |
61 |
62 |
63 |
64 |
65 |
66 | true
67 |
68 |
69 | 1
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | *
78 | VKK3X-68KWM-X2YGT-QR4M6-4BWMV
79 | Pacific Standard Time
80 |
81 | Dockur
82 | Windows for Docker
83 |
84 | Dockur
85 | Windows for Docker
86 |
87 |
88 | 1
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | 0409:00000409
97 | en-US
98 | en-US
99 | en-US
100 |
101 |
102 | about:blank
103 |
104 |
105 | 0
106 |
107 |
108 |
109 |
110 |
111 | Docker
112 | Administrators
113 |
114 |
115 | true
116 |
117 |
118 |
119 |
120 | password
121 | true
122 |
123 |
124 |
125 | Docker
126 | true
127 | 65432
128 |
129 |
130 | true
131 |
132 |
133 |
134 | 32
135 | 1920
136 | 1080
137 |
138 |
139 | true
140 | Home
141 | 3
142 | true
143 | false
144 |
145 | Dockur
146 | Windows for Docker
147 |
148 |
149 | 1
150 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
151 | Allow guest access to network shares
152 |
153 |
154 | 3
155 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
156 | Password Never Expires
157 |
158 |
159 | 4
160 | cmd /C POWERCFG -H OFF
161 | Disable Hibernation
162 |
163 |
164 | 5
165 | cmd /C POWERCFG -X -monitor-timeout-ac 0
166 | Disable monitor blanking
167 |
168 |
169 | 6
170 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
171 | Disable Network Discovery popup
172 |
173 |
174 | 7
175 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
176 | Disable Network Discovery popup
177 |
178 |
179 | 8
180 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
181 | Disable Network Discovery popup
182 |
183 |
184 | 9
185 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
186 | Disable first-run experience in Edge
187 |
188 |
189 | 10
190 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
191 | Show file extensions in Explorer
192 |
193 |
194 | 11
195 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
196 | Zero Hibernation File
197 |
198 |
199 | 12
200 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
201 | Disable Hibernation
202 |
203 |
204 | 13
205 | cmd /C POWERCFG -X -standby-timeout-ac 0
206 | Disable Sleep
207 |
208 |
209 | 14
210 | netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes
211 | Add RDP in firewall
212 |
213 |
214 | 15
215 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
216 | Enable RDP
217 |
218 |
219 | 16
220 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f
221 | Turn off sidebar
222 |
223 |
224 | 17
225 | reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f
226 | Disable screensaver
227 |
228 |
229 | 18
230 | reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f
231 | Disable screensaver
232 |
233 |
234 | 19
235 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
236 | Enable RemoteAPP to launch unlisted programs
237 |
238 |
239 | 20
240 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
241 | Enable Network Discovery
242 |
243 |
244 | 21
245 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
246 | Enable File Sharing
247 |
248 |
249 | 22
250 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
251 | Add entry in hosts file
252 |
253 |
254 | 23
255 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
256 | Execute custom script from the OEM folder if exists
257 |
258 |
259 |
260 |
261 |
262 |
--------------------------------------------------------------------------------
/assets/winvistax86-ultimate.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | true
24 |
25 |
26 |
27 |
28 | true
29 | NTFS
30 |
31 | C
32 | 1
33 | 1
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | Windows Vista Ultimate
43 | /IMAGE/NAME
44 |
45 |
46 |
47 | 0
48 | 1
49 |
50 | OnError
51 | false
52 |
53 |
54 |
55 | true
56 | Docker
57 | Windows for Docker
58 |
59 | VMCB9-FDRV6-6CDQM-RV23K-RP8F7
60 |
61 |
62 |
63 |
64 |
65 |
66 | true
67 |
68 |
69 | 1
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | *
78 | VMCB9-FDRV6-6CDQM-RV23K-RP8F7
79 | Pacific Standard Time
80 |
81 | Dockur
82 | Windows for Docker
83 |
84 | Dockur
85 | Windows for Docker
86 |
87 |
88 | 1
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | 0409:00000409
97 | en-US
98 | en-US
99 | en-US
100 |
101 |
102 | about:blank
103 |
104 |
105 | 0
106 |
107 |
108 |
109 |
110 |
111 | Docker
112 | Administrators
113 |
114 |
115 | true
116 |
117 |
118 |
119 |
120 | password
121 | true
122 |
123 |
124 |
125 | Docker
126 | true
127 | 65432
128 |
129 |
130 | true
131 |
132 |
133 |
134 | 32
135 | 1920
136 | 1080
137 |
138 |
139 | true
140 | Home
141 | 3
142 | true
143 | false
144 |
145 | Dockur
146 | Windows for Docker
147 |
148 |
149 | 1
150 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
151 | Allow guest access to network shares
152 |
153 |
154 | 3
155 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
156 | Password Never Expires
157 |
158 |
159 | 4
160 | cmd /C POWERCFG -H OFF
161 | Disable Hibernation
162 |
163 |
164 | 5
165 | cmd /C POWERCFG -X -monitor-timeout-ac 0
166 | Disable monitor blanking
167 |
168 |
169 | 6
170 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
171 | Disable Network Discovery popup
172 |
173 |
174 | 7
175 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
176 | Disable Network Discovery popup
177 |
178 |
179 | 8
180 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
181 | Disable Network Discovery popup
182 |
183 |
184 | 9
185 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
186 | Disable first-run experience in Edge
187 |
188 |
189 | 10
190 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
191 | Show file extensions in Explorer
192 |
193 |
194 | 11
195 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
196 | Zero Hibernation File
197 |
198 |
199 | 12
200 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
201 | Disable Hibernation
202 |
203 |
204 | 13
205 | cmd /C POWERCFG -X -standby-timeout-ac 0
206 | Disable Sleep
207 |
208 |
209 | 14
210 | netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes
211 | Add RDP in firewall
212 |
213 |
214 | 15
215 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
216 | Enable RDP
217 |
218 |
219 | 16
220 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f
221 | Turn off sidebar
222 |
223 |
224 | 17
225 | reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f
226 | Disable screensaver
227 |
228 |
229 | 18
230 | reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f
231 | Disable screensaver
232 |
233 |
234 | 19
235 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
236 | Enable RemoteAPP to launch unlisted programs
237 |
238 |
239 | 20
240 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
241 | Enable Network Discovery
242 |
243 |
244 | 21
245 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
246 | Enable File Sharing
247 |
248 |
249 | 22
250 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
251 | Add entry in hosts file
252 |
253 |
254 | 23
255 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
256 | Execute custom script from the OEM folder if exists
257 |
258 |
259 |
260 |
261 |
262 |
--------------------------------------------------------------------------------
/assets/winvistax86.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | en-US
7 |
8 | 0409:00000409
9 | en-US
10 | en-US
11 | en-US
12 |
13 |
14 |
15 | OnError
16 |
17 | 0
18 | true
19 |
20 |
21 | 1
22 | Primary
23 | true
24 |
25 |
26 |
27 |
28 | true
29 | NTFS
30 |
31 | C
32 | 1
33 | 1
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | Windows Vista BUSINESS
43 | /IMAGE/NAME
44 |
45 |
46 |
47 | 0
48 | 1
49 |
50 | OnError
51 | false
52 |
53 |
54 |
55 | true
56 | Docker
57 | Windows for Docker
58 |
59 | 4D2XH-PRBMM-8Q22B-K8BM3-MRW4W
60 |
61 |
62 |
63 |
64 |
65 |
66 | true
67 |
68 |
69 | 1
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | *
78 | 4D2XH-PRBMM-8Q22B-K8BM3-MRW4W
79 | Pacific Standard Time
80 |
81 | Dockur
82 | Windows for Docker
83 |
84 | Dockur
85 | Windows for Docker
86 |
87 |
88 | 1
89 |
90 |
91 | false
92 |
93 |
94 |
95 |
96 | 0409:00000409
97 | en-US
98 | en-US
99 | en-US
100 |
101 |
102 | about:blank
103 |
104 |
105 | 0
106 |
107 |
108 |
109 |
110 |
111 | Docker
112 | Administrators
113 |
114 |
115 | true
116 |
117 |
118 |
119 |
120 | password
121 | true
122 |
123 |
124 |
125 | Docker
126 | true
127 | 65432
128 |
129 |
130 | true
131 |
132 |
133 |
134 | 32
135 | 1920
136 | 1080
137 |
138 |
139 | true
140 | Home
141 | 3
142 | true
143 | false
144 |
145 | Dockur
146 | Windows for Docker
147 |
148 |
149 | 1
150 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f
151 | Allow guest access to network shares
152 |
153 |
154 | 3
155 | cmd /C wmic useraccount where name="Docker" set PasswordExpires=false
156 | Password Never Expires
157 |
158 |
159 | 4
160 | cmd /C POWERCFG -H OFF
161 | Disable Hibernation
162 |
163 |
164 | 5
165 | cmd /C POWERCFG -X -monitor-timeout-ac 0
166 | Disable monitor blanking
167 |
168 |
169 | 6
170 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
171 | Disable Network Discovery popup
172 |
173 |
174 | 7
175 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f
176 | Disable Network Discovery popup
177 |
178 |
179 | 8
180 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f
181 | Disable Network Discovery popup
182 |
183 |
184 | 9
185 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f
186 | Disable first-run experience in Edge
187 |
188 |
189 | 10
190 | reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
191 | Show file extensions in Explorer
192 |
193 |
194 | 11
195 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f
196 | Zero Hibernation File
197 |
198 |
199 | 12
200 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f
201 | Disable Hibernation
202 |
203 |
204 | 13
205 | cmd /C POWERCFG -X -standby-timeout-ac 0
206 | Disable Sleep
207 |
208 |
209 | 14
210 | netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes
211 | Add RDP in firewall
212 |
213 |
214 | 15
215 | reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
216 | Enable RDP
217 |
218 |
219 | 16
220 | reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f
221 | Turn off sidebar
222 |
223 |
224 | 17
225 | reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f
226 | Disable screensaver
227 |
228 |
229 | 18
230 | reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f
231 | Disable screensaver
232 |
233 |
234 | 19
235 | reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f
236 | Enable RemoteAPP to launch unlisted programs
237 |
238 |
239 | 20
240 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes
241 | Enable Network Discovery
242 |
243 |
244 | 21
245 | netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes
246 | Enable File Sharing
247 |
248 |
249 | 22
250 | cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts
251 | Add entry in hosts file
252 |
253 |
254 | 23
255 | cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"
256 | Execute custom script from the OEM folder if exists
257 |
258 |
259 |
260 |
261 |
262 |
--------------------------------------------------------------------------------
/compose.yml:
--------------------------------------------------------------------------------
1 | services:
2 | windows:
3 | image: dockurr/windows
4 | container_name: windows
5 | environment:
6 | VERSION: "11"
7 | devices:
8 | - /dev/kvm
9 | - /dev/net/tun
10 | cap_add:
11 | - NET_ADMIN
12 | ports:
13 | - 8006:8006
14 | - 3389:3389/tcp
15 | - 3389:3389/udp
16 | volumes:
17 | - ./windows:/storage
18 | restart: always
19 | stop_grace_period: 2m
20 |
--------------------------------------------------------------------------------
/kubernetes.yml:
--------------------------------------------------------------------------------
1 | ---
2 | apiVersion: v1
3 | kind: PersistentVolumeClaim
4 | metadata:
5 | name: windows-pvc
6 | spec:
7 | accessModes:
8 | - ReadWriteOnce
9 | resources:
10 | requests:
11 | storage: 64Gi
12 | ---
13 | apiVersion: apps/v1
14 | kind: Deployment
15 | metadata:
16 | name: windows
17 | labels:
18 | name: windows
19 | spec:
20 | replicas: 1
21 | selector:
22 | matchLabels:
23 | app: windows
24 | template:
25 | metadata:
26 | labels:
27 | app: windows
28 | spec:
29 | containers:
30 | - name: windows
31 | image: dockurr/windows
32 | env:
33 | - name: VERSION
34 | value: "11"
35 | - name: DISK_SIZE
36 | value: "64G"
37 | ports:
38 | - containerPort: 8006
39 | name: http
40 | protocol: TCP
41 | - containerPort: 3389
42 | name: rdp
43 | protocol: TCP
44 | - containerPort: 3389
45 | name: udp
46 | protocol: UDP
47 | - containerPort: 5900
48 | name: vnc
49 | protocol: TCP
50 | securityContext:
51 | capabilities:
52 | add:
53 | - NET_ADMIN
54 | privileged: true
55 | volumeMounts:
56 | - mountPath: /storage
57 | name: storage
58 | - mountPath: /dev/kvm
59 | name: dev-kvm
60 | - mountPath: /dev/net/tun
61 | name: dev-tun
62 | terminationGracePeriodSeconds: 120
63 | volumes:
64 | - name: storage
65 | persistentVolumeClaim:
66 | claimName: windows-pvc
67 | - hostPath:
68 | path: /dev/kvm
69 | name: dev-kvm
70 | - hostPath:
71 | path: /dev/net/tun
72 | type: CharDevice
73 | name: dev-tun
74 | ---
75 | apiVersion: v1
76 | kind: Service
77 | metadata:
78 | name: windows
79 | spec:
80 | internalTrafficPolicy: Cluster
81 | ports:
82 | - name: http
83 | port: 8006
84 | protocol: TCP
85 | targetPort: 8006
86 | - name: rdp
87 | port: 3389
88 | protocol: TCP
89 | targetPort: 3389
90 | - name: udp
91 | port: 3389
92 | protocol: UDP
93 | targetPort: 3389
94 | - name: vnc
95 | port: 5900
96 | protocol: TCP
97 | targetPort: 5900
98 | selector:
99 | app: windows
100 | type: ClusterIP
101 |
--------------------------------------------------------------------------------
/license.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
20 |
--------------------------------------------------------------------------------
/src/entry.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | set -Eeuo pipefail
3 |
4 | : "${APP:="Windows"}"
5 | : "${PLATFORM:="x64"}"
6 | : "${BOOT_MODE:="windows"}"
7 | : "${SUPPORT:="https://github.com/dockur/windows"}"
8 |
9 | cd /run
10 |
11 | . utils.sh # Load functions
12 | . reset.sh # Initialize system
13 | . define.sh # Define versions
14 | . mido.sh # Download Windows
15 | . install.sh # Run installation
16 | . disk.sh # Initialize disks
17 | . display.sh # Initialize graphics
18 | . network.sh # Initialize network
19 | . samba.sh # Configure samba
20 | . boot.sh # Configure boot
21 | . proc.sh # Initialize processor
22 | . power.sh # Configure shutdown
23 | . config.sh # Configure arguments
24 |
25 | trap - ERR
26 |
27 | version=$(qemu-system-x86_64 --version | head -n 1 | cut -d '(' -f 1 | awk '{ print $NF }')
28 | info "Booting ${APP}${BOOT_DESC} using QEMU v$version..."
29 |
30 | { qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
31 | (( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
32 |
33 | terminal
34 | ( sleep 30; boot ) &
35 | tail -fn +0 "$QEMU_LOG" 2>/dev/null &
36 | cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" | \
37 | sed -u -e 's/\x1B\[[=0-9;]*[a-z]//gi' \
38 | -e 's/failed to load Boot/skipped Boot/g' \
39 | -e 's/0): Not Found/0)/g' & wait $! || :
40 |
41 | sleep 1 & wait $!
42 | [ ! -f "$QEMU_END" ] && finish 0
43 |
--------------------------------------------------------------------------------
/src/power.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | set -Eeuo pipefail
3 |
4 | # Configure QEMU for graceful shutdown
5 |
6 | QEMU_TERM=""
7 | QEMU_PORT=7100
8 | QEMU_TIMEOUT=110
9 | QEMU_DIR="/run/shm"
10 | QEMU_PID="$QEMU_DIR/qemu.pid"
11 | QEMU_PTY="$QEMU_DIR/qemu.pty"
12 | QEMU_LOG="$QEMU_DIR/qemu.log"
13 | QEMU_OUT="$QEMU_DIR/qemu.out"
14 | QEMU_END="$QEMU_DIR/qemu.end"
15 |
16 | rm -f "$QEMU_DIR/qemu.*"
17 | touch "$QEMU_LOG"
18 |
19 | _trap() {
20 | func="$1" ; shift
21 | for sig ; do
22 | trap "$func $sig" "$sig"
23 | done
24 | }
25 |
26 | boot() {
27 |
28 | [ -f "$QEMU_END" ] && return 0
29 |
30 | if [ -s "$QEMU_PTY" ]; then
31 | if [ "$(stat -c%s "$QEMU_PTY")" -gt 7 ]; then
32 | local fail=""
33 | if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
34 | grep -Fq "No bootable device." "$QEMU_PTY" && fail="y"
35 | grep -Fq "BOOTMGR is missing" "$QEMU_PTY" && fail="y"
36 | fi
37 | if [ -z "$fail" ]; then
38 | info "Windows started successfully, visit http://127.0.0.1:8006/ to view the screen..."
39 | return 0
40 | fi
41 | fi
42 | fi
43 |
44 | error "Timeout while waiting for QEMU to boot the machine!"
45 |
46 | local pid
47 | pid=$(<"$QEMU_PID")
48 | { kill -15 "$pid" || true; } 2>/dev/null
49 |
50 | return 0
51 | }
52 |
53 | ready() {
54 |
55 | [ -f "$STORAGE/windows.boot" ] && return 0
56 | [ ! -s "$QEMU_PTY" ] && return 1
57 |
58 | if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
59 | local last
60 | local bios="Booting from Hard"
61 | last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
62 | [[ "${last,,}" != "${bios,,}"* ]] && return 1
63 | grep -Fq "No bootable device." "$QEMU_PTY" && return 1
64 | grep -Fq "BOOTMGR is missing" "$QEMU_PTY" && return 1
65 | return 0
66 | fi
67 |
68 | local line="\"Windows Boot Manager\""
69 | grep -Fq "$line" "$QEMU_PTY" && return 0
70 |
71 | return 1
72 | }
73 |
74 | finish() {
75 |
76 | local pid
77 | local reason=$1
78 |
79 | touch "$QEMU_END"
80 |
81 | if [ -s "$QEMU_PID" ]; then
82 |
83 | pid=$(<"$QEMU_PID")
84 | error "Forcefully terminating Windows, reason: $reason..."
85 | { kill -15 "$pid" || true; } 2>/dev/null
86 |
87 | while isAlive "$pid"; do
88 | sleep 1
89 | # Workaround for zombie pid
90 | [ ! -s "$QEMU_PID" ] && break
91 | done
92 | fi
93 |
94 | if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$BOOT" ]; then
95 | # Remove CD-ROM ISO after install
96 | if ready; then
97 | touch "$STORAGE/windows.boot"
98 | if [[ "$REMOVE" != [Nn]* ]]; then
99 | rm -f "$BOOT" 2>/dev/null || true
100 | fi
101 | fi
102 | fi
103 |
104 | pid="/var/run/tpm.pid"
105 | [ -s "$pid" ] && pKill "$(<"$pid")"
106 |
107 | pid="/var/run/wsdd.pid"
108 | [ -s "$pid" ] && pKill "$(<"$pid")"
109 |
110 | fKill "smbd"
111 |
112 | closeNetwork
113 |
114 | sleep 0.5
115 | echo "? Shutdown completed!"
116 |
117 | exit "$reason"
118 | }
119 |
120 | terminal() {
121 |
122 | local dev=""
123 |
124 | if [ -s "$QEMU_OUT" ]; then
125 |
126 | local msg
127 | msg=$(<"$QEMU_OUT")
128 |
129 | if [ -n "$msg" ]; then
130 |
131 | if [[ "${msg,,}" != "char"* || "$msg" != *"serial0)" ]]; then
132 | echo "$msg"
133 | fi
134 |
135 | dev="${msg#*/dev/p}"
136 | dev="/dev/p${dev%% *}"
137 |
138 | fi
139 | fi
140 |
141 | if [ ! -c "$dev" ]; then
142 | dev=$(echo 'info chardev' | nc -q 1 -w 1 localhost "$QEMU_PORT" | tr -d '\000')
143 | dev="${dev#*serial0}"
144 | dev="${dev#*pty:}"
145 | dev="${dev%%$'\n'*}"
146 | dev="${dev%%$'\r'*}"
147 | fi
148 |
149 | if [ ! -c "$dev" ]; then
150 | error "Device '$dev' not found!"
151 | finish 34 && return 34
152 | fi
153 |
154 | QEMU_TERM="$dev"
155 | return 0
156 | }
157 |
158 | _graceful_shutdown() {
159 |
160 | local code=$?
161 |
162 | set +e
163 |
164 | if [ -f "$QEMU_END" ]; then
165 | info "Received $1 while already shutting down..."
166 | return
167 | fi
168 |
169 | touch "$QEMU_END"
170 | info "Received $1, sending ACPI shutdown signal..."
171 |
172 | if [ ! -s "$QEMU_PID" ]; then
173 | error "QEMU PID file does not exist?"
174 | finish "$code" && return "$code"
175 | fi
176 |
177 | local pid=""
178 | pid=$(<"$QEMU_PID")
179 |
180 | if ! isAlive "$pid"; then
181 | error "QEMU process does not exist?"
182 | finish "$code" && return "$code"
183 | fi
184 |
185 | if ! ready; then
186 | info "Cannot send ACPI signal during Windows setup, aborting..."
187 | finish "$code" && return "$code"
188 | fi
189 |
190 | # Send ACPI shutdown signal
191 | echo 'system_powerdown' | nc -q 1 -w 1 localhost "${QEMU_PORT}" > /dev/null
192 |
193 | local cnt=0
194 | while [ "$cnt" -lt "$QEMU_TIMEOUT" ]; do
195 |
196 | sleep 1
197 | cnt=$((cnt+1))
198 |
199 | ! isAlive "$pid" && break
200 | # Workaround for zombie pid
201 | [ ! -s "$QEMU_PID" ] && break
202 |
203 | info "Waiting for Windows to shutdown... ($cnt/$QEMU_TIMEOUT)"
204 |
205 | # Send ACPI shutdown signal
206 | echo 'system_powerdown' | nc -q 1 -w 1 localhost "${QEMU_PORT}" > /dev/null
207 |
208 | done
209 |
210 | if [ "$cnt" -ge "$QEMU_TIMEOUT" ]; then
211 | error "Shutdown timeout reached, aborting..."
212 | fi
213 |
214 | finish "$code" && return "$code"
215 | }
216 |
217 | SERIAL="pty"
218 | MONITOR="telnet:localhost:$QEMU_PORT,server,nowait,nodelay"
219 | MONITOR+=" -daemonize -D $QEMU_LOG -pidfile $QEMU_PID"
220 |
221 | _trap _graceful_shutdown SIGTERM SIGHUP SIGINT SIGABRT SIGQUIT
222 |
223 | return 0
224 |
--------------------------------------------------------------------------------
/src/samba.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | set -Eeuo pipefail
3 |
4 | : "${SAMBA:="Y"}"
5 |
6 | [[ "$SAMBA" == [Nn]* ]] && return 0
7 | [[ "$NETWORK" == [Nn]* ]] && return 0
8 |
9 | hostname="host.lan"
10 | interface="dockerbridge"
11 |
12 | if [[ "$DHCP" == [Yy1]* ]]; then
13 | hostname="$IP"
14 | interface="$VM_NET_DEV"
15 | fi
16 |
17 | if [[ "${NETWORK,,}" == "user"* ]]; then
18 | interface="127.0.0.1"
19 | fi
20 |
21 | addShare() {
22 | local dir="$1"
23 | local name="$2"
24 | local comment="$3"
25 |
26 | mkdir -p "$dir" || return 1
27 | ls -A "$dir" >/dev/null 2>&1 || return 1
28 |
29 | if [ -z "$(ls -A "$dir")" ]; then
30 |
31 | chmod 777 "$dir" || return 1
32 |
33 | { echo "--------------------------------------------------------"
34 | echo " $APP for Docker v$( "$dir/readme.txt"
52 |
53 | fi
54 |
55 | { echo ""
56 | echo "[$name]"
57 | echo " path = $dir"
58 | echo " comment = $comment"
59 | echo " writable = yes"
60 | echo " guest ok = yes"
61 | echo " guest only = yes"
62 | echo " force user = root"
63 | echo " force group = root"
64 | } >> "/etc/samba/smb.conf"
65 |
66 | return 0
67 | }
68 |
69 | { echo "[global]"
70 | echo " server string = Dockur"
71 | echo " netbios name = $hostname"
72 | echo " workgroup = WORKGROUP"
73 | echo " interfaces = $interface"
74 | echo " bind interfaces only = yes"
75 | echo " security = user"
76 | echo " guest account = nobody"
77 | echo " map to guest = Bad User"
78 | echo " server min protocol = NT1"
79 | echo " follow symlinks = yes"
80 | echo " wide links = yes"
81 | echo " unix extensions = no"
82 | echo ""
83 | echo " # disable printing services"
84 | echo " load printers = no"
85 | echo " printing = bsd"
86 | echo " printcap name = /dev/null"
87 | echo " disable spoolss = yes"
88 | } > "/etc/samba/smb.conf"
89 |
90 | share="/data"
91 | [ ! -d "$share" ] && [ -d "$STORAGE/data" ] && share="$STORAGE/data"
92 | [ ! -d "$share" ] && [ -d "/shared" ] && share="/shared"
93 | [ ! -d "$share" ] && [ -d "$STORAGE/shared" ] && share="$STORAGE/shared"
94 |
95 | if ! addShare "$share" "Data" "Shared"; then
96 | error "Failed to add shared folder '$share'. Please check its permissions." && return 0
97 | fi
98 |
99 | if [ -d "/data2" ]; then
100 | addShare "/data2" "Data2" "Shared" || error "Failed to add shared folder '/data2'. Please check its permissions."
101 | fi
102 |
103 | if [ -d "/data3" ]; then
104 | addShare "/data3" "Data3" "Shared" || error "Failed to add shared folder '/data3'. Please check its permissions."
105 | fi
106 |
107 | IFS=',' read -r -a dirs <<< "${SHARES:-}"
108 | for dir in "${dirs[@]}"; do
109 | [ ! -d "$dir" ] && continue
110 | dir_name=$(basename "$dir")
111 | addShare "$dir" "$dir_name" "Shared $dir_name" || error "Failed to create shared folder for $dir!"
112 | done
113 |
114 | # Fix Samba permissions
115 | [ -d /run/samba/msg.lock ] && chmod -R 0755 /run/samba/msg.lock
116 | [ -d /var/log/samba/cores ] && chmod -R 0700 /var/log/samba/cores
117 | [ -d /var/cache/samba/msg.lock ] && chmod -R 0755 /var/cache/samba/msg.lock
118 |
119 | if ! smbd; then
120 | error "Samba daemon failed to start!"
121 | smbd -i --debug-stdout || true
122 | fi
123 |
124 | if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
125 | # Enable NetBIOS on Windows 7 and lower
126 | if ! nmbd; then
127 | error "NetBIOS daemon failed to start!"
128 | nmbd -i --debug-stdout || true
129 | fi
130 | else
131 | # Enable Web Service Discovery on Vista and up
132 | wsdd -i "$interface" -p -n "$hostname" &
133 | echo "$!" > /var/run/wsdd.pid
134 | fi
135 |
136 | return 0
137 |
--------------------------------------------------------------------------------
HoME日韩欧美变态无码一级在线视频
ENTER NUMBET 007