netnerds.net
Home
Book
Links icon
Data Platform GitHub Org GitHub Profile GitHub Star Profile MVP Profile Twitch
About
Subscribe
  • AD: Quickly Determine OU of User using VBScript

    Nov 16, 2006 · 2 min read  ·
    Share on:

    I'm working on a few Active Directory scripts that require knowing the full path or "distinguished name" of the user object. All I know initially is the username and domain name and I found a script at Hey, Scripting Guy! that is really useful -- it searches AD for the user's OU information. The only problem …


    Read More
  • Active Directory: VPN and Windows Cached Credentials

    Oct 31, 2006 · 1 min read  ·
    Share on:

    If you are on Active Directory and your VPN Software does not set the DNS servers to your local Domain Controllers, you may encounter the following error: The system has detected a possible attempt to compromise security. Please ensure you can contact the server that authenticated you. This appears to be some sort of …


    Read More
  • Active Directory: Time Sync All DCs

    Oct 17, 2006 · 1 min read  ·
    Share on:

    Near as I can figure, AD automatically sets each DC to sync time with the master DC. In order to make sure the master DC has the proper time and is set to be an available & reliable time source, run the following commands:NET TIME /SETSNTP:time.windows.com NET STOP W32TIME NET START W32TIME W32TM /config …


    Read More
  • ADMT: Migration Order

    Aug 15, 2006 · 1 min read  ·
    Share on:

    I'll have a more complete list later, but here is the order the network admins at work have figured out works best when using the Active Directory Migration tool to migrate from NT 4 to Server 2003 (be sure to check the rest of the blog for other scripts which are necessary when using ADMT): 1. User with SID (/Groups …


    Read More
  • AD: Change Default Login Domain after Migration

    Jul 28, 2006 · 2 min read  ·
    Share on:

    When adding a trusted domain or migrating computers to a new domain, the login prompt often defaults to the old domain or the name of the workstation. This can cause confusion for users who are often confused about computers by default ;) In order to make their lives easier, you can set their default login domain by …


    Read More
  • VBSCRIPT: Add New Domain's Admins to Local Administrators Programmatically

    Jul 28, 2006 · 3 min read  ·
    Share on:

    In order for Active Directory Migration Tool (ADMT) to install its Agent on a newly migrated computer, the user running the ADMT tool must have local Administrator access. Otherwise, the error log shows something similar to the following: WRN1:7290 Processor architecture for machine \NT4MACHINE is unknown, Error …


    Read More
  • ADMT: Auto-Expired Password Clean-Up

    Jul 14, 2006 · 1 min read  ·
    Share on:

    I'm using Microsoft's Active Directory Migration Tool to migrate users from an NT 4.0 Domain to a Win2k3 Domain. The process seems mostly flawless so far except that the password settings (not the password itself) are lost after migrating the users and their passwords. Suddenly, all migrated users on the new domain …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • »
    • »»

Chrissy LeMaire

SQL & PowerShell MVP. GitHub Star. Creator of dbatools. Need to oil my knees.

dbatools book

Now available in bookstores and amazon 🥳 Buy it at manning.com for 50% off with code bldbatools50

dbatools

dbatools is an awesome PowerShell module that helps you migrate entire instances with a single command, plus a whole lot more.

available from dbatools.io and github

dbachecks

dbachecks validates SQL Server environments using crowdsourced DBA checklists and outputs to Power BI and is available on github.com 📊

Find me

Find me on Mastodon

recent posts

  • Making VS Code Themes with ChatGPT
  • Update-Module dbatools Authenticode Issuer Error
  • Install-DbaMaintenanceSolution now supports auto-scheduling
  • [Solved] OmniSharp RpcErrorException in VS Code Dev Containers for PowerShell-based Azure Functions
  • Exploring GitHub Copilot Chat
  • Offline Installation of dbatools 2.0 with the dbatools.library Dependency
  • New Encryption and Certificate Defaults in Microsoft's SQL Server Connection Provider
  • What's new and different in dbatools 2.0

categories

sql-server 122 powershell 117 general 63 security 60 windows 47 sharepoint 41 active-directory 37 linux 31 networking 30 vbscript 30 apple 24 virtualization 22 iis 19 github 8 apache 7
All Categories
active-directory37 ai1 apache7 apple24 asp-net2 azure-functions1 bi4 db24 devcontainers1 exchange7 general63 github8 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell117 security60 sharepoint41 sql-server122 vbscript30 virtualization22 windows47 wpf7
[A~Z][0~9]
 

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved