Windows PowerShell: New-ItemProperty HKLM:SystemCurrentControlSetControlLsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword
Etiqueta: disable
Forzar Activacion Feature SharePoint 2013
1. Abrir SharePoint Management Shell 2. Ejecutar: Get-SPFeature -Limit ALL | Where-Object {$_.DisplayName -like "*FEATURE_NAME*"} 3. Copiamos el ID de la Feature que queremos activar. 4. Ejecutar: Enable-SPFeature -Identity "ID_FEATURE_COPIED" -URL http://SITE_TO_DEPLOY -Force
Activar/Desactivar HyperV
Podemos activar y desactivar HyperV (si por ejemplo queremos ejecutar VMs de VirtualBox y no nos deja porque tenemos HyperV) con estos comandos desde la Command Prompt: Desactivar bcdedit /set hypervisorlaunchtype off Activar bcdedit /set hypervisorlaunchtype auto Deberemos reiniciar la máquina para aplicar el cambio correctamente.
Windows Server 2012: Turn Off Windows Firewall in 5 steps
1. Go to Control Panel and System and Security 2. Go to Windows Firewall 3. From the left menu, select Turn Windows Firewall on or off 4. Check all options with Turn off Windows Firewall (not recommended) 5. All options should be red now
Stop-Start SharePoint Services On Server using Management Shell and their Names
We can start and stop SharePoint server services using SharePoint Management Shell and this Scripts: get-spserviceinstance | ? {$_.Typename -eq "YOURSERVICENAME"} | Stop-SPServiceInstance get-spserviceinstance | ? {$_.Typename -eq "YOURSERVICENAME"} | Start-SPServiceInstance We don't have to know the service GUID, we only need its name. For example: get-spserviceinstance | ? {$_.Typename -eq "User Profile Service"} | Stop-SPServiceInstance …
Sigue leyendo Stop-Start SharePoint Services On Server using Management Shell and their Names
Avoid ENTER in ASP TextBox (Javascript)
In order to avoid ENTER key in your asp:TextBox you've to add onkeydown event and control it, like this: <asp:TextBox ID="myTextBox" runat="server" onkeydown="return (event.keyCode != 13);"></asp:TextBox>