Display Computer info on user desktop beckground Posted on December 17, 2017 by dpejic I use BgInfo from sysinternals. Sysinternals BGInfo – Great Utility for Displaying Machine Information I often get asked at my live events about the utility I use to display machine information in the Desktop Background. If you’ve been to one of my live events or watched any of my webcasts or screencasts, you’ve seen this…
SOLVED – Migrating from SHA1 to SHA2 your CA and much more Posted on August 29, 2017 by dpejic I had a 2008 R2 CA enterprise root server with SHA1, I could not issue a certificate with sha2 becaus root certificate not support that. So I had to switch / migrate to the new algorithm, and in that process i also migrate CA to win 2016 server. For switch migrate only sha1 to SHA2…
Users found in a specific OU should always be a member of a specific security group Posted on July 9, 2017 by dpejic Here we have a very simple criteria: Users found in a specific OU should always be a member of a specific security group. This does not require any human input or modification. We just need a way to compare the users in the OU with the users in the group and make any necessary changes.…
Active Directory script for Admin easy life Posted on February 23, 2017March 2, 2017 by dpejic # Query Active Directory And Ping Computers QueryAndPing.ps1 # AD – Active Directory Reports by Emails via Powershell Active Directory Reporting by Emails via Powershell
Missing tabs in ADUC on Windows 10 Posted on February 22, 2017February 23, 2017 by dpejic https://social.technet.microsoft.com/Forums/en-US/9b38855a-b9a3-47c0-a7d1-11a5f65102b3/rsat-windows-10-ad-remote-desktop-services-profile-tab?forum=win10itprosetup https://community.spiceworks.com/topic/1923627-administrator-tools
import bulk atribute to user; bulk import user; import atribute to ad using logonname Posted on February 3, 2012 by dpejic First you must install powershell 2.0 if not exist, if it is installed on Win 2008 R2 PowerShell 2.0 is present. Next, you must install ActiveRoles Management Shell for Active Directory 64-bit you can download from this location http://www.quest.com/QuestWebPowershellCmdletDwnld64bit After install start powershell and type command EXAMPLE: Import-csv C:\importfolder\importFile.csv | foreach-object {Set-qaduser $_.samaccountname -telephoneNumber $_.telephoneNumber…
How to change (reset) domain user password from IIS – create IISADMPWD in iis7 Posted on October 10, 2011 by dpejic The IISADMPWD function is not included in IIS 7 any more. And thus the IISADMPWD directory is no longer there under a clean install of Windows Server 2008 . So except using VPN , is there a way to change my password in emergency? A small experiment reveals that we may use IISADMPWD if we…
Synchronize server time with pdc – server won't synchronize time with pdc Posted on October 3, 2011 by dpejic Problem with time in a domain environment is a serious problem because if you have the wrong time some things will not work. Ok, let's see how to solve the problem. First, execute the command in CMD "Net Time" to see source form where we poll time next commands is net stop w32time w32tm /unregister…
FIXED "the trust relationship between this workstation and the primary domain failed" error Posted on May 17, 2011 by dpejic If the machine/workstation is in another network than the DC, there is a possibility that the switch/router blocked netbios brodcast, so before you start add to lmhosts (exemple: in C:\Windows\System32\drivers\etc\ create file named lmhost and put in "mydc #PRE" record ) file netbios record for DC so computer could resolove NetBIOS name of DC. Now…
configure PDC for external ntp sync Posted on April 20, 2011June 29, 2017 by dpejic w32tm /config /manualpeerlist:time.windows.com /syncfromflags:manual /reliable:yes /update Notes: You can find the closest time server near you by browsing the following page and clicking on the nearest zone: http://www.pool.ntp.org/zone/@ Execute the following command to actually perform a time synchronization with the external source w32tm.exe /config /update Execute the following command for the changes to take effect…
Create shortcut on workstation using group policy Posted on April 11, 2011 by dpejic In my case, I had a shared folder on the server and I wanted to create a shortcut to a client machine that will point to shared folder on the server. I have done the following: I created a shortcut in shared folder that we will serve as a distribution point for client In shortcut…
FILE REPLICATION SERVICE is having trouble. Event ID 13508 Posted on March 14, 2011 by dpejic Event Type: Warning Event Source: NtFrs Event Category: None Event ID: 13508 Date: 2/16/2006 Time: 7:13:51 PM User: N/A Computer: YODA Description: The File Replication Service is having trouble enabling replication from \\SERVER0.DOMAIN.local to YODA for c:\windows\sysvol\domain using the DNS name \\SERVER0.DOMAIN.local. FRS will keep retrying. Following are some of the reasons you would see…
Remove Lingering Objects In ad Posted on February 14, 2011 by dpejic Ok, command to execut is: 1. I use replmon to find out which server not replicate and have lingering object 2. In "servername" belowe replace with your problematic server 3. After that you need to use GUID (f943c62b-7d26-4504-81e0-2d68bff70d21) of healthy dc from which you wont to synchronize 4. /advisory_mode is only test to see if…
Modifying Schema AD for custom attribute Posted on February 3, 2011 by dpejic If for example you're asked to add a new attribute to the user class in your Domain, you can do this by modifying your AD Schema. Modifying AD schema is not always about adding new attributes, you can also add new class or modify existing ones and also activate or deactivate class and attributes. Before…