lunes, 31 de enero de 2022

set ntpserver to DC (domain controller)

 On the domain controller with roles primary FSMO, open cmd as administrator, then:

(ony execute in the primary dc)

w32tm /query /status


w32tm /config /manualpeerlist:"yourNTPserver1,0x8 yourNTPserver2,0x8" /syncfromflags:manual /reliable:yes /update

(example: w32tm /config /manualpeerlist:"192.168.1.1,0x8 192.168.1.2,0x8" /syncfromflags:manual /reliable:yes /update )


w32tm /resync /rediscover


net stop w32time && net start w32time


w32tm /resync /rediscover


w32tm /query /status

martes, 30 de noviembre de 2021

reset de licencias backup exec

 

- Detener los servicios de backup exec

- Borrar los archivos .slf de esta ruta y todas sus subcarpetas: C:\ProgramData\Veritas Shared\Licenses

- Iniciar los servicios nuevamente.

- Finalmente proceder a instalar nuevamente los archivos .slf

martes, 7 de septiembre de 2021

miércoles, 1 de septiembre de 2021

modificar valor MessageRateLimit

ejecutar como administrador powershell de exchange


El parametro "MessageRateLimit" de los sendconector "Client Frontend" en Exchange se encuentran seteados en su valor por default

Para ampliar ejecutar lo siguiente:


Get-ReceiveConnector "SVM-RSCEXCH01\Client Frontend SVM-RSCEXCH01" | Set-ReceiveConnector -MessageRateLimit 100


100 es el valor o cantidad a permitir que pueda enviar

Move FSMO roles domain controller with powershell

 run powershell as administrator (elevate privilege)


Get-ADDomainController -Filter * | Select-Object Name, Domain, Forest, OperationMasterRoles | Where-Object {$_.OperationMasterRoles}


Move-ADDirectoryServerOperationMasterRole -Identity HOSTNAME -OperationMasterRole pdcemulator, ridmaster, infrastructuremaster, schemamaster, domainnamingmaster



HOSTNAME: is another DC hostname to move roles

jueves, 26 de agosto de 2021

SCR files as autocad script change to screensaver type

 Files screensavers .scr is associate with autocad script

SOLUTIONS

* open regedit

HKEY_CLASSES_ROOT\.scr

* in Default value data enter: scrfile

* close regedit

THEN

* open cmd with elevate privilege (run as administrator)

type enter: assoc .scr=

type enter: assoc .scr=scrfile

exit cmd


READY


jueves, 7 de junio de 2018

Apuntar clientes Autocad a otro servidor de licencias

Si tu servidor de licencias de Autocad a cambiado y necesitas apuntar a los clientes al nuevo servidor, realiza los siguientes pasos:

- En el equipo del cliente ve a esta ruta C:\ProgramData\Autodesk\CLM\LGS\ 
- Ingresa a la carpeta que te aparezca ahi
- luego abre con notepad el archivo Licpath.lic
- tendrá información similar a esto:

"Server        Servername        000000000000"

- En donde este el hostname del servidor que estas dando de baja, cambialo por el hostname nuevo del servidor.

- Guarda el archivo.
- Verifica abriendo Autocad

Revisar que impresoras tiene asignadas un usuario

Para revisar o verificar de forma remota, que impresoras tiene configurado un usuario, utilizar el siguiente comando de powershell:

To check or verify remotely, which printers a user has configured, use the following powershell command:

Get-WmiObject Win32_Printer -ComputerName PC0001| Select SystemName, Name, Path



(PC0001=HOSTNAME REMOTE PC)


viernes, 2 de marzo de 2018

requirements to Install agent SCCM 2012

Description
UDP
TCP
HTTP from the client computer to a fallback status point
. not applicable
80
Server Message Block (SMB) between the site server and client computer
. not applicable

445
RPC endpoint mapper between the site server and the client computer
135
135
RPC dynamic ports between the site server and the client computer
. not applicable
Dynamic

