• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

danblee.com

Tutorials & Knowledge Base Articles for System Administrators who wear many, many hats.

  • Home
  • About
  • Ask Me
  • DBLHost.com
You are here: Home / Archives for Dan B. Lee

Dan B. Lee

The “do something to all machines” PowerShell Script

January 6, 2021 by Dan B. Lee Leave a Comment

On a domain? You can do something to all machines on a domain with this quick little script here. Your best bet is to open up an elevated (admin) Powershell Prompt on a domain controller and then run that here: Get-ADComputer –filter * | foreach { < do the thing > } Here are some examples that have really helped me in my administrative journeys: Force GPUpdate for all machines on the domain: Get-ADComputer –filter * | foreach { Invoke-GPUpdate –computer $_.name -force } Force … [Read more...] about The “do something to all machines” PowerShell Script

Filed Under: Active Directory, Group Policy, PowerShell Tagged With: Active Directory, Domains, PowerShell, Scripting

Updating NTP Servers in vCenter 6.7

September 15, 2020 by Dan B. Lee Leave a Comment

Time servers can be a pain. In this case, once completing a vCenter upgrade from 6.5 to 6.7, I noticed the time wasn't syncing. It took a bit to find where to update the NTP servers and enable the NTP service for vCenter. Here's how to do that: Log into vCenter and head to Menu > Administration > Deployment > System Configuration. Click on the LOGIN button for the vCenter you'd like to administer. This will take you to the Appliance settings. Log into the Appliance Head to … [Read more...] about Updating NTP Servers in vCenter 6.7

Filed Under: Virtualization, VMware Tagged With: NTP Server, Time Sync, vcenter, vsphere

Error during dcpromo: “The source server is currently rejecting replication requests”

January 20, 2020 by Dan B. Lee Leave a Comment

Problem You cannot demote a domain controller using dcpromo. You receive the following error: Resolution There's a good chance your Domain Controller has an important service not running or, most likely, replication has been disabled for some reason. Here are some quick things you can do to test: In your source domain controller, head to Active Directory Sites and Services Expand the sites until you find the server you are trying to demote. Right click the NTDS settings under … [Read more...] about Error during dcpromo: “The source server is currently rejecting replication requests”

Filed Under: Active Directory, Windows Server 2008 R2 Tagged With: Active Directory, ADDS, dcpromo, Domain Controller, Domain Controller Error, NTDS

Powershell script won’t run portion requiring Excel in Scheduled Task

September 26, 2019 by Dan B. Lee Leave a Comment

Some of the scripting I've recently done requires Excel to be launched (non interactively) on a domain controller to gather usernames and whatnot. For some reason, the entire script would work perfectly besides the portion that requires Excel. I could run the script as an admin in ISE and it would work, but not via the Task Scheduler. Here's the fix: Create these two folders on your server: C:\Windows\System32\config\systemprofile\Desktop … [Read more...] about Powershell script won’t run portion requiring Excel in Scheduled Task

Filed Under: Microsoft Excel, Microsoft Office, PowerShell Tagged With: Excel, PowerShell, Scripting, Task Scheduler

Exchange: Export a list of all public facing distribution groups

February 6, 2019 by Dan B. Lee Leave a Comment

Public facing isn't the right term here. It simply means that the authentication requirement to send mail to the distro has been disabled to give anyone anywhere the ability to send an email to it. That makes it publicly accessible. If you want a list of all of the distribution groups that have the authentication requirement disabled you can use this little one-liner. Open Exchange Management Shell as an Administrator and type the following: Get-DistributionGroup | ? … [Read more...] about Exchange: Export a list of all public facing distribution groups

Filed Under: Exchange 2003, Exchange 2010, Exchange 2013, Microsoft Windows, PowerShell Tagged With: Exchange, Exports, Microsoft Exchange Server, PowerShell, Scripting, scripts

How to tell if a machine is physical or virtual

January 7, 2019 by Dan B. Lee Leave a Comment

Run the following command in a windows prompt: SYSTEMINFO If the machine is virtual, you'll see references to either Microsoft Hyper-V or VMware, Inc. If it is physical you'll see references to popular manufacturers. See in the screenshot below how the System Model specifically says "Virtual Machine" in the details: … [Read more...] about How to tell if a machine is physical or virtual

Filed Under: Uncategorized Tagged With: Hyper-V, virtualization

Windows Server 2012 Login Issue “The User Profile Service service failed the sign-in. User profile cannot be loaded.”

December 27, 2018 by Dan B. Lee Leave a Comment

Problem: When you log in you get an error that says the user profile service failed the sign on because the user profile cannot be loaded. Resolution: This typically happens because of a permissions issues on the Default folder. Browse to the folder by heading to \\SERVERNAME\C$\Users\DefaultRight click the folder and go to Security > Advanced From there, check the box at the bottom that says "Replace all child permission entries with inheritable permission entries from this … [Read more...] about Windows Server 2012 Login Issue “The User Profile Service service failed the sign-in. User profile cannot be loaded.”

