- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise Software
- >
- Re: Setting Windows Administrator Password
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 05:13 AM
02-19-2024 05:13 AM
Setting Windows Administrator Password
Hello Team,
Is there any way to set password for Administrator Account for windows apart from Administration->Settings->Provisioning
We are able to do that for Linux in layouts by using cloud-init
How can something similar be done for Windows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 12:45 PM
02-19-2024 12:45 PM
Re: Setting Windows Administrator Password
If you just define the user/pass in the fields and the image is using cloud init I believe we define that user within the image.
Looks like you are trying to define user data block which I don’t believe is required for this use case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 05:22 AM
02-19-2024 05:22 AM
Re: Setting Windows Administrator Password
you can fill out the username and password fields on virtual images to set passwords if using cloud-init or guest customization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 12:32 PM
02-19-2024 12:32 PM
Re: Setting Windows Administrator Password
Hi @cbunge, can you suggest the format for how the cloud-init setting should be set similar to what is done in the screenshot above for the Linux base image under the image listed in the virtual image?
I kind of looked at the docs but could not find any relevant information for the same. your help or suggestions would be of great help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 06:50 AM
02-20-2024 06:50 AM
Re: Setting Windows Administrator Password
++ Also for cloud config as above to work, does the Windows image prep need cloud-init for Windows to be configured, since the image preparation step in Morpheus doc I don’t see it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 08:18 AM
02-19-2024 08:18 AM
Re: Setting Windows Administrator Password
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 06:40 AM
02-20-2024 06:40 AM
Re: Setting Windows Administrator Password
can you we something like the below to set the admin password for Windows? so that at the time of provisioning cloud-init will reset the password?
#cloud-config
users:
-
name: Administrator
primary_group: administrators
groups: administrators
passwd: YOURPASSWORDHERE
inactive: False
runcmd:
- "net user administrator /active:no"
- "net user admin /active:no"
- "shutdown -r"