Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
packer-windows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bob Tanner
packer-windows
Commits
c755f77d
Commit
c755f77d
authored
Nov 07, 2016
by
Stefan Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable screensaver
parent
814a1bbe
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
0 deletions
+29
-0
answer_files/10/Autounattend.xml
answer_files/10/Autounattend.xml
+6
-0
answer_files/2016/Autounattend.xml
answer_files/2016/Autounattend.xml
+6
-0
answer_files/2016_core/Autounattend.xml
answer_files/2016_core/Autounattend.xml
+6
-0
windows_10.json
windows_10.json
+2
-0
windows_2016.json
windows_2016.json
+3
-0
windows_2016_core.json
windows_2016_core.json
+3
-0
windows_2016_docker.json
windows_2016_docker.json
+3
-0
No files found.
answer_files/10/Autounattend.xml
View file @
c755f77d
...
...
@@ -198,6 +198,12 @@
<Order>
98
</Order>
<Description>
Enable Microsoft Updates
</Description>
</SynchronousCommand>
<SynchronousCommand
wcm:action=
"add"
>
<CommandLine>
cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\disable-screensaver.ps1
</CommandLine>
<Description>
Disable Screensaver
</Description>
<Order>
99
</Order>
<RequiresUserInput>
true
</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand
wcm:action=
"add"
>
<CommandLine>
cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\win-updates.ps1
</CommandLine>
<Description>
Install Windows Updates
</Description>
...
...
answer_files/2016/Autounattend.xml
View file @
c755f77d
...
...
@@ -195,6 +195,12 @@
<Order>
98
</Order>
<Description>
Enable Microsoft Updates
</Description>
</SynchronousCommand>
<SynchronousCommand
wcm:action=
"add"
>
<CommandLine>
cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\disable-screensaver.ps1
</CommandLine>
<Description>
Disable Screensaver
</Description>
<Order>
99
</Order>
<RequiresUserInput>
true
</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand
wcm:action=
"add"
>
<CommandLine>
cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\win-updates.ps1
</CommandLine>
<Description>
Install Windows Updates
</Description>
...
...
answer_files/2016_core/Autounattend.xml
View file @
c755f77d
...
...
@@ -176,6 +176,12 @@
<Order>
98
</Order>
<Description>
Enable Microsoft Updates
</Description>
</SynchronousCommand>
<SynchronousCommand
wcm:action=
"add"
>
<CommandLine>
cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\disable-screensaver.ps1
</CommandLine>
<Description>
Disable Screensaver
</Description>
<Order>
99
</Order>
<RequiresUserInput>
true
</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand
wcm:action=
"add"
>
<CommandLine>
cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\win-updates.ps1
</CommandLine>
<Description>
Install Windows Updates
</Description>
...
...
windows_10.json
View file @
c755f77d
...
...
@@ -23,6 +23,7 @@
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/fixnetwork.ps1"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
@@ -57,6 +58,7 @@
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/fixnetwork.ps1"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
windows_2016.json
View file @
c755f77d
...
...
@@ -14,6 +14,7 @@
"{{user `autounattend`}}"
,
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
@@ -50,6 +51,7 @@
"{{user `autounattend`}}"
,
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
@@ -82,6 +84,7 @@
"{{user `autounattend`}}"
,
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
windows_2016_core.json
View file @
c755f77d
...
...
@@ -12,6 +12,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"floppy_files"
:
[
"{{user `autounattend`}}"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
@@ -45,6 +46,7 @@
"vnc_port_max"
:
5980
,
"floppy_files"
:
[
"{{user `autounattend`}}"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
@@ -75,6 +77,7 @@
"disk_size"
:
61440
,
"floppy_files"
:
[
"{{user `autounattend`}}"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
windows_2016_docker.json
View file @
c755f77d
...
...
@@ -14,6 +14,7 @@
"{{user `autounattend`}}"
,
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/docker/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
@@ -52,6 +53,7 @@
"{{user `autounattend`}}"
,
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/docker/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
@@ -86,6 +88,7 @@
"{{user `autounattend`}}"
,
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/docker/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment