InfoAlias
InfoAlias
  • 203
  • 542 338
DSRM password reset
Open Command Prompt with Administrative Privileges:
Click on the Start menu, type cmd, right-click on Command Prompt, and select Run as administrator.
Use the ntdsutil command:
In the Command Prompt, type ntdsutil and press Enter.
Activate the command set dsrm password:
Type set dsrm password and press Enter.
Specify the server:
Type reset password on server ServerName with the actual name of your server and press Enter.
If you want to reset the password on the local server, you can type reset password on server null instead.
Enter the new password:
You will be prompted to enter the new DSRM password. Enter the password, press Enter, and then confirm the password.
Exit ntdsutil:
Type quit multiple times until you exit the utility.
Restart the Server:
After changing the DSRM password, it’s advisable to restart your server.
In this video I am changing the password for local server so we have used the command reset password on server null
Переглядів: 42

Відео

MinGW installation and configuration in windows 11
Переглядів 106Місяць тому
In this video I have followed the process for mingw installation and configuring environment variable. MinGW (Minimalist GNU for Windows) is a development environment for creating Microsoft Windows applications. It provides a minimalist development environment for native Microsoft Windows applications by offering: GCC (GNU Compiler Collection): This includes compilers for C, C , and other langu...
enabling bulk ad users with PowerShell script
Переглядів 80Місяць тому
In this video, I am using a PowerShell script for enabling ad users which are mentioned in a csv file. This csv file will be called in this script and read all users and check the enabled status. Make sure to adjust the path to your CSV file accordingly. Run the script in a PowerShell session with administrative privileges. The Active Directory module needs to be installed on your system. You c...
Windows Security in windows 11
Переглядів 78Місяць тому
The Windows Security dashboard provides an overview and easy access to all these features, ensuring you can manage and configure the security settings effectively. These security features and settings in Windows 11 provide a comprehensive approach to protecting your system from various threats, ensuring a safe and secure computing experience. #windows #windows11 #windowstutorials #tech #microsoft
active directory users and computer count Powershell | Windows server 2025
Переглядів 682 місяці тому
To count the number of active users in Active Directory using PowerShell, you can use the following command: Get-ADUser -Filter {Enabled -eq $true} | Measure-Object | Select-Object -ExpandProperty Count To count the number of enabled computers in Active Directory using PowerShell, you can use the following command: Get-ADComputer -Filter {Enabled -eq $true} | Measure-Object | Select-Object -Exp...
rename server name in windows server 2025
Переглядів 352 місяці тому
In this video I have renamed computer name using graphical and PowerShell method with explanation
Active Directory installation | Windows server 2025 Preview
Переглядів 822 місяці тому
In this video, I am installing and configuring active directory domain services. As active directory provides a centralized identity and access management for IT infrastructure. Windows server 2025 provides two forest and domain functional level including windows server 2016 and windows server 2025. #server2025 #windowsserver2025 #activedirectory #windowsserver
Windows server 2025 Preview
Переглядів 1082 місяці тому
In this video, I am installing windows server 2025 in vmware workstation, This is a upcoming windows server operating system from Microsoft. This operating system UI is much closer to Windows 11.
Bulk users move with condition check using powershell
Переглядів 603 місяці тому
To create a PowerShell script that searches for all enabled users with the department matching "Marketing" and moves them to a specific Organizational Unit (OU) named "Marketing", you can use the Active Directory module for PowerShell. #powershell #powershellscript #activedirectory #automation #script Explanation: Import-Module ActiveDirectory: Loads the Active Directory module. $targetOU: Spec...
Conditional AD computer moves using powershell
Переглядів 603 місяці тому
Using PowerShell to automate the movement of computer objects in Active Directory not only saves time but also ensures consistency and reduces the chance of human error. In this video, I am moving all computers with two conditions including computers name start with DEL and should be enabled and post filtering these comptuers, this will be moved in DEL organizational unit.
Bulk User password change powershell script
Переглядів 3805 місяців тому
#powershellscript #powershell #script In this video, I have used powershell scripts for changing the password for multiple users. In the first powershell script, using predefined passwords for users in CSV file. In the second powershell script only specifying users and passwords willbe generated automatically. You can copy the powershell script on my blog website : www.infoalias.com/bulk-user-p...
root user in ubuntu linux
Переглядів 865 місяців тому
root user in ubuntu linux
Openssh Server for Windows Server
Переглядів 1827 місяців тому
Openssh Server for Windows Server
Export all disabled users with PowerShell script
Переглядів 1487 місяців тому
Export all disabled users with PowerShell script
Module upgrade power on failed issue in VMware workstation
Переглядів 1 тис.8 місяців тому
Module upgrade power on failed issue in VMware workstation
Audit Policy configuration in windows server
Переглядів 1258 місяців тому
Audit Policy configuration in windows server
Bulk Computers movement in OU's based on name condition
Переглядів 1598 місяців тому
Bulk Computers movement in OU's based on name condition
Account expiry for bulk users in active directory with powershell script
Переглядів 4049 місяців тому
Account expiry for bulk users in active directory with powershell script
Key based authentication for ssh login in linux
Переглядів 1559 місяців тому
Key based authentication for ssh login in linux
Blocking Microsoft Store group policy
Переглядів 1,2 тис.9 місяців тому
Blocking Microsoft Store group policy
Nested group member list PowerShell script
Переглядів 3099 місяців тому
Nested group member list PowerShell script
Self-Signed Certificate creation using PowerShell
Переглядів 1,6 тис.10 місяців тому
Self-Signed Certificate creation using PowerShell
Baseline hardening best practices for servers
Переглядів 33510 місяців тому
Baseline hardening best practices for servers
AWS s3 sync PowerShell scripts for multiple folders | PowerShell for Sync of Local Data with AWS S3
Переглядів 44410 місяців тому
AWS s3 sync PowerShell scripts for multiple folders | PowerShell for Sync of Local Data with AWS S3
Multiple port connectivity PowerShell script | All ad ports with single powershell script
Переглядів 28511 місяців тому
Multiple port connectivity PowerShell script | All ad ports with single powershell script
Shared drives inventory with Powershell script
Переглядів 301Рік тому
Shared drives inventory with Powershell script
Basic PowerShell commands for windows machines
Переглядів 200Рік тому
Basic PowerShell commands for windows machines
Export all Folders names using powershell script
Переглядів 703Рік тому
Export all Folders names using powershell script
AD group membership based on email address
Переглядів 319Рік тому
AD group membership based on email address
Tomcat Apache Service restart rights for domain user without assigning local admin rights
Переглядів 338Рік тому
Tomcat Apache Service restart rights for domain user without assigning local admin rights

