Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bob Tanner
packer-windows
Commits
c755f77d
Commit
c755f77d
authored
Nov 07, 2016
by
Stefan Scherer
Browse files
Disable screensaver
parent
814a1bbe
Changes
7
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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