Enable policy Computer Configuration -> Administrative Template -> Windows Components -> Search -> Disable indexer backoff
Restart Windows Search service:
net stop wsearch
net start wsearchSource: www.question-defense.com
net stop wsearch
net start wsearchC:\>sc queryex WSearch
SERVICE_NAME: WSearch
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 5604
FLAGS :
C:\>taskkill /t /f /pid 5604
#######begin script#######
cls
Import-Module msonline
Connect-MsolService
Function Get-UserLicenseList {
$MasterList = @()
Get-MsolUser -All | % {
$Object = New-Object PSObject -Property @{
DisplayName = $null
UserPrincipalName = $null
AssignedLicense = $null}
$Object.DisplayName = (Get-MsolUser -UserPrincipalName $_.UserPrincipalName).DisplayName
$Object.UserPrincipalName = (Get-MsolUser -UserPrincipalName $_.UserPrincipalName).UserPrincipalName
$Object.AssignedLicense = ((Get-MsolUser -UserPrincipalName $_.UserPrincipalName).licenses | select accountskuid).accountskuid
$MasterList += $Object}
$MasterList | Out-GridView
}
Get-UserLicenseList
#######end script#######[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Resiliency\DisabledItems][HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Addins]
;----------------------------------------------------------------------------------------------
;IE_Proxy_Settings_AllBuilds.ADM
;------------------------------------------------------------------------------------------------
CLASS USER
CATEGORY "Windows Components"
CATEGORY "Internet Explorer"
POLICY "Enable Proxy"
EXPLAIN !!PVHelp
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
VALUENAME "ProxyEnable"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Proxy Server"
EXPLAIN !!ProxyServerHelp
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
PART "Proxy Server" EDITTEXT REQUIRED
VALUENAME "ProxyServer"
DEFAULT "192.168.0.254:8080"
END PART
END POLICY
POLICY "Proxy ByPassList"
EXPLAIN !!ProxyByPassList
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
PART "Proxy ByPassList" EDITTEXT REQUIRED
VALUENAME "ProxyOverride"
DEFAULT ".domain.com"
END PART
END POLICY
END CATEGORY;
END CATEGORY;
[strings]
PVHelp="Enable or Disable the Proxy"
ProxyServerHelp="Please type in the Proxy Server Address and include any port information. Example: 192.168.0.254:8080"
ProxyByPassList="Enter addresses separated by semicolon. To bypass local
address use the format ;<local> for more info go to
http://technet.microsoft.com/en-us/library/dd361953.aspx"
;------------------------------------------------------------------------------------------------
gpresult /rgpresult /v >>%userprofile%\Desktop\resutl.txt