Questions tagged with Windows Provisioning

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

I have a large piece of server software (3 GB of files pre-install) that is running on an EC2. The software installs a full app server or interface server that communicates with the front-end desktop GUIs and database. The software was originally designed years ago to be installed through a visual step-by-step installer off a USB drive on premises. This installer ensures that the software is set up with proper configuration, networking, connection to the database, etc. Every client gets 1 or more EC2 instances dedicated to handle their workload. Moving into a cloud-minded paradigm, what is a better way to handle creating many servers, for many clients, all with different configurations of this software? When a server goes down, or another is needed for load, what's a "cloud" practice to spin up a new server and install the same configuration of software on this server? I have multiple ideas including: 1. Store software files in S3 bucket and pull them to the EC2 instances as necessary. A config file for each customer will also be updated and stored on S3. The EC2 will then start the software from a PowerShell script to create proper configurations. 2. Store the software in the AMI of EC2 exactly as configured. This means any time a server is created with a new client configuration, we create a new AMI after installation. 3. Create a Lambda function that can handle all the different configuration parameters. When invoked, it will take care of spinning up a server, moving the software to the server, and installing the software with proper configuration. Any guidance or references to white papers would be appreciated. Thank you!
1
answers
0
votes
44
views
asked 6 months ago
Every time we change the "Computer Type" of an AWS Workspace, we get the Windows error "We can't sign into your account". Windows creates a temporary user profile, and all the previous settings and programs for that user are gone. Signing out and back in does not resolve the issue. We then have to do a rebuild to get it working again. This happens every time. Seems odd that we can't upgrade or downgrade a Workspace to Value, Standard, Performance, etc without starting over completely. Is this by design or is the Workspace just a bad setup to start with?
1
answers
0
votes
65
views
asked 6 months ago
My instance which was working for several years is unable to load today and says "Instance reachability check failed Check failure at 2022/10/10 18:45 GMT+5 (19 minutes)". It is c6i.2xlarge type of instance running Windows. I tried to reboot instance several times and stpped and started it but that did not solve the issue. I checked the logs but those are completely empty. I have also open a ticket 10972555931 Please help!
1
answers
0
votes
96
views
MFJ
asked 6 months ago
I launched a g5.2xlarge (Windows) instance type about a week ago. I've configured it exactly how I need and used the console to create an image of the server. The server contains only a single 150 GB EBS root volume. The image is created successfully but when I go to launch a second g5.2xlarge instance using this AMI, it shows the following under storage. I'm not sure where the second 450 GB volume is coming from or why I can't remove it. https://dl.dropboxusercontent.com/s/55fw9zl6aoalxoi/NVIDIA_Share_gvEY7NfSrE.png When the server is launched, I can see the 150 GB volume (but not the 450 GB one) in Windows but none of the data (files, configs, drivers, etc.) from the original server are there. It just looks like a bare Windows install. Did the data copied to that second invisible volume or something? Basically, all I want is an instance that's identical to the one I've already configured. I've done this successfully in the past but usually with Linux and with different instance types. Thanks.
1
answers
0
votes
54
views
Cortic
asked 6 months ago
Hi Team. I'm working with Patch Manager and I need to patch some groups of EC2 instances (Windows in this case). Instances got patched (or seems to) but remains in state "pendig reboot" and "non compliance". I don't know how to change instance's state. I've tried rebooting the instances manually and rebooting them using Run Command (with AWS-InstanceRebootWithHooks document) but they are still in "pending reboot" state. I also have a big doubt if patches are correctly installed. Thanks in advance.
1
answers
0
votes
83
views
asked 6 months ago
I have a Lightsail Windows Server Instance that is impossible to connect to and, hence, impossible to fine the issue it has for me. I tried everything and pay now for multiple months money for the instance and cannot use it. I restarted multiple times and tried to use the created backup. But it is also not responsive. I ported the instance to EC2 and started it there. All status checks green and running but I cannot access it there too (Error Error code: 0x204). I before did a backup exactly as described in the documentation (at least to my knowledge) here: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/prepare-windows-based-instance-and-create-snapshot How can I trace errors to get the instance running again.
2
answers
0
votes
60
views
asked 6 months ago
I need to change the name of multiple windows ec2 instances. manual way is: 1. RDP to server 2. Change name in system 3. Reboot 4. Change TAG Name from NAme: old_Name to new_name any idea how I can automate this, script with powershell or SSM?
1
answers
0
votes
34
views
drago
asked 6 months ago
Can I mount a drive on a workspace? I want a set of software to install whenever a workspace is created. I want a drive to contain all those software to mount it to install and then unmount when installation is done, Is this Possible?
2
answers
0
votes
100
views
asked 6 months ago
I have a PowerShell script, that when runs, installs a large application and start a server. This process takes about 20 minutes to run. I would like to start this install process when the server is first created to avoid having to RDP into the server, and start the script manually. The problem I'm having is that there is no sign of the user data script running in the server. There are no logs in `C:\Program Files\Amazon`. The cloudformation script looks like this: ``` "UserData": { "Fn::Base64": { "Fn::Join": ["", [ "<powershell>\n", "Set-Location C:\\Users\\Administrator\\Documents\\installer-and-scripts\\ \n", ".\\AddNewAppServer.ps1 ", { "Ref" : "RDSEndpoint" }, " ", { "Ref" : "DBAdminUser" }, " ", { "Ref" : "DBAdminPassword" }, " ", { "Ref" : "S3BackupFileARN" }, " ", { "Ref" : "NewdbName" }, " \n", "</powershell>"]] }} ``` The five variables in UserData are parameters of the Cloudformation script and are just Strings. Why do I not see any sign of this script running? Also, will having a 20-minute script cause issues in logging into the server or even run at all? Thanks!
1
answers
0
votes
42
views
asked 6 months ago
I fail to run the sample [basic-connect](https://github.com/aws/aws-iot-device-sdk-cpp-v2/tree/main/samples/mqtt/basic_connect). i receive: ``` [ERROR] [2022-10-05T13:09:04Z] [00005b28] [socket] - id=000001C5BE6C1E30 handle=0000000000000214: connect completion triggered with error -1073741252 [ERROR] [2022-10-05T13:09:04Z] [00005b28] [socket] - id=000001C5BE6C1E30 handle=0000000000000214: connection error with code 1049 Connection failed with error libaws-c-mqtt: AWS_ERROR_MQTT_UNEXPECTED_HANGUP, The connection was closed unexpectedly. Connection failed ``` When I run: > basic-connect.exe --client_id "ME" --endpoint "[...]-ats.iot.eu-west-1.amazonaws.com" --cert "[...]/Certificate.crt" --key "[...]/private.key" --verbosity "Info" Full output: ``` [INFO] [2022-10-05T13:09:04Z] [00007020] [pki-utils] - static: loading certificate chain with 3 certificates. Connecting... [INFO] [2022-10-05T13:09:04Z] [00007020] [mqtt-client] - id=000001C5BE6AE5F0: using ping timeout of 3000000000 ns [INFO] [2022-10-05T13:09:04Z] [00007020] [thread] - id=000001C5BE69BFD0: cpu affinity of cpu_id 0 was specified, attempting to honor the value. [INFO] [2022-10-05T13:09:04Z] [00005bd8] [socket] - static: initializing WinSock [INFO] [2022-10-05T13:09:04Z] [00005bd8] [socket] - static: loading WSAID_CONNECTEX function [INFO] [2022-10-05T13:09:04Z] [00005bd8] [socket] - static: loading WSAID_ACCEPTEX function [ERROR] [2022-10-05T13:09:04Z] [00005b28] [socket] - id=000001C5BE6C1E30 handle=0000000000000214: connect completion triggered with error -1073741252 [ERROR] [2022-10-05T13:09:04Z] [00005b28] [socket] - id=000001C5BE6C1E30 handle=0000000000000214: connection error with code 1049 [INFO] [2022-10-05T13:09:04Z] [00005b28] [dns] - id=000001C5BE66C600: recording failure for record 2a01:578:3::22f6:70e6 for [...].eu-west-1.amazonaws.com, moving to bad list Connection failed with error libaws-c-mqtt: AWS_ERROR_MQTT_UNEXPECTED_HANGUP, The connection was closed unexpectedly. [INFO] [2022-10-05T13:09:05Z] [00005b28] [mqtt-client] - id=000001C5BE6AE5F0: sending disconnect message as part of graceful shutdown. Connection failed [...]basic_connect\build\x64-Debug\basic-connect.exe (process 30292) exited with code -1. ``` Why is there an overflow ("-1073741252")? I identified 1049 to be "AWS_IO_SOCKET_NO_ROUTE_TO_HOST", what does that mean? Why is the connection not successful? I am using msbuild & win10.
1
answers
0
votes
85
views
asked 6 months ago
Hello everyone, I am trying to push a set of reg keys to non prod and prod accounts. we spin up new machines daily and i'd like to make sure the keys are pushed. What would be the best way to do this?
1
answers
0
votes
26
views
asked 6 months ago
Hey all, I am trying to setup Remote Desktop Licensing Manager on AWS but i am running into this error with the Manager "The system cannot determine if the license server is member of TSLS group on Active Directory Domain Services (AD DS) because the AD DS cannot be contacted." Now I added the Instanced to the domain and then added the instance to the TSLS group in AD. for whatever reason I am stuck here. All ports are open that are needed. is there something in AWS managed AD that i need to change?
0
answers
0
votes
36
views
asked 6 months ago