To solve the problem for run on script that is not digitally signed:
Command: powershell.exe -ExecutionPolicy ByPass -command "XXXXXXXXXX"
Check at Windows 2012 R2
by GoN | Published: September 18, 2017 | Last Updated:
Gonsystem: Windows - Linux - Servers - Redes - Cisco - Comunicaciones - Monitorización - Seguridad - Seguridad
lunes, 18 de septiembre de 2017
jueves, 14 de septiembre de 2017
WINDOWS. PS. Event Viewer. Search Events
If you have some Domain Controlers and you need look for a special event, you can use this command:
[ ] Search for ALL domain controllers
COMMAND: Get-Eventlog –ComputerName ([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()).FindDomainController() “Security” -InstanceID “4740” -Message *”USERNAME”* | Format-List Timegenerated, Message
[ ] Search for one domain controllers
COMMAND: Get-Eventlog -ComputerName xxxxDC01 “Security” -InstanceID “4769” | Format-List Timegenerated, Message
Other options are use the Windows event forwarder. http://gonsystem.blogspot.com.es/2016/07/windows-suscripciones-y-envio-de.html
REF: http://jeffwouters.nl/index.php/2012/05/powershell-searching-for-the-cause-of-a-user-account-that-keeps-getting-locked-out/
Check at Windows 2012 R2
by GoN | Published: September 14, 2017 | Last Updated:
by GoN | Published: September 14, 2017 | Last Updated:
martes, 12 de septiembre de 2017
WINDOWS. SPAIN change special character Ñ at username
In Spanish keyboard there one special character the "ñ" .
When you need change the this character in one user, the system report one error and don't to does the change.
A simple trick can help us.
Example. User: España
If you change the character "ñ" for "n" you recived this error
When you need change the this character in one user, the system report one error and don't to does the change.
A simple trick can help us.
Example. User: España
If you change the character "ñ" for "n" you recived this error
For solve the problem firt you need change the "ñ" by other character and press "Apply"
Later you can change "other character" by one "n"
Check at Windows 2012 R2
by GoN | Published: September , 2017 | Last Updated:
by GoN | Published: September , 2017 | Last Updated:
Suscribirse a:
Entradas (Atom)






