Add Host Server to SCVMM Server - hyper-v

When I try to add a host server to a scvmm server i got this message
Access has been denied while contacting the server .
Verify that the specified user account has administrative privileges on .
Verify that DCOM access, launch, and activation permissions are enabled on for the Administrators group. Use dcomcnfg.exe to modify permissions, and then try the operation again.
ID: 406
The user account has administrative privileges on both servers. Any suggestions?

It requires the administrative privileges in group of that domain, in which that host / VM is present.
Please check the permission for that user on domains.

Related

SQL WebReplication replisapi.dll?diag access denied

I have a problem with web replication. I Have a SQL Server with a publication for merge and 1 WEB IIS Server where is installed replisapi.dll. both servers on same domain on same LAN
When I try to diagnose the replisapi.dll it give me access denied error.
https://MYWEBSERVER/SQLReplication/replisapi.dll?diag
after ask me the credential it give me this error
Access Denied because of no WebSyncDiagAccess.
can you help me? thanks
There are two places you need to check.
Check application pool if it enables 32-bit applications. Enable it.
Then check application pool identity. Use administrator or local system. Other identity may not have enough permission to replisapi.dll.

what is the cli command in windows to allow domain user to login?

In windows Server 2012 R2, i have added the server to a domain.
The domain has accepted this server to be part of the domain.
How to allow the domain administrator to login to this server?
Should i add the domain administrator to local user?
To add an account as a member of the administrators group you need to be a local administrator already and you need to have rights to read the active directory information. A normal user can do this so what you want to do should be possible:
log on as local admin
connect on the VPN
open Start | Computer Management | Local Users and Groups (or run lusrmgr.msc)
double-click on the 'Administrators' group
click the 'Add...' button
At this point, because you are on the VPN and the machine is a member of the domain, you should be able to click on the 'Locations...' button and select the domain as the location of the user list. At some point an authentication dialogue should pop up and you will need to enter your normal domain credentials.

What is the difference between SQL Server administrators and sysadmin/serveradmin?

After setting up a new SQL Server 2014 instance, my boss told me I forgot to add an account during the Account Provisioning section of the installation.
My user is a sysadmin, but not serveradmin. What exactly is the difference?
With sysadmin, you can control the server and with serveradmin, you can change setting, shutdown, alter resource etc.
So the members of the sysadmin fixed server role can perform any activity in the server and Members of the serveradmin fixed server role can change server-wide configuration options and shut down the server.
For more information on rights, you can get from https://msdn.microsoft.com/en-us/library/ms188659.aspx

cannot enable login for sa

I am trying to install DNN using Web Platform Installer. It tries to connect to .\SQLEXPRESS, which I have installed along with SQL Server, and wants me password for sa. When I provide it
with a password, it says "password invalid or cannot connect to database".
I thought to myself there might be a problem with the sa account. I opened SSMS 2012. There is a red arrow downward sign on the sa account. Whenever I am trying to change login status to Granted it opens up an error message:
error 15151
Cannot alter the login 'sa' because it does not exist or you don't have permission.
Nonetheless I tried it with administrator account and also by disabling UAC. None worked. Screen shot follows:
Details:
SQLEXPRESS version: 10.0.2531
SQL Server version: 11.0.2100
Update: Following some guidelines I tried to change authentication in SQL Server Management Studio from Windows Authentication to Mixed Authentication, but it failed with the following permission error:
Make sure you're connecting with a server login that has the sysadmin server-level role. You'll need that permissions level to do what you're trying.
Check the server authentication mode. If it is or was Windows Auth only, the sa account is automatically disabled. Note that if SQL Authentication was disabled and later turned back on, the sa account will still be disabled.
If you find that nobody is in the sysadmin server-level role, you'll need to stop the server and restart it in single-user mode so you can add at least one login to the sysadmin server-level role. In single-user mode, the Administrators group has sysadmin access, but you'll have a limited subset of commands to manipulate data in tables (single user is for fixing servers, not running applications). NB: Only one connection is allowed in this mode, so if you have a broker or service that's trying to connect you'll need to disable that or it can take the session you were planning to use with SSMS.

How do I Add My Domain User Account to the List of Users with Permission to Connect to the SQL Server?

My SQL 2008 R2 Server is configured for Windows authentication, but only my domain administrator account is granted access to connect to the object explorer.
I need to grant my non-administrator domain-user access as well, so I can log in from my local workstation.
Connect to the object explorer. Navigate down to the server > Security > Logins. Right click and select new login (or add login). In the new window put your domain account (or group) and grant it what ever rights you want it to have. If this is just your personal SQL instance on your workstation then just make your account a sysadmin.