Questions tagged [unattended]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
227 views

windows 2019 unattended install on kvm via libvirt can't find licence error

I'm trying to install windows server 2019 with autounattend.xml configuration on kvm via libvirt. Installation fail on dialog with sign: "Can't find microsoft software license terms" Despite ...
npc3257's user avatar
  • 11
0 votes
1 answer
2k views

Using autounattend.xml to automate a Windows installation with Ventoy bootloader

In the company I work for, we occasionally need to build out servers which we sell to clients. Part of this process includes installing an OS, and in the past, we have used Windows 10 Ent. IoT and ...
Ryan W's user avatar
  • 1
0 votes
1 answer
1k views

WDS Unattended Answer File - Not Auto Logging-In to Domain

I am trying to create an Answer file to pass domain login credentials (not to join the domain) when the WDS server is booted via PXE to install Windows 10 on a laptop. The server is on the domain and ...
JF-apt's user avatar
  • 3
1 vote
2 answers
975 views

.NET Framwork 3.5 Offline Unattended Install

I'm trying to install dotNet 3.5 on Windows 10 22H2. The target has no monitor and no access to the internet. When using the flags suggested by Microsoft /q /norestart, the package is not installed. ...
sailektiv's user avatar
0 votes
1 answer
189 views

Offline install of all win 10 printer drivers

I want to download the whole set of printer drivers that Microsoft does not distribute anymore since Windows 7 and install/deploy them without windows update or internet access. I am aware that I can ...
Christian's user avatar
  • 1,052
3 votes
1 answer
1k views

Showing message to the user during a Debian unattended preseeded installation

During the late_command step of an unattended installation, I'm running a shell script : d-i preseed/late_command string in-target /bin/sh -c './execute-script.sh' When the late_command step is ...
Bil5's user avatar
  • 153
1 vote
2 answers
442 views

Debian unattended (preseed) installation, access to audio card(s)

I'm using the preseeding feature in order to shape a custom Debian 10 x64 system. Everything is happening well, except that during the late_command step, I'm running a shell script to configure and ...
Bil5's user avatar
  • 153
1 vote
0 answers
366 views

Location of the log for Windows first logon commands

I have PowerShell script that's set up to run as the first logon command via the unattend.xml file. The script actually does run on the first logon but I would like to know if somewhere I can find the ...
Utkarsh's user avatar
  • 11
1 vote
1 answer
1k views

Autounattend.xml - strange behaviour when CommandLine is long

Version: Windows 10 x64 1909 (Spanish) | Build: 18363.959 According to Microsoft, the limit of the CommandLine element is 1024 characters, but in my tests when it exceeds two hundred something ...
Bangaio's user avatar
  • 180
1 vote
2 answers
4k views

Automated Ubuntu 20.04 server install: How can I get hostname from DHCP server?

On older versions of Ubuntu (using the Classical Installer), I was able to populate the hostname from my DHCP server. I then passed it by using the netcfg/get_hostname= option of the kernel parameters....
gunsmoke's user avatar
0 votes
1 answer
1k views

virt-install on Centos 8.1 doesn't complete when using --location http://localhost/inst

Should you reached this before, please let me know. ISSUE virt-install works well when passing arguments --cdrom /path/to/iso (and creates the guest) like [root@192-168-0-104 admin]# virt-install -...
PortoFino's user avatar
0 votes
1 answer
383 views

Unattend installation not working - "We couldn't create a new partition or locate an existing one"

I can't seem to get an unattended installation to work it fails with: "We couldn't create a new partition or locate an existing one. For more information, see the Setup log files."
hbogert's user avatar
  • 440
0 votes
1 answer
2k views

Unattended machine join to domain

My company would like to use a Syprep image and an autounattend.xml file to deploy new machines or rebuild old ones with a USB stick. We do not want to use SCCM. I will push us to use WDS in the ...
Rhys's user avatar
  • 25
3 votes
1 answer
561 views

Windows unattended setup failed - 'specified image file does not exist'

I am trying to do an unattended install of Windows 10 Professional using an answer XML file I created. I'm booting off a USB, and receiving the error: Windows could not collect information for [...
Kai L.'s user avatar
  • 31
1 vote
2 answers
209 views

Unattended-upgrades can't update itself: SIGUSR1 received, will stop

We use "unattended-upgrades" on ubuntu xenial. Since a few days "uu" can't update itself: Manual run: unattended-upgrades -d Message: ...pkg 'powermgmt-base' not in allowed origin... My origins: "$...
varlog's user avatar
  • 23
2 votes
1 answer
4k views

How do I make unattended-upgrades email me every time it runs?

How do I get unattended-upgrades to email me every time it runs, even if there are no packages that need updating? When there are upgrades they are applied and I am emailed, so the configuration is ...
cfogelberg's user avatar
0 votes
0 answers
924 views

Run batch script at first logon in Windows automated Installation

I am doing unattended Windows installation with few initialization script having setups to install like python and java. I added the script path under FirstLogonCommands as shown here FirstLogon ...
Dr. Essen's user avatar
  • 121