HTTP from the client computer to an intranet-only management point
. not applicable
80
HTTPS from the client computer to an Internet-capable management point.
Not applicable
443
also Internet Control Message Protocol (ICMP) echo request (PING) messages 

installing Autocad Error 1606

Error 1606 installing Autocad:

In my case, we have a Windows image in which we have configured the path of the user profiles on
disk D: (D: \ User) and the Operating System on disk C:

SOLUTION
- open regedit
- go to:
  • HKEY_LOCAL_MACHINE
  • Software
  • Microsoft
  • Windows
  • CurrentVersion
  • Explorer
  • Shell Folders
  • Replace c:\users\...... for D:\users\... on: desktop, documents, music, pictures, videos, as shown in the picture.

- log off log on 
- try install Autocad again.

Adding network printer and receiving 0x000005b3 error

When trying to add a network printer, the following error occurs:


SOLUTIONS
- Run the Disk Cleanup (Liberador de Espacio en Disco (de Windows))
- Select C:
- Select "Installation log files"
- Delete manually *.tmp from c:\windows\system32
-log off log on
- Try agaim add network print

viernes, 27 de octubre de 2017

Listar drivers instalados en el equipo

para listar los drivers instalados en el equipo, desde el cmd ejecuta el siguiente comando:

pnputil.exe -e

lunes, 12 de junio de 2017

Nombre de usuario incorrecto se muestra en el diálogo de bloqueo de archivos



Cuando tratas de abrir un archivo del servidor de archivos, se muestra Nombre de usuario incorrecto en el diálogo de bloqueo de archivos, realiza los siguiente:

- Ve a la ruta exacta donde se encuentra localizado el archivo en tu servidor de archivos.
- En el Explorador de archivos, ve la pestaña VISTA, luego selecciona "elementos ocultos"
- Luego click al botón Opciones, pestaña Ver, quita la selección a la opción "ocultar archivos protegidos del sistema".
- luego veras todos los archivos temporales, empiezan con ~$filename, ahi con seguridad estará el que te da problemas y aparece abierto por un usuario erroneo.
- Borra ese archivo ~$filename.
- Ahora intenta abrir de nuevo el archivo, ya estará corregido.

***********************
Incorrect user name is displayed in the file lock dialog.
When you try to open a file server file, incorrect User Name is displayed in the file lock dialog, it performs the following:

- Go to the exact path where the file is located on your file server.
- In File Explorer, go to the VISTA tab, then select "Hidden Items"
- Then click the Options button, View tab, removes the selection to the option "hide protected files from the system".
- then you will see all the temporary files, start with ~ $ filename, there surely will be the one that gives you problems and is opened by a wrong user.
- Delete that file ~ $ filename.
- Now try to open the file again, it will be corrected.

martes, 30 de mayo de 2017

No se muestran o visualizan las imágenes en Outlook

Seguramente te has topado con algunos correos que vienen con imágenes adjuntas y no las puedes ver en Outlook, pero al ingresar por Owa si las puedes ver.


Para Solucionar esto, ve al IE y desmarca la opción "no guardar las paginas cifradas en el disco"


Cierra y abre outlook nuevamente y tus correos ahora si se verán completos.

martes, 31 de enero de 2017

Presence Unknow - Lync / Skype For Bussines

Contact in Lync/Skype show PRESENCE UNKNOW


New-CsClientPolicy –Identity “ExcludeContactSearching” –ExcludedContactFolders “Contacts”

NEXT:

Grant-CsClientPolicy –Identity <user> –PolicyName “ExcludeContactSearching”


jueves, 26 de enero de 2017

How to configure Exchange Server (2013/2016) to convert RTF messages in HTML format

Exchange 2013/2016 or Exchange Onlin

-Open the Exchange Management Shell.
-To see you current settings, run the command:
            Get-RemoteDomain | fl
                      Get-RemoteDomain | Where {$_.TNEFEnabled -ne $false}

