Archive for the 'Windows Server' Category

How to make a member Domain Controller to the primary Domain Controller in an emergency

So if you can’t recover the Primary Domain Controller then you have no other choice than making a member DC to a PDC. You can seize the roles with ntdsutil.

Run command prompt with domain admin rights:
1. ntdsutil
2. roles
3. connections
4. connect to server MyMemberDC
5. q
6. Seize domain naming master
7. Seize PDC
8. Seize RID master
9. Seize schema master
10. q q
11. dsa.msc

* We don’t seize Infrastructure Master because it should be on another DC where the Global Catalog isn’t installed.
* You can get help in ntdsutil anytime if you just write help and press enter

No Comments »

admin on January 17th 2015 in Windows Server

Shows Printer as Offline even you can Ping

Deactivate it in the ports settings SNMP Status Enabled.

image

No Comments »

admin on July 8th 2014 in IT, Windows, Windows Server

Checking DNS Server in Windows

To check if the DNS Server is working probably you can do so:
nslookup
server [servername_query_from]
[website_url]

No Comments »

admin on June 27th 2014 in Internet, IT, Windows, Windows Server

Find User’s SID

Run following command:
wmic useraccount get name,sid

No Comments »

admin on June 6th 2014 in IT, Windows, Windows Server

GPO Network Drive Mapping over DFS isn’t working

I experienced the problem that it didn’t map one network drive over GPO. I searched for a long time and found out the problem was that the GPO didn’t like the backslash at the end.

Wrong

\\Domain\data\sharename\

Right

\\Domain\data\sharename

After that it worked like a charm;-)

No Comments »

admin on April 25th 2014 in IT, Windows, Windows Server

Configure Windows 2012 Server from Command Prompt

Run the following configuration utility:

sconfig.exe

No Comments »

admin on January 13th 2014 in IT, Windows Server

Sync Computer Time manually with Domain Controller

NET TIME %LOGONSERVER% /SET /Y

No Comments »

admin on August 27th 2013 in IT, Windows, Windows Server

How to create Group Managent Service Account

Useful for Network Load Balancing and Clusters

Same steps as in How-to-create-a-Managed-Service-Account

You need to create a security group and add computers to it.

New-ADServiceAccount –Name GroupMSA –DNSHostName ServerName –PrincipalsAllowedToRetrieveManagedPassword MSAComputers –passthru

No Comments »

admin on July 15th 2013 in IT, Windows Server

How to create a Managed Service Account

New since Win2k8 R2

Instead of using User Accounts for services you can create Managed Service Accounts now. The advantage is that it also changes the password every 30 days automatically like in the computer accounts. You can find the managed user accounts here:
Active Directory User and Computers\Managed Service Accounts

1. Run Active Directory Module for PowerShell
2. Add-KDSRootKey
    
     For LAB Environment to not wait the 10 hours to repliacte type instead:
     Add-KDSRootKey –EffectiveTime ((Get-Date).AddHours(-10))
2. New-ADServiceAccount –Name WebTest –DNSHostname servername –Passthru

    Without –Passtrhu you don’t have any feedback

3. Add-ComputerServiceAccount –identity web01 –ServiceAccount WebTest –Passthru

You can check the settings in more details if you run adsiedit.msc.

Now you can use this service for example for services.

1. Run services.msc

2. Right Click on a Service\Properties\Log On\
    This Account:

     domain\yourcreatedaccount$

3. You don’t need to put a password

No Comments »

admin on July 15th 2013 in Windows Server

How to get the default Domain Controller and Domain GPO back

dcgpofix /target:both

No Comments »

admin on July 10th 2013 in Windows, Windows Server




Check out new movies online website. Download and buy movies now.