Filed Under: Uncategorized

Citrix NetScaler LDAP Reachability Test Fails: “Either ‘server’ is not an LDAP server or port ‘389’ is not an LDAP Port

September 26, 2018 by Dan B. Lee Leave a Comment

Symptoms: Your Citrix NetScaler (Or perhaps other devices testing LDAP or trying to communicate via TLS\SSL) can complete a TLS connection test to Domain Controllers or other LDAP servers just fine, but there is a server that is failing the test and throwing the error below: Here are some knowns: The test is right: port 389 is open, is responding, and other tests to that server are just fine.The server itself is reachable.You know that LDAP is responding and there truly doesn't seem … [Read more...] about Citrix NetScaler LDAP Reachability Test Fails: “Either ‘server’ is not an LDAP server or port ‘389’ is not an LDAP Port

Filed Under: Citrix XenApp, Uncategorized, Windows Server, Windows Server 2012 Tagged With: Netscaler, TSL

Uninstall an AD LDS Instance

September 26, 2018 by Dan B. Lee Leave a Comment

Here's a quick way to uninstall any Active Directory Lightweight Directory Service Instance that you may have previously installed. All installations can be found in Programs & Features. They can be uninstalled by heading there, just as you would uninstall an app there.Head to Control Panel and click on Programs and FeaturesFind the instance name you'd like to uninstall and choose to uninstall, let the script run and you're done. Nice and easy, no big scripts or no special commands. … [Read more...] about Uninstall an AD LDS Instance

Filed Under: Uncategorized, Windows Server, Windows Server 2008 R2, Windows Server 2012 Tagged With: Active Directory, AD LDS, Removal, Uninstall

How to remove old drivers from Windows 10

August 8, 2018 by Dan B. Lee Leave a Comment

There are a few ways you can remove drives that are no longer in use, but the easiest way to is to head into the Device Manager and remove the ones that aren't currently doing anything. The trouble is, you can't see them. Here's how to see them and then uninstall them: Open a command prompt and type the following: SET DEVMGR_SHOW_NONPRESENT_DEVICES=1 From there, you can then open Device Manager by right clicking on the windows icon at the bottom right and choosing Device Manager. You … [Read more...] about How to remove old drivers from Windows 10

Filed Under: Uncategorized

Next Page »

Primary Sidebar

Categories

  • Active Directory
    • Group Policy
  • Adobe Photoshop
  • Browsers
    • Chrome
  • Cloud Based Technology
    • Citrix XenApp
  • ConnectWise
    • LabTech
  • Dell
  • Internet Service Providers (ISPs)
  • iPhone
  • Linux
    • CentOS
    • OpenVPN
    • SaltStack
    • Ubuntu
  • Microsoft Office
    • Lync
    • Microsoft Excel
    • Microsoft Outlook
    • Microsoft Word
  • Microsoft Windows
    • Active Directory
    • PowerShell
    • Windows 7
    • Windows 8 Preview & Release
  • Networks
  • News
  • Off Topic
  • Office 365
  • Peripherals
    • Monitors
  • Printers
    • Local Printers
    • Network Printers
  • Programming
    • Python
  • Riverbed
  • Security
  • Sharepoint
  • Social Media
  • Splunk
  • Storage
  • Switching & Routing
    • Cisco
    • Fortinet
  • Technology Culture
    • Opinion
  • Uncategorized
  • Virtualization
    • VEEAM
    • VMware
  • WAMP
  • Web Hosting
    • WHMCS
  • Website Design
  • Windows Server
    • Exchange 2003
    • Exchange 2010
    • Exchange 2013
    • Microsoft SQL
    • Windows Server 2003
    • Windows Server 2008 R2
    • Windows Server 2012
  • WordPress

Footer

Recent Activity

  • pings on Xerox Phaser 3635MFP Default Admin Username and Password
  • Xerox Phaser 3635MFP Default Admin Username and Password — danblee.com on About Dan B. Lee
  • Estudio Login | LOGINEGG on Toshiba E-Studio Default Administrator Username and Password
  • Estudio Login | LOGINSPENT on Toshiba E-Studio Default Administrator Username and Password
  • Estudio Login | CHARTLOGIN on Toshiba E-Studio Default Administrator Username and Password

Dan Lee

Dan B. Lee works at SyApps, LLC., a Managed Hosting Solutions Firm, as a Senior Network Engineer. Dan has a decade of IT experience and specializes in a number of different disciplines including Virtualization, Web Site Hosting and Design, Network Security, Data Center Architecture, Local and Remote Server Hosting, and Backup & DRS Solutions. Read More…

Links

  • Home
  • About Dan B. Lee
  • Ask Me
  • Privacy Policy

Copyright © 2021 · Genesis Child Theme on Genesis Framework · WordPress · Log in