0 votes
2 answers
267 views

Stop nginx before APT upgrades run

How can I stop nginx before APT upgrades run in Ubuntu? We run unattended upgrades on the server and in case there is any upgrade that will interfere with nginx I would like to stop the nginx service ...
Carl Winbäck's user avatar
1 vote
1 answer
3k views

Set static TCP port in SQL Server unattended installation

I have an unattended installation of SQL Server 2016 using the .INI answer file. In my answer file, I enable TCP like this: ; Specify 0 to disable or 1 to enable the TCP/IP protocol. TCPENABLED="1" ...
Ondrej Tucny's user avatar
1 vote
1 answer
2k views

unattend.xml account created but no admin rights

I have my unattend.xml right here: https://pastebin.com/FBiy3RTK It creates the admin account witj the password that is stated but for some reason it doesnt putt it in the group administr a tors ...
Klaas's user avatar
  • 21
1 vote
0 answers
870 views

unattend.xml works in uefi not in bios

hello I have an unattend_uefi.xml file this looks like this: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <...
Klaas's user avatar
  • 21
2 votes
1 answer
2k views

Unattended-Upgrades override Allowed-Origins

I am trying to set the Unattended-Upgrade::Allowed-Origins so that it only is allowed for security updates. I would like to do this in a later config in the apt.conf.d leaving the default 50unattended-...
patrickdavey's user avatar
2 votes
1 answer
19k views

Possible to set ComputerName in Unattend.xml with script?

I have been told that it is possible to run Powershell directly from the Unattend.xml during an OS install. I am trying to set the ComputerName to (A + "SerialNumber") but not matter how I write the ...
user001's user avatar
  • 125
1 vote
1 answer
309 views

Windows unattended.xml install - drive mirroring / software raids

Is it possible to create a mirrored drive (raid 1) via the unattended answers file on Windows Server 2016 ? how? If not, can it be done with powershell? how?
VelDev's user avatar
  • 57
-1 votes
1 answer
212 views

Two ubuntu 16.04 server run unattended upgrade, one need restart.

I have two Ubuntu server 16.04. I have enabled unattended upgrade for the two servers and the same configuration. He upgrades one package the same version into the two servers but only one he shows me ...
pioupiou's user avatar
  • 113
0 votes
0 answers
45 views

Which update scheme is better for an unattended Ubuntu server

I'm in a situation where I have to deploy an ubuntu server for a Client (they do not have a Sysadmin), and it will serve as an HTTP API backend for an app. The catch is that after the deployment they ...
fpjxmqjtaw's user avatar
1 vote
1 answer
9k views

Using FirstLogonCommands in an Unattend.xml file

I apologize ahead of time for what is probably a stupid question, but I'm having a hard time figuring this out from the Microsoft Documentation (https://docs.microsoft.com/en-us/windows-hardware/...
aydeisen's user avatar
1 vote
1 answer
954 views

DPI settings never survive Sysprep Windows 10

I need to set 200% scaling for our Win 10 customers on 5k 27" but every way i've tried to do it has reset to 100% after sysprep to OOBE causing them to have tiny text on first boot. I've tried: copy ...
Danny Shepherd's user avatar
1 vote
1 answer
1k views

Not able to execute remote poweshell script in windows server 2016 unattended installation

I am trying to create unattended.xml file for windows server 2016 unattended installation where in after installing windows it should execute one powershell script located on remote samba share. I am ...
Yugendra's user avatar
  • 151
-1 votes
2 answers
725 views

Does PXELinux Server can perform an Unattended Windows Installation? [closed]

Is a PXELinux Server able to perform an Unattended Windows Installation? If it does, how to config a Windows Installation "kickstart" file? I had deployed a PXELinux server automating Linux Distro ...
Federal Reserve's user avatar
0 votes
2 answers
2k views

Secure WDS Unattended Access / Unattended.xml

Windows Server 2012 - WDS installed and configured to deploy Windows Server 2012 on several Clients. We will depoly several Windows Server 2012 Clients, each of the Clients should NOT know the ...
eXe's user avatar
  • 215
1 vote
0 answers
236 views

Windows (Server 2012) Unattended Problems (Partitioning, Language, EULA)

Windows Server 2012 - WDS installed and configured to deploy Windows Server 2012 on several clients. Two problems are occuring during / after installation of Windows 2012 via WDS: If the Server had ...
eXe's user avatar
  • 215
0 votes
1 answer
313 views

Windows - multiple concurrent unattended installations

Distribution Server and Software: Debian 8 TFTP Server SAMBA Server DHCP Server Right now we use following way for windows (2012) distribution to our servers: installation task inkomming edit dhcp ...
eXe's user avatar
  • 215
4 votes
4 answers
9k views

Accept License terms with sysprep and unattend.xml Windows Server 2016

I am trying to create a Windows Server 2016 Datacentre template for cloud deployment using sysprep and unattend.xml. After syspreping, on first logon I am still getting License terms screen where I ...
Tom's user avatar
  • 61
