MongoDB Community : Error when installing service as local or domain user [closed] - mongodb

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
When installing MongoDB Community as a local service you need to enter the future credentials of your account :
If I enter for example:
user: MongoDB
password : root
I got this error message:
The domain, user name and/or password are incorrect.
Remember to use "." for the domain if the account is on the local
machine.
What should I write here? Whenever I write something, I get an error.

Here is the solution:
Username should be 'username' of your system/device.
And password should be password of your system/device.
It's weird, but that shall work.

Here's the solution for Windows 10(x64):
If you don't have a domain (for home or personal computers), leave the domain field with "."
If your computer is owned by your company, contact your system administrator and then in the domain field type : Company_Domain
In the username field,
for personal computers : type your username. If you're signed in with a
Microsoft Account, type the email address or the name of your Microsoft Account.
for company provided machines : type your username as
Company_Domain/Your_Username
In the password field type the password not the PIN number (if you've set it up).
That should help.

I had admin user without password.I had set password and try installation and give local admin user and password.it work for me.

Here is the best solution: Provide your system/device Username and password. And password should be password of your system/device. It's weird, but it shall work.

quit intall . restart install msi file,and select default option

I used the a similar solution as Khan. I went to the download directory and when I executed the msi file this time, I was asked whether the Compass option should be installed. After unchecking that, the rest of the install worked, using default options. This is a Windows 10 laptop.

Related

AD - What is the meaning of the "Pwd-last-set" attribute for a Windows Server?

This question follows an audit on my AD where Windows servers with very old PasswordLastSet attributes have been discovered.
I'm familiar with using the Pwd-last-set attribute in order to check when an AD user has last changed his password. But what does this attribute mean when talking about a computer-type object like a laptop or a windows server ?
The Microsoft documentation states it is "The date and time that the password for this account was last changed". I don't think this means the local administrator of the computer, since I've clearly not changed mine at the date my Pwd-last-set attribute indicates.
Finally, if it isn't the local administrator nor my account, how can I set a new password that will refresh the attribute ?
EDIT
So the password is actually the Machine Account password used for communication between the computer/server and the DC
It's supposed to be renewed every 30 days on default Windows settings through the following registery key : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
I still don't have a way to easily force the renew of this password but found some leads :
Put the MaximumPasswordAge in the registery to a low number and restart the machine
Use the "Reset Account" options when right-clicking the object in the active directory -> What are the consequences for a server ?
Use the Reset-ComputerMachinePassword Powershell command -> What are the consequences for a server ?

AzureDevops Deployment Group won't run on Windows Server 2019 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hi I have a new on prem server DELLEMC and I'm trying to run the deployment group registration script but the script won't run and after a while this error will appear "DownloadFile" with "2" argument(s): "
I also refer to this link for help but it didn't work https://github.com/MicrosoftDocs/azure-devops-docs/issues/263
AzureDevops Deployment Group won't run on Windows Server 2019
According to the error message:
Exception calling "DownloadFile" with "2" argument(s): "The operation has timed out."
It seems there is something wrong to download the agent, please try it again. Note, make sure the network is fast and stable. If this issue still exists, please do the following steps:
Download the agent bits from here and select the v2.162.0 or
above . User can download it from other machine and copy that to
this machine if the download is failing because of network issue.
Extract the zip in some folder.
Open PowerShell admin command prompt and go to the folder
Run the below PowerShell script as an administrator:
.\config.cmd --deploymentgroup --deploymentgroupname "{deploymentGroupName}" --agent $env:COMPUTERNAME --runasservice --work '_work' --url 'https://iam-costco.visualstudio.com/' --projectname '{ProjectName}'
You could check this thread for some more details.
Hope this helps.

AWS RDS to PgAdmin Error saving properties Unable to connect to server: timeout expired [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Short description: AWS RDS connecting server to PgAdmin 4, PostgreSQL 11
Done: I have done similar to this guy or to this aws guide but at the end when I click save it does not accept it for me. instead gives the following
ERROR:
Error saving properties
Unable to connect to server:
timeout expired
What I have tried to solve the problem:
The instance is active it is 2 hours after creation
I have also allowed to access database with outside of AWS database client "YES"
this stack overflow answer does not deliver results https://stackoverflow.com/a/37903485/10270590 actually after refreshing my security group like the guide says my whole database disappeared
I have home wi-fi so there are no corporate firewalls or any of those issues https://serverfault.com/q/705312/535406
while reading the pervious server fault post I looked up my
RDS/Databases: what was empty
RDS/Security groups: empty and I have this message:
Your account does not support the EC2-Classic Platform in this region.
DB Security Groups are only needed when the EC2-Classic Platform is supported.
Instead, use VPC Security Groups to control access to your DB Instances.
I have tried which this question https://serverfault.com/questions/656079/unable-to-connect-to-public-postgresql-rds-instance that had 2 good answers but they gave the same error even after doing bot of the changes
https://serverfault.com/a/656119/535406
https://serverfault.com/a/880710/535406
same as the above one - AWS RDS Database show timeout error
Edit inbound rules
Type have to be turned to: all traffic and my IP. than it works

How to run a Batch script on all connected Computers with Admin rights (Windows 7) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have a Simple Script to create a user and add it to administrators localgroup in a local computer:
NET USER admin password /ADD
NET LOCALGROUP administrators admin /ADD
I'd like to create a script that copy & execute my file (or execute the commands above) in every available computer in my LAN network. i have admin right to do it manually. but i would very like to automate the process of adding user + give it admin privileges with shell script.
p.s.
If there is another way to do it with CMD / PowerShell it would be great.
I don't have access to the internet so third party programs are not an option.

Active Directory PowerShell [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
For PowerShell 2.0
I mean to manage Active Directory using Windows PowerShell. I have an application server where in I have installed RSAT with ActiveDirectory PowerShell CmdLets. When I run a command for AD cmdlet, for example; Get-ADOrganizationalUnit it gives me an error message.
'Unable to find a default server with Active Directory Web Services running.'
Upon researching I found 2 articles:
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=2852 - Install AD Management Gateway Service.
http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/29/use-active-directory-cmdlets-with-powershell-to-find-users.aspx
Question:
Is it really necessary to install AD Management Gateway Service as All the Domain Controllers are running on Windows Server 2003?
Is there any other EASY :) way to query AD like AD CmdLets? I know that Quest is another route but I cant use it as I am prohibited to install any 3rd Party CMDLETS.
Thanks in advance,
Rajiv
Is it really necessary to install AD Management Gateway Service as All the Domain Controllers are running on Windows Server 2003?
Yes.
Is there any other EASY :) way to query AD like AD CmdLets? I know that Quest is another route but I cant use it as I am prohibited to install any 3rd Party CMDLETS.
The Easy way would be the Quest module but if you can't install it I suggest to play with .net class
system.directoryservices.accountmanagement
Perhaps it is possible to use the ADSI interface?
check out the following article:
http://social.technet.microsoft.com/wiki/contents/articles/4231.working-with-active-directory-using-powershell-adsi-adapter.aspx
/Fredrik