КОМЕНТАРІ

  • @emmanuelirhivboje495
    @emmanuelirhivboje495 5 днів тому

    Very useful

  • @navaneethakrishnan6456
    @navaneethakrishnan6456 6 днів тому

    Really useful!

    • @InfoAlias
      @InfoAlias 6 днів тому

      Thank you so much for your support! Please don't forget to subscribe and share with others. Your appreciation really motivates me to create more valuable content!

  • @unit7300
    @unit7300 7 днів тому

    Awesome. Thanks. This saved me.

    • @InfoAlias
      @InfoAlias 7 днів тому

      Glad it helped!. Kindly subscribe and share with others.

  • @hinduja.b4638
    @hinduja.b4638 8 днів тому

    Excuse me, sir. Two years ago, I downloaded MySQL, but I have forgotten the current password. I have uninstalled and reinstalled it several times, but it keeps asking for the current password. I watched your video, and the first step you mentioned was to stop the service, but I cannot find the MySQL service option on my system....please give me one solution sir

    • @InfoAlias
      @InfoAlias 7 днів тому

      Can you please share the MySQL path.

  • @sumanthkasi4221
    @sumanthkasi4221 9 днів тому

    Thanks Fam

  • @afnanali6274
    @afnanali6274 9 днів тому

    C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql.exe -uroot -p Enter password: ***** ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

    • @InfoAlias
      @InfoAlias 9 днів тому

      open the cmd with run as administrator

  • @michaeladekeye8565
    @michaeladekeye8565 14 днів тому

    Thank you so much for your concise instruction. Very helpful.

    • @InfoAlias
      @InfoAlias 14 днів тому

      Thanks for watching. Please share with others and subscribe

  • @johnslaymaker
    @johnslaymaker 15 днів тому

    Very helpful, thank you! I've been looking for days for anyone actually walking us through how to do this but no one else does. Glad I finally found your channel!

    • @InfoAlias
      @InfoAlias 15 днів тому

      Glad it was helpful!. Please subscribe and share with others

  • @PranavRathod-h8m
    @PranavRathod-h8m 20 днів тому

    'mysqld' is not recognized as an internal or external command, operable program or batch file. above error is coming how to solve?

    • @InfoAlias
      @InfoAlias 20 днів тому

      In cmd, try to go in the MySQL installation path and check the command

  • @furkis33
    @furkis33 20 днів тому

    you are a king..

    • @InfoAlias
      @InfoAlias 20 днів тому

      Thanks for appreciation...you can visit www.infoalias.com for tech blog's

  • @frankli3249
    @frankli3249 21 день тому

    It is really helpful!

    • @InfoAlias
      @InfoAlias 21 день тому

      thanks for commenting.....Please share with others.

  • @baljeetmathur9982
    @baljeetmathur9982 23 дні тому

    👍

  • @AdityaKumar2128
    @AdityaKumar2128 29 днів тому

    thanks, very useful

    • @InfoAlias
      @InfoAlias 29 днів тому

      Glad it was helpful!.. Pleaseshare with others.

  • @ronilrufo2661
    @ronilrufo2661 Місяць тому

    unfortunately, this didn't work for me. :( Maybe this doesn't work anymore?

    • @InfoAlias
      @InfoAlias Місяць тому

      @@ronilrufo2661 what exactly your error is. Please send this

  • @RavinderSingh-vh2pp
    @RavinderSingh-vh2pp Місяць тому

    You can not disable Store using Group Policy in Windows 11 Pro. It works only in Windows 11 Enterprise and Education editions.

    • @InfoAlias
      @InfoAlias Місяць тому

      try this WinStore.App.exe for blocking in windows 11 pro as well

  • @spinmaster0
    @spinmaster0 Місяць тому

    This worked for me. Thanks! 😁 Question - how do we output the results to a csv file, confirming the expiry date that we set to each user?

    • @InfoAlias
      @InfoAlias Місяць тому

      # Import the Active Directory module Import-Module ActiveDirectory # Specify the path to the CSV file containing user information $csvFilePath = "C:\Path\To\Your\Users.csv" # Specify the path for the output CSV file $outputCsvFilePath = "C:\Path\To\Your\Output.csv" # Read user information from the CSV file $userData = Import-Csv $csvFilePath # Initialize an array to store output data $outputData = @() # Function to set account expiration date for AD user and return the result function Set-ADUserExpiryDate { param ( [string]$username, [int]$daysToAdd ) $user = Get-ADUser -Identity $username if ($user) { $expiryDate = (Get-Date).AddDays($daysToAdd) Set-ADAccountExpiration -Identity $username -DateTime $expiryDate # Prepare the output object $outputObject = [PSCustomObject]@{ Username = $username ExpiryDate = $expiryDate Status = "Success" } } else { # Prepare the output object for a user not found case $outputObject = [PSCustomObject]@{ Username = $username ExpiryDate = $null Status = "User not found" } } # Return the output object return $outputObject } # Loop through each user in the CSV and set the expiration date foreach ($user in $userData) { $result = Set-ADUserExpiryDate -username $user.Username -daysToAdd 2 $outputData += $result } # Export the output data to a CSV file $outputData | Export-Csv -Path $outputCsvFilePath -NoTypeInformation Write-Host "The operation is complete. Results saved to $outputCsvFilePath"

    • @spinmaster0
      @spinmaster0 Місяць тому

      @@InfoAlias Great! I couldn't get mine to work - I can only get the output to show on the console. This one works - it does give an error message for the names it cannot find, but as long as it feeds the names into the csv file, I am happy. Nice one!

  • @todorhristov2734
    @todorhristov2734 Місяць тому

    I get "C:\Program Files\MySQL\MySQL Server 8.0\bin>mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server 8.0\my.ini" --init-file="C:\ eset.txt mysqld: [ERROR] Failed to open required defaults file: C:\Program Files\MySQL\MySQL Server 8.0\my.ini mysqld: [ERROR] Fatal error in defaults handling. Program aborted!" I don`t have my.ini file in mySQL Server 8.0 folder what is it for and is it important ? Should i just cut the command to mySQL Server 8.0 and be done ?

  • @AAABBBOP608
    @AAABBBOP608 Місяць тому

    Thank you so much!

    • @InfoAlias
      @InfoAlias Місяць тому

      Thanksgiving.....please share with others as well.

  • @priyanshugupta6396
    @priyanshugupta6396 Місяць тому

    Thanks sir

    • @InfoAlias
      @InfoAlias Місяць тому

      Always welcome.. please share with other's

  • @this-nerd
    @this-nerd Місяць тому

    Thank you for this! This saved me when I was exporting group and member lists from a company with over 1000 employees. Do you know how to add displayName and mail to this script? I tried adding "$memberList = Get-ADGroupMember -Identity $group.Name | Select-Object SamAccountName, displayName, mail" and $output = """$($group.Name)"",""$($member.SamAccountName)"",""$($member.displayName)"",""$($member.mail)""" but no luck, is there something I am missing?

  • @aminex0
    @aminex0 2 місяці тому

    thank you bro

    • @InfoAlias
      @InfoAlias 2 місяці тому

      @@aminex0 thanks for watching, please share with others

  • @KiranKumar-wd6sm
    @KiranKumar-wd6sm 2 місяці тому

    Need ps command for AD account extension for 90days and AD account enable for bulk users

    • @InfoAlias
      @InfoAlias Місяць тому

      ua-cam.com/video/-K_H0kMJRiA/v-deo.html

  • @baljeetmathur9982
    @baljeetmathur9982 2 місяці тому

    Thanks easy to change computer name

  • @amitavapradhan3509
    @amitavapradhan3509 2 місяці тому

    great, it has worked fine. I applied it.

    • @InfoAlias
      @InfoAlias 2 місяці тому

      Good to know.. share with others...

  • @Technologyvaleguru
    @Technologyvaleguru 2 місяці тому

    Thankyou so much sir

  • @dornaimani
    @dornaimani 2 місяці тому

    Thank you🤗 it worked

    • @InfoAlias
      @InfoAlias 2 місяці тому

      You're welcome!

  • @veetoria-toms
    @veetoria-toms 2 місяці тому

    Hi again!! I'm having a error msg "Access denied for user ------@'localhost' (using password: YES)

    • @InfoAlias
      @InfoAlias 2 місяці тому

      Hope you have opened cmd in run as administrator

    • @veetoria-toms
      @veetoria-toms 2 місяці тому

      @@InfoAlias yes I did

  • @veetoria-toms
    @veetoria-toms 2 місяці тому

    Hi, thank you for your video, but how do I create the text file to input the new password? I can't seem to get it 😢

    • @InfoAlias
      @InfoAlias 2 місяці тому

      Watch the complete video. All steps are mentioned.

  • @iGustavoMaster
    @iGustavoMaster 2 місяці тому

    Thank you !

    • @InfoAlias
      @InfoAlias 2 місяці тому

      Thanks Master.... Kindly share with others.. cheers

  • @jeremydavidson7559
    @jeremydavidson7559 2 місяці тому

    this works thanks! had me frustrated for awhile

    • @InfoAlias
      @InfoAlias 2 місяці тому

      Good to know... 👍

  • @DorivalAfonsoCardoso
    @DorivalAfonsoCardoso 2 місяці тому

    dont worked in my mysql8.0

    • @InfoAlias
      @InfoAlias 2 місяці тому

      try to follow the complete steps . This will work for 8.0 as well.

  • @Technologyvaleguru
    @Technologyvaleguru 3 місяці тому

    I need some related about this

  • @mikee101
    @mikee101 3 місяці тому

    Local AD is dated. Maybe you have some videos that are related to Azure Identity, Conditional access etc

  • @priyankasah354
    @priyankasah354 3 місяці тому

    Good one

  • @Afifmedia
    @Afifmedia 3 місяці тому

    You the man 🤌🏼

  • @belajarcloud3546
    @belajarcloud3546 3 місяці тому

    success thankyou

    • @InfoAlias
      @InfoAlias 3 місяці тому

      great, kindly share with others.......

  • @anthonyandres2833
    @anthonyandres2833 3 місяці тому

    How to move selected accounts only?, not all accounts in the OU. Can you make a script for that

    • @InfoAlias
      @InfoAlias 3 місяці тому

      Sure, tell me do we have any similarities for all the computers accounts which you want to move.

    • @InfoAlias
      @InfoAlias 3 місяці тому

      ua-cam.com/video/TuOWdAii0uY/v-deo.html

    • @InfoAlias
      @InfoAlias 3 місяці тому

      Just check video for moving selected computers or condition based computers in specific OU

    • @InfoAlias
      @InfoAlias 3 місяці тому

      you can move the accounts as per their department

  • @syafiq3543
    @syafiq3543 3 місяці тому

    why tick shadow copy?

    • @InfoAlias
      @InfoAlias 3 місяці тому

      This is very important in the process of converting physical to virtual. If you don't select it, you will only get files from the live volume instead of the shadow copy.

  • @deepakburhade5510
    @deepakburhade5510 3 місяці тому

    can we export extensionAttribute in this ?

  • @krishnavishwakarma5965
    @krishnavishwakarma5965 3 місяці тому

    How to integrate Trellix (Mcafee) DLP to SIEM

  • @bproducer
    @bproducer 3 місяці тому

    Great, now how do we remove the expiration date?

  • @TharinduUdakara
    @TharinduUdakara 3 місяці тому

    Thank you!

    • @InfoAlias
      @InfoAlias 3 місяці тому

      Thanks for watching this video. Kindly share with others.

  • @sssniper-hz7xw
    @sssniper-hz7xw 3 місяці тому

    Thanks

  • @renan.rodrigues27
    @renan.rodrigues27 3 місяці тому

    I have the error "Class not registered", do you know what it could be?

  • @mayzter8765
    @mayzter8765 3 місяці тому

    Thanks a lot, mate:)

  • @WealthMasters28
    @WealthMasters28 4 місяці тому

    Hi i have a macbook, and cant locate the .lck file

  • @saurabhjain8904
    @saurabhjain8904 4 місяці тому

    Bro in my Amazon ec2 bar code not showing please suggest anything

  • @prashanthshanmugam5574
    @prashanthshanmugam5574 4 місяці тому

    Brother what if the 1st column in input file is employeeID? How to write the code then?

    • @InfoAlias
      @InfoAlias 4 місяці тому

      Employee I'd can be used in any column . Can you please share the errors

    • @prashanthshanmugam5574
      @prashanthshanmugam5574 4 місяці тому

      Yes actually after running the script it is asking as below “supply values for the following parameters: Name : “ Like the above

    • @InfoAlias
      @InfoAlias 4 місяці тому

      @@prashanthshanmugam5574 If you want to add Employee ID, you can use $EmployeeID = $user.empolyeeID and also mention the attribute in CSV file EmployeeID

    • @prashanthshanmugam5574
      @prashanthshanmugam5574 4 місяці тому

      @@InfoAlias yes i did the same.May be there is some issues with input contents.Anyway,Thanks much for your response.✨

  • @SakhaTivhale
    @SakhaTivhale 4 місяці тому

    What about patching of ms application

    • @InfoAlias
      @InfoAlias 4 місяці тому

      this will not stop if using third party patching in enterprise like sccm, manageengine or ivanti, this policy help you to prohibit to install like whatsapp, facebook, games applications from micrsoft store.

  • @viniemeralda3395
    @viniemeralda3395 4 місяці тому

    THANK YOU VERY MUCHH SIR I HAVE ASSIGNMENT THAT NEED TO BE COMPLETED IN 3 HOURS THIS IS REALLY HELPFUL

    • @InfoAlias
      @InfoAlias 4 місяці тому

      Best of luck for your assignment........................