0 votes
1 answer
305 views

WDS Unattend file for multiple wims based on motherboard models

I was wondering if it was possible to set up an unattend file to check the motherboard model and select the appropriate image. We have several images based on each type of computer we have. We did ...
C. Graham's user avatar
  • 103
5 votes
3 answers
2k views

How to do an unattended / silent CPAN install / setup

Is there a simple, backward-compatible way to install a Perl module silently using CPAN? PERL_MM_USE_DEFAULT doesn't work for older versions that don't detect a default continent; CPAN will just loop ...
Craig Ringer's user avatar
  • 11.2k
2 votes
1 answer
39k views

Run PowerShell-Script from Server in unattend.xml

Currently we are Deploying our Windows 10 Machines with Windows Deployment Services(WDS) with a unattend.xml file for basic settings. From time to time there are machines which won't activate windows ...
SaintCore's user avatar
3 votes
1 answer
3k views

How do I set a custom default accent color during deployment of Windows 10?

When deploying Windows 10, I am able to set a partial custom theme using the settings in unattend.xml as follows: <settings pass="oobeSystem"> <component name="Microsoft-...
Jay Michaud's user avatar
  • 3,983
7 votes
4 answers
11k views

Non-interactive (silent) install of MySQL 5.7 on Ubuntu 16.04 LTS

MySQL 5.7 (5.6+ actually) changed how mysql_secure_installation works. This made it hard to find a working, silent, scripted install for Ubuntu 16.04 LTS. How would you install MySQL securely in a ...
Michael Johansen's user avatar
2 votes
1 answer
231 views

Unattended Windows server 2012R2 with WSUS updates and Local Group Policies

I am working on a project on automating windows (2012 STD, R2 and 2008R2) Image creation for which I am creating the Autouattend file for 2012 R2 using WSIM. I have created almost everything except ...
Parth Gandhi's user avatar
1 vote
1 answer
939 views

Ubuntu unattended upgrades not working on Ubuntu 14.04.4

I have enabled unattended upgrades in an Ubuntu 14.04 server, and it seems to be running, but it does not update the packages that can be updated. For example right now I get 46 packages can be ...
nobilis's user avatar
  • 11
0 votes
1 answer
603 views

Unattended install of PostgreSQL 9.5 on Windows, modifying config files

I'd like to perform an unattended installation of PostgreSQL 9.5 on a number of Windows 7 machines, ideally by assigning an MSI via Group Policy. There seems to be no MSI file, but the EnterpriseDB ...
EM0's user avatar
  • 329
2 votes
1 answer
755 views

Using Debian's unattended-upgrades package

I'm trying to have all official packages from Debian be upgraded on a Wheezy box - I've set the following: "o=Debian,a=oldstable"; "o=Debian,a=oldstable-updates"; "o=Debian,a=oldstable-backports"; ...
alanbeard's user avatar
  • 141
0 votes
1 answer
412 views

Unattended upgrades not running under Ubuntu 14.04

I have a bunch of servers running Ubuntu 14.04. They all have the unattended-upgrades package installed. I've created a file called: /etc/apt/apt.conf.d/local-50-unattended And I've added the file ...
user1175849's user avatar
0 votes
0 answers
1k views

Run logon command as administrator Windows 10

I've looked around and couldn't find a answer to this exact question. I am working on building a Windows 10 image to push to a bunch of computers using Clonezilla and I am trying to get the unattend ...
Ian's user avatar
  • 91
10 votes
3 answers
4k views

How to remotely detect windows has completed patch configuration after reboot

We're planning to automate the creation of VMs for our build infrastructure so that we can: Scale the build resources based on demand, e.g. by adding more build agents when required and removing them ...
Petrik's user avatar
  • 203
3 votes
1 answer
5k views

Unattended installation of MS SQL Server (2008|2012) EXPRESS?

My goal is to install MS SQL Server 2012 R2 Express. I've downloaded SQLEXPRADV_x64_ENU.exe and used /ACTION=Install /UIMODE=Normal to generate and modify a configuration file. No matter how I fiddle ...
KlaymenDK's user avatar
  • 135
0 votes
1 answer
787 views

Windows Server 2012 R2 Unattend Headaches

I've used WinSIM from ADK 8.1 and 10, as well as http://windowsafg.no-ip.org/server2012r2.html to make an autounattend.xml answer file. The default product key works fine via a regular, interactive ...
Skatterbrainz's user avatar
4 votes
1 answer
4k views

Unattended Upgrades not running

I have installed the Unattended Upgrades package and have an apt cron in /etc/cron.daily/aptbut it's not running automatically. There's nothing in /var/log/unattended-upgrades/ and there are pending ...
CJD's user avatar
  • 237
1 vote
1 answer
97 views

Need to run a custom command during Windows 7 Setup between Phase 3 and 5

How can I run a cmd script during windows setup somewhere between the beginning of phase 3 and the beginning of phase 5? I need to copy hardware dependent files from the USB drive to the C: drive ...
Daro's user avatar
  • 243