Ubuntu Root password setup

  1. open a new terminal.
  2. type su then enter
  3. type login user password
  4. Ask you password for root
  5. again ask you re-type password of root
  6. now your root password set.

Enjoy

Advertisements

Windows 2008 Server Powershell for ADUsers export

PS C:\Users\Administrator> Get-Module -listavailable

ModuleType Name ExportedCommands
———- —- —————-
Manifest ActiveDirectory {}
Manifest ADRMS {}
Manifest AppLocker {}
Manifest BestPractices {}
Manifest BitsTransfer {}
Manifest GroupPolicy {}
Manifest PSDiagnostics {}
Manifest ServerManager {}
Manifest TroubleshootingPack {}

PS C:\Users\Administrator> Get-Module ActiveDirectory,AppLocker,BestPractices,BitsTransfer,GroupPolicy,PSDiagnostics,ServerManager,TroubleshootingPack

ModuleType Name ExportedCommands
———- —- —————-
Manifest servermanager {Remove-WindowsFeature, Get-WindowsFeature, Add-WindowsFeature}
Manifest activeDirectory {Set-ADOrganizationalUnit, Get-ADDomainControllerPasswordReplicationPoli…
Manifest applocker {Get-AppLockerPolicy, Get-AppLockerFileInformation, Test-AppLockerPolicy…
Manifest Bestpractices {Get-BpaModel, Set-BpaResult, Invoke-BpaModel, Get-BpaResult}
Manifest bitstransfer {Start-BitsTransfer, Remove-BitsTransfer, Resume-BitsTransfer, Get-BitsT…
Manifest grouppolicy {Get-GPStarterGPO, Get-GPOReport, Set-GPInheritance, Restore-GPO…}

Now I can collect more information with the help of PowerShell.

PS C:\Users\Administrator> Get-ADDomain

AllowedDNSSuffixes : {}
ChildDomains : {}
ComputersContainer : CN=Computers,DC=fabrikam,DC=local
DeletedObjectsContainer : CN=Deleted Objects,DC=fabrikam,DC=local
DistinguishedName : DC=fabrikam,DC=local
DNSRoot : fabrikam.local
DomainControllersContainer : OU=Domain Controllers,DC=fabrikam,DC=local
DomainMode : Windows2003Domain
DomainSID : S-1-5-21-985056464-632562855-848957522
ForeignSecurityPrincipalsContainer : CN=ForeignSecurityPrincipals,DC=fabrikam,DC=local
Forest : fabrikam.local
InfrastructureMaster : WIN2K8SVR1.fabrikam.local
LastLogonReplicationInterval :
LinkedGroupPolicyObjects : {CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=fabrikam,DC=lo
cal}
LostAndFoundContainer : CN=LostAndFound,DC=fabrikam,DC=local
ManagedBy :
Name : fabrikam
NetBIOSName : FABRIKAM
ObjectClass : domainDNS
ObjectGUID : 6f81b43c-4048-4106-a8f9-4f44ec2b01bf
ParentDomain :
PDCEmulator : WIN2K8SVR1.fabrikam.local
QuotasContainer : CN=NTDS Quotas,DC=fabrikam,DC=local
ReadOnlyReplicaDirectoryServers : {}
ReplicaDirectoryServers : {WIN2K8SVR1.fabrikam.local, WIN2K8SVR2.fabrikam.local, WIN2K8SVR3.fabrikam.local,
WIN2K8SVR4.fabrikam.local}
RIDMaster : WIN2K8SVR1.fabrikam.local
SubordinateReferences : {DC=ForestDnsZones,DC=fabrikam,DC=local, DC=DomainDnsZones,DC=fabrikam,DC=local, C
N=Configuration,DC=fabrikam,DC=local}
SystemsContainer : CN=System,DC=fabrikam,DC=local
UsersContainer : CN=Users,DC=fabrikam,DC=local

now i can collect user details of AD users

PS C:\Users\Administrator> Get-ADUser -Filter * -properties * | export-csv c:\ADUserDetails.csv

Active Directory Schema Version

 

Version Windows Server Version
13 Windows server 2000
30 Windows server 2003
31 Windows server 2003 R2
39 Windows server 2008 Beta
44 Windows server 2008
47 Windows server 2008 R2
56 Windows server 2012
69 Windows server 2012 R2
87 windows server 2016

Open CMD with administrator mode

C:\Documents and Settings\Administrator>dsquery * CN=Schema,CN=Configuration,DC=fabrikam,DC=local -scope base -attr objectversion

Select Properties

1

Right click on Schema

Select Properties

2.png

Now open Attribute editor dialog box

3

Select Distinguished Name

4

Copy Distinguished Name Value

C:\Documents and Settings\Administrator>dsquery * CN=Schema,CN=Configuration,DC=fabrikam,DC=local -scope base -attr objectversion

Press enter

Objectversion

47                 (for Windows 2008 R2 server)

Edge Browser in Windows Server 2016

microsoft-edge-100582336-large

1. Click on start & type in secpol.msc
or
2. Go to all Apps >> Windows Administrative Tools >> Local Security Policy.
3. In the left side pane, Expand “Local Policies” and select ” Security Options”
4. Find a “User Account Control” >> “Admin Approval Mode for the Built-in Administrator account”
5. Select “Enabled” then Apply and ok
6. Restart Windows Server 2016.
7. Login your Server and use Microsoft Edge browser.

Enjoy!

Welcome to IT World

Last 10 years I am working in information technology as a technical support and arrange bread and butter for my family.

Working in many different types of support to my office users and outside friends to make user’s life, easy to use their infrastructure and system as with applications.