Entradas

Mostrando entradas de 2017

An error occurred while updating the virtual machine configuration settings Error Code: 0x8007100c

Pass through disk-addition issue in cluster disk read only issue after adding pass through disk

Configure remote connection for multiple instances sql server 2008

Imagen
I had to specify a port in the SQL Configuration manager > TCP/IP Open the port on your firewall Then connect remotely using: "server name\other database instance,port number" Connected! To solve this you must ensure the following is true on the machine hosting SQL Server... Ensure  Server Browser service  is running Ensure TCP/IP communication is enabled for each instance you wish to communicate with over the network.  If running multiple instances, ensure each instance is using a different port, and that  the port is not in use . e.g for two instance 1433 (default port for the default instance, 1435 for a named instance.  Ensure the firewall has an entry to allow communication with SQL Server browser on port  1434 over the  UDP  protocol. Ensure the firewall has an entry to allow communication with SQL Server instances on the ports assigned to them in step 3 over the  TCP  protocol  Example: DBSERVER01\SQL2008R2,1435

Time-Based Access Lists Using Time Ranges

The following example uses a time-range to deny HTTP traffic on Monday through Friday between the hours of 8:00 am and 6:00 pm: time-range no-http periodic weekdays 8:00 to 18:00 ! access-list 101 deny tcp 10.128.194.0 0.0.0.127 any eq http time-range no-http ! interface ethernet 0 ip access-group 101 in

Convertir Servidores Fisicos en Linux a Virtuales “VHDs”

Imagen
Thanks to: https://geeks.ms Me a tocado la tarea de virtualizar unos cuantos servidores Físicos con Redhat y debian, el problema es que el SCVMM solo puede realizar conversiones de Físicas a Virtuales en equipos con Windows, al igual que la Super Herramienta Disk2Vhd de Sysinternals. Lo primero que haremos es montar una carpeta compartida en linux, utilizando  CIFS mount –t cifs –o username=Pablo //192.168.123.152/linux /mnt/Win7 Una vez montada nuestra carpeta compartida, debemos conocer la ruta saber cual es la ruta de nuestro dispositivo “dev” de disco duro en linux. Para esto utilizaremos el comando  df –h,  el cual nos mostrara el detalle de la utilización de los discos duros y sus rutas físicas Nos daremos cuenta que el disco duro es  /dev/sda  Ahora crearemos la imagen del disco con extensión img con el comando  dd de linux dd if=/dev/sda of=/media/Win7/Redhat5.img   Nuestra imagen img la podemos convertir a vhd utilizando  VHDTool Una vez descargo el 

Fix “The User Profile Service service failed the logon” New User Profile Error in Windows 7

Imagen
Thank to: http://www.winhelponline.com/ When you logon to a newly created user profile for the first time, the profile may not load and the following error is seen: The User Profile Service service failed the logon. User profile cannot be loaded. Editor’s Note : This guide helps you fix the above problem that occurs when logging on to a new user account (for the first time). There are situations where the user profile for an existing account that you’ve been using already, doesn’t load (due to corruption or other factors such as wront NTFS permissions), and in those cases, advice in this article doesn’t help. In the latter case, follow the instructions in Microsoft article titled You receive a “The User Profile Service failed the logon” error message . This guide only advises how to reinstate the “Default” user profile template, which resolves the problem for a newly created user account. When you create a new user account and try to logon to it, Windows uses the Defau

How to run Control Panel tools by typing a command

Thank to: https://support.microsoft.com Summary This article describes how to run Control Panel tools in Windows by typing a command at a command prompt or in the Open box. More Information To run a Control Panel tool in Windows, type the appropriate command in the Open box or at a command prompt. NOTE : If you want to run a command from a command prompt, you must do so from the Windows folder. Also, note that your computer may not have all of the tools listed in this article, as your Windows installation may not include all of these components. Control panel tool Command ----------------------------------------------------------------- Accessibility Options control access.cpl Add New Hardware control sysdm.cpl add new hardware Add/Remove Programs control appwiz.cpl Date/Time Properties control timedate.cpl Display Properties control desk.cpl FindFast

How to Enable Standard Users to Run a Program with Admin Rights without the Password

Imagen
Thanks to: https://www.maketecheasier.com/ If you have multiple users using your system, then you are most probably assigning them the standard user accounts. This allows you to regulate what they install and how they can manipulate the system and application settings. As good as that is, you sometimes may need to allow a standard user to run a program with administrator rights. In those situations, you can use a free third party utility called RunAs Tool. But if you don’t want to use a third-party tool, hre is how you can create your own shortcut of the target program in such a way that it runs with the admin rights without entering any admin password whatsoever. Let Standard Users Run Programs as Admin To let standard users run a program with administrator rights, we are going to use the built-in  Runas  command. To start, you need to know two things before you can do anything. The first one is the  computer name, and the second one is the username of your administrator accoun

¿Cómo puedo obtener el VLC para reproducir en el segundo monitor en windows?

Thanks to: https://www.enmimaquinafunciona.com/ En nuestra iglesia, a veces necesitamos mostrar el contenido del video en el segundo monitor que es nuestra pantalla del proyector. También escogimos VLC para mostrar el contenido, y por razones similares, como declaró hemos encontrado que es más bien una distracción de tener que arrastrar el 'jugador' de la ventana de VLC en el segundo monitor. También queríamos venir para arriba con una solución simple para que nuestros menos en la computación de los operadores podrían encontrar que es muy fácil de mostrar contenido de vídeo. Con VLC 1.1.4 bajo Windows Vista, nos encontramos con la siguiente secuencia de comandos por lotes, que hemos puesto en un archivo (Vlc_Starter.bat) que se puede colocar en cualquier lugar (por ejemplo en el escritorio de Windows): set vlcPath="C:\Program Files\VideoLAN\VLC\vlc.exe" %vlcPath% %1 --video-x=1600 --video-y=400 --width=300 --height=300 --fullscreen --no-video-title-show --no-embedde

how adding persistent static routes on centos

Thanks to: http://www.networkinghowtos.com/ When you need to access networks located on a different network segment, you need to have a route set up so the PC knows how to get to the other network segment. This generally just points to your main gateway, but you may want to set up additional static routes, where you don’t want the traffic going through your main default gateway. To set up a static route on CentOS so that it automatically gets created every time the PC starts, you need to create a ‘route- <interface> ‘ file in the ‘/etc/sysconfig/network-scripts’ folder. Use your favorite text editor and edit/create the route- <interface>  file. eg: # nano /etc/sysconfig/network-scripts/route-eth0 The route will get set up when the specified interfaces comes up. This file will probably wont exist if you don’t have any existing static routes. Add a line with the route information in the following format to the file. x.x.x.x/y via z.z.z.z dev interface wher

SQL Server - How to Create Multiple Instances on Single Server

Imagen
Thank to: http://www.sqlines.com/ When you install SQL Server, the installation creates an instance of SQL Server. But how to create more instances? After you have installed SQL Server and have the default (or named) instance, start the setup again to create a new instance. For example, when you run SQL Server 2008 R2 Express setup, the following screen appears: Click “New installation or add features to an existing installation”, the following screen appears: As you can see SQLEXPRESS instance already exists, it was created by the first installation, now select “New installation or add shared features”. Then click Next and accept the License Agreement. Then select features you want to install for the new instance. After that the installation offer you to specify the name of your new instance (SQLEXPRESS2 was chosen in this example): Click Next to create the new instance and perform the remaining setup steps. You can repeat thi

Reset a MySQL root password

Thank to: https://support.rackspace.com The MySQL root password allows the root user to have full access to the MySQL database. You must have (Linux) root or (Windows) Administrator access to the Cloud Server to reset the MySQL root password. Note:  The Cloud Server (Linux) root or (Windows) Administrator account password is not the same as the MySQL password. The Cloud Server password allows access to the server. The MySQL root password allows access only to the MySQL database. Use the following steps to reset a MySQL root password by using the command line interface. Stop the MySQL service (Ubuntu and Debian) Run the following command: sudo /etc/init.d/mysql stop (CentOS, Fedora, and Red Hat Enterprise Linux) Run the following command: sudo /etc/init.d/mysqld stop Start MySQL without a password Run the following command. The ampersand (&) at the end of the command is required. sudo mysqld_safe --skip-grant-tables & Connect to MySQL Run the following co

“OwnCloud “You don’t have permission to upload or create files here.”

Owncloud complaining that “You don’t have permissions to upload files here” There are few likely reasons for this to happen because I have actually seen this issue a few times in differ situations. It is frustrating because OwnCloud might have had the permissions previously or it has access to the files through have 777 permissions. It is an issue because the desktop client will become out of sync with the server client. A huge issue since the point of OwnCloud is to keep these two in sync. Most likely You need to make www-data the owner and group of your OwnCloud directory. cd /var/www/owncloud/data chmod -R www-data:www-data * Other Solution: mysql -u root -p #assuming root is your mysql admin user #enter mysql admin password use owncloud; #assuming your owncloud-db ist called owncloud (which is the default) select * from oc_storages; #note your user’s “numeric_id”, let’s assume it’s 2 delete from oc_filecache where storage=2; #done Note: id of users

Set Granular Permissions for Elastix Usage

Imagen
Thanks to: https://community.spiceworks.com/ Introduction So you've just installed Elastix in your environment? Great! But wait a minute...that means you the IT person have to do everything to administer the system moving forward. Now you are probably aren't as excited about it. And because we're talking open source software you just don't have many other options than to do things yourself, right? What if there was a way to allow certain key users permission to the system to perform certain duties without you having to be involved? If that sounds like something that would make your life easier, keep reading. All steps below were performed on Elastix 2.4.0r2 (64-bit version) running as a VM. Steps  (7 total) 1 Login to Elastix Visit the address of your Elastix server in a web browser, and login with your administrative credentials. 2 Navigate to the User Management Area The first thing you see should of course be the dashboard. Tha