- 203
- 542 338
InfoAlias
India
Приєднався 7 вер 2013
InfoAlias
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
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...
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
Very useful
Really useful!
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!
Awesome. Thanks. This saved me.
Glad it helped!. Kindly subscribe and share with others.
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
Can you please share the MySQL path.
Thanks Fam
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)
open the cmd with run as administrator
Thank you so much for your concise instruction. Very helpful.
Thanks for watching. Please share with others and subscribe
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!
Glad it was helpful!. Please subscribe and share with others
'mysqld' is not recognized as an internal or external command, operable program or batch file. above error is coming how to solve?
In cmd, try to go in the MySQL installation path and check the command
you are a king..
Thanks for appreciation...you can visit www.infoalias.com for tech blog's
It is really helpful!
thanks for commenting.....Please share with others.
👍
thanks, very useful
Glad it was helpful!.. Pleaseshare with others.
unfortunately, this didn't work for me. :( Maybe this doesn't work anymore?
@@ronilrufo2661 what exactly your error is. Please send this
You can not disable Store using Group Policy in Windows 11 Pro. It works only in Windows 11 Enterprise and Education editions.
try this WinStore.App.exe for blocking in windows 11 pro as well
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?
# 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"
@@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!
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 ?
Thank you so much!
Thanksgiving.....please share with others as well.
Thanks sir
Always welcome.. please share with other's
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?
thank you bro
@@aminex0 thanks for watching, please share with others
Need ps command for AD account extension for 90days and AD account enable for bulk users
ua-cam.com/video/-K_H0kMJRiA/v-deo.html
Thanks easy to change computer name
great, it has worked fine. I applied it.
Good to know.. share with others...
Thankyou so much sir
Thank you🤗 it worked
You're welcome!
Hi again!! I'm having a error msg "Access denied for user ------@'localhost' (using password: YES)
Hope you have opened cmd in run as administrator
@@InfoAlias yes I did
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 😢
Watch the complete video. All steps are mentioned.
Thank you !
Thanks Master.... Kindly share with others.. cheers
this works thanks! had me frustrated for awhile
Good to know... 👍
dont worked in my mysql8.0
try to follow the complete steps . This will work for 8.0 as well.
I need some related about this
Local AD is dated. Maybe you have some videos that are related to Azure Identity, Conditional access etc
Good one
Thanks
You the man 🤌🏼
Thanks..
success thankyou
great, kindly share with others.......
How to move selected accounts only?, not all accounts in the OU. Can you make a script for that
Sure, tell me do we have any similarities for all the computers accounts which you want to move.
ua-cam.com/video/TuOWdAii0uY/v-deo.html
Just check video for moving selected computers or condition based computers in specific OU
you can move the accounts as per their department
why tick shadow copy?
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.
can we export extensionAttribute in this ?
Yes
How to integrate Trellix (Mcafee) DLP to SIEM
Great, now how do we remove the expiration date?
Thank you!
Thanks for watching this video. Kindly share with others.
Thanks
I have the error "Class not registered", do you know what it could be?
Thanks a lot, mate:)
Hi i have a macbook, and cant locate the .lck file
Bro in my Amazon ec2 bar code not showing please suggest anything
Brother what if the 1st column in input file is employeeID? How to write the code then?
Employee I'd can be used in any column . Can you please share the errors
Yes actually after running the script it is asking as below “supply values for the following parameters: Name : “ Like the above
@@prashanthshanmugam5574 If you want to add Employee ID, you can use $EmployeeID = $user.empolyeeID and also mention the attribute in CSV file EmployeeID
@@InfoAlias yes i did the same.May be there is some issues with input contents.Anyway,Thanks much for your response.✨
What about patching of ms application
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.
THANK YOU VERY MUCHH SIR I HAVE ASSIGNMENT THAT NEED TO BE COMPLETED IN 3 HOURS THIS IS REALLY HELPFUL
Best of luck for your assignment........................