Posts

Missing SYSVOL and NETLOGON

Open Regedit Browse to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters Set  SysVolReady  from 0 to 1 Close Regedit This will create the SYSVOL share Verify the replication by running the following command. For /f %i IN ('dsquery server -o rdn') do @echo %i && @wmic /node:"%i" /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo WHERE replicatedfoldername='SYSVOL share' get replicationgroupname,replicatedfoldername,state The states should translate as below 0 = Uninitialized 1 = Initialized 2 = Initial Sync 3 = Auto Recovery 4 = Normal 5 = In Error If you run the command to see the state of the replication you will see that the servers are all showing state 4 as below and both Sysvol and Netlogon will be replicated Enable Ginger Cannot connect to Ginger Check your internet connection or reload the browser Disable in this text field Rephrase Rephrase current sentence Edit in Ginger ×

How to Switch Domain Controller or Logon server in client

To find the current logon server Open the command prompt and type echo %logonserver% To switch the Domain Controller Open the command prompt and type nltest /Server: ClientComputerName  /SC_RESET: DomainName \ DomainControllerName To set the Domain Controller Via Registry Open the registry editor Navigate to: HKEY_LOCAL_MACHINE/ SYSTEM/ CurrentControlSet/ Services/ Netlogon/ Parameters Create a String value called “SiteName“, and set it to the domain controller you wish the computer to connect to. (ie. DC1.domain.com)

Install .NET Framework 3.5 Offline

Connect a  Windows 10 installation USB  that is the exact same  build  as what is currently installed. Or,  Mount  a  Windows 10 ISO  that is the exact same  build  as what is currently installed. Open This PC in File Explorer (Win+E), and make note of the drive letter of this USB or mounted ISO. Open an elevated command prompt. Type the command below in the elevated command prompt, and press Enter Dism /online /enable-feature /featurename:NetFX3 /Source: <driveletter> :\sources\sxs /LimitAccess

WSUS - Bypass to windows updates online

Open CMD with admin privileges. REG ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” /v UseWUServer /t REG_DWORD /d 0 /f net stop “Windows Update” net start “Windows Update” Copy above and paste, press enter to run.

Active Directory User Management using Powershell

Image
Active Directory User Management using Powershell Creating a Single User New-ADUser –SamAccountName “username” –DisplayName “username” – givenName “Username” –Surname “surname” –AccountPassword ( ReadHost –AsSecureString “Message”) –Enabled $true –Path ‘CN=Users , DC=Doc , DC=Com’ –CannotChangePassword $false –ChangePasswordAtLogon $true –PasswordNeverExpires $false - EmailAddress “email” –EmployeeID “ID” –Department “string” SamAccountName   – Specifies the SAM Account name of the user. ”New-ADUser” command should have this parameter for creating a user. You can pass a string value in it. DisplayName   – Specifies the name to be displayed. Surname  – Specifies the surname of the user. AccountPassword   – Specifies the account password for the user. However, the password has to be provided after executing the command as a secured string. The default value for this parameter would be as follows . –AccountPassword ( ReadHost –AsSecureStri...

Customize Your Windows 7 Login Background

Open up your run command. Type in regedit . Find HKEY_LOCAL_MACHINE > Software> Microsoft > Windows > CurrentVersion > Authentication > LogonUI > Background Double-click on OEMBackground Change this value to 1 .  close regedit . Open up Windows Explorer or My Computer and navigate to your Windows directory. In your system32 folder in your windows directory, you'll need to create a couple new folders. For the standard user, go to c:\windows\system32\oobe and create a folder labeled info. Inside the info folder, make another folder called backgrounds . Your final path should look like c:\windows\system32\oobe\info\backgrounds Place your image in this folder. Note 2 important things: Your file must be labeled backgroundDefault.jpg your file must less than 256kb in size, To test if your background is working correctly, lock your computer with 'Windows + L.' Your image should now show up on your Windows Login screen.

Print Folder and directory contents in windows

Command Line Option  Start the command prompt. Type cd and the directory path of the folder you want to print. Type dir>print.txt Press Enter and exit  from the command prompt. Open the folder you wanted the list file content for and you should see a print.txt file.