Shift + ctrl + F3 Audit Mode
Tuesday, January 22, 2019
Friday, January 18, 2019
Configure Sharepoint Search
1) Add MultiStringValue to Registry name BackConnectionHostNames
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
add Site FQDN names
for example: intranet.contoso.com
2) iireset /noforce
https://www.youtube.com/watch?v=LtjkBFVc35M
Tuesday, January 8, 2019
Remove Computers from txt list powershell
Import-Module ActiveDirectory
$PCs = Get-content c:\tmp\fordisable.txt
foreach ($PC in $PCs)
{
Remove-ADComputer -server test.local -identity $PC -confirm:$false
}
$PCs = Get-content c:\tmp\fordisable.txt
foreach ($PC in $PCs)
{
Remove-ADComputer -server test.local -identity $PC -confirm:$false
}
Friday, November 16, 2018
Logon script to restart computers from list
for /F "tokens=*" %%x in ('type c:\tmp\restart.txt') do ( shutdown.exe -m "%%x" -t 0 -r -f )
pause
pause
in txt file write computer fqdn names
Change Mozilla Firefox home page GPO
On old versions Mozilla ADMX does not work properly
to change home page use this bat script (create log on script policy)
---------------
echo off
cd /D "%APPDATA%\Mozilla\Firefox\Profiles"
cd *.default
set ffile=%cd%
echo %user_pref("browser.startup.homepage", );% del /f /q "%ffile%\prefs.js"
echo user_pref("browser.startup.homepage", "http://int.psh.gov.ge");>>"%ffile%\prefs.js"
set ffile=
cd %windir%
------------------
If your mozilla version is higher, than 60 version, you can you ADMX templates (Create computer base policy)
you can download here :
https://github.com/mozilla/policy-templates/releases
Monday, September 3, 2018
Disable IPv6 GPO
Add the preference will be Computer Configuration > Preferences > Windows Settings > Registry. In there, you want to add a new Registry Item, with the below settings on the General tab:
- Action: Update
- Hive: HKEY_LOCAL_MACHINE
- Key Path: SYSTEM\CurrentControlSet\services\TCPIP6\Parameters
- Value Name: DisabledComponents
- Value Type: REG_DWORD
- Value Data: FF
- Base: Hexadecimal
Thursday, July 5, 2018
Extend Volume failed, but partition was extended
If you extended disk but space doesnot added to partition
Open CMD as administrator:
Open CMD as administrator:
diskpartlist volumeselect volume xextend filesystem
Subscribe to:
Posts (Atom)