For each Remote domain, run the command:
                       Set-RemoteDomain -Identity * -TNEFEnabled $false
                      Set-RemoteDomain -Identity * -ContentType MimeHtml

After configuring the Exchange server in this way, messages sent by users in RTF will be converted to HTML by the server.



https://technet.microsoft.com/en-us/library/bb310786(v=exchg.150).aspx
https://technet.microsoft.com/en-us/library/aa998600(v=exchg.150).aspx


lunes, 27 de junio de 2016

Presencia desconocida/Presence unknown Lync 2013/Skype for bussines

PROBLEM:
contacts at Lync/Skype clients shows "presence unknown"


SOLUTION:

delete %UserProfile%\AppData\Local\Microsoft\Office\15.0\Lync in the computer client.

(Create a GPO to apply all Organization computers)

references: http://blog.insidelync.com/2013/09/lync-2013-presence-issues/

Outlook Web App didn’t initialize. If the problem continues, please contact your helpdesk.

PROBLEM:
Exception type:Microsoft.Exchange.Clients.Owa.Core.OwaThemeManagerInitializationException
Exception message: Couldn’t find a base theme (folder name=base)
Call stack
Microsoft.Exchange.Clients.Owa.Core.ThemeManager.LoadThemeFiles()
Microsoft.Exchange.Clients.Owa.Core.OwaApplicationBase.ExecuteApplicationStart(Objectsender, EventArgs e)

SOLUTION
run UPDATECAS.PS1 from ‘C:\Program Files\Microsoft\Exchange Server\V14\Bin 
with Exchange Management Shell

miércoles, 15 de junio de 2016

Recuperar archivos no guardados de Word/Recover unsaved Word files

Si realizaste archivos de Word y no los guardaste puedes encontrarlos en esta ruta (Aplica para cualquier documento Office)

%APPDATA%\Microsoft\Word
%LOCALAPPDATA%\Microsoft\Office\UnsavedFiles

Abrir el archivo .asd 

martes, 17 de mayo de 2016

Cannot get the security descriptor of mailbox while connecting the disconnected mailbox

  1. We need to find out the duplicate account with msExchMailboxGUID
  2. To do that we need to use LDP.exe
  3. Run ldp.exe to search via msExchMailboxGUID and let me know the results.
  4. Start the Active Directory Administration Tool
    (LDP.exe).
  5. On the Connection menu, click Connect.
  6. In the Server box, type the name of a domain controller. Leave the default port selection as 389, unless you have set up your LDAP port configurations differently on the domain controller, and then click OK.On the Connection menu, click Bind.
  7. Type the user name, password, and domain information for a user who has access to view the Active Directory root tree, and then click OK.
  8. On the View menu, click Tree.
  9. Leave the BaseDN box blank, and then click OK. By default, this switches the focus to the BaseDN of the root Active Directory tree
  10. Expand the domain container (DC=example,DC=com), right-click the user's container, and then click Search.
  11. Copy the new msExchMailboxGUID entry from the error, And modify it as \82\52\a2\13\36\69\fe\4f\a2\7f\47\2d\0e\1a\26\05 (for details how to modify the GUID to be able to search it in ldp.exe see example below)
  12. Now search with this GUID with brackets (msexchangeguid=\82\52\a2\13\36\69\fe\4f\a2\7f\47\2d\0e\1a\26\05).
  13. We must see our results with multiple user accounts.
  14. Now we need to remove one of the account completely as it has got the same msexchMailboxGUID.
  15. Once we do that we should be able to successfully add our disconnected mailbox or if we want to use a new account then we can remove both of them.

referencia: https://blogs.technet.microsoft.com/unable-to-connect-disconnected-mailbox/2014/06/12/cannot-get-the-security-descriptor-of-mailbox-while-connecting-the-disconnected-mailbox/