Enable policy Computer Configuration -> Administrative Template -> Windows Components -> Search -> Disable indexer backoff
Restart Windows Search service:
net stop wsearch
net start wsearch
Source: www.question-defense.com
net stop wsearch
net start wsearch
C:\>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 /r
gpresult /v >>%userprofile%\Desktop\resutl.txt
MPALL_F1_7F00_DL17_v363_0C / Phison MPALL v3.63.0C-DL17
Start it, put your usb stick into your USB 3.0 port.
Click update, then settings.
Choose advance settings and load the ini file.
Click save, and ok on a pop-up window.
Close settings window by clicking on "x".
Click start, the process lasts for about a minute and it's done
For newer versions you need to start flash drive into TESTMOD.
To do it you need to open caseing and find chip with 64 pins. Shorten 34x35 pins (for PS2251-03-Q chip) and plug into usb port. After few seconds release pins.
Start Phison MPALL:
Setting type - Basic Settings - New settings
1. Choose controller: PS2251-03;
2. Specify host port where flash drive is pluged in;
3. Do ISP - Select burner and firmware files;
4. Perform low level format;
5. specify partition mode - 3.
Save settings, close setting window, press update, then start.
##################################################################
Flash drive information extractor:
Controller: Phison 2303 (2251-03)
Possible Memory Chip(s):
Toshiba TH58NVG8T2JTA20
Toshiba TH58TEG8T2JTA20
Toshiba TH58TEG8T2JBA4C
Toshiba TC58NVG7T2JTA00
Toshiba TC58TEG7T2JTA00
Memory Type: TLC
Flash ID: 983AA892 7650
Chip F/W: 01.09.53
Firmware Date: 2013-11-15
ID_BLK Ver.: 1.2.74.0
MP Ver.: MPALL v3.72.0B
VID: 13FE
PID: 5200
Manufacturer:
Product: USB DISK 3.0
Query Vendor ID:
Query Product ID: 2303 PRAM
Query Product Revision: 1.00
Physical Disk Capacity: 31009800192 Bytes
Windows Disk Capacity: 0 Bytes
Internal Tags: 2QAP-S8P4
USB Version: 2.00
Declared Power: 300 mA
ContMeas ID: F872-01-00
Working Burner + F/W ISP files: BN03V117M.BIN + FW03FF01V10953M_20131115.BIN
##################################################################
Get-ExecutionPolicy
Set-ExecutionPolicy RemoteSigned
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Get-DistributionGroup | Where {$_.RecipientTypeDetails -eq "RoomList"} | Format-Table DisplayName,Identity,PrimarySmtpAddress
Get-Mailbox | Where-Object {$_.RecipientTypeDetails -eq "RoomMailbox"} | Format-Table DisplayName,Identity,PrimarySmtpAddress
New-DistributionGroup -Name Building_nr1 -DisplayName "Buildings display name" –PrimarySmtpAddress building_nr1@yourdomain.com –RoomList
New-MailBox -UserPrincipalName room_nr1@yourdomain.com -Name "Room nr1" -Room
Add-DistributionGroupMember –Identity Building_nr1 -Member room_nr1@yourdomain.com
Remove-PSSession $Session
[EditionID]
Professional
[Channel]
Retail
[VL]
0
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows
# Gets time stamps for all computers in the domain that have NOT logged in since after specified date
$time = Read-host "Enter a date in format mm/dd/yyyy"
$time = get-date ($time)
$date = get-date ($time) -UFormat %d.%m.%y
# Get all AD computers with lastLogonTimestamp less than our time
Get-ADComputer -Filter {LastLogonTimeStamp -lt $time} -Properties LastLogonTimeStamp |
# Output hostname and lastLogonTimestamp into CSV
select-object Name,@{Name="Stamp"; Expression={[DateTime]::FromFileTime($_.lastLogonTimestamp)}} | export-csv old_users.csv -notypeinformation
Source: http://blog.mattvogt.net/
=VLOOKUP($A$2:$A$718*1;Sheet2!$A$3:$B$725;2;FALSE)
C:\Windows\system32>
mklink /d "D:\DATA\IT\ISO" "\\SERVER_NAME\ISO"
if exist "D:\DATA\IT\ISO" (
goto next
)else (
ECHO Creating Symlcnc...
mklink /d "D:\DATA\IT\ISO" "\\SERVER_NAME\ISO"
)
:NEXT
PAUSE
C:\Windows\system32>fsutil behavior query SymlinkEvaluation - check status
C:\Windows\system32>fsutil behavior set SymlinkEvaluation R2R:1 - enable from Remote to remote
PS C:\Windows\system32> Get-MsolUser | Where-Object { $_.isLicensed -eq "TRUE" } | Select-Object UserPrincipalName, DisplayName, Country, City, Department,
UsageLocation | Out-GridView
Source: Microsoft Support
Regular expression
radio button in Search mode
sectio.([\s]+)([\s]+)
-search for mutiple spaces[ ]([a-zA-Z])
-search for any letter with space in front.
dsquery group -name ("Group name here") |dsget group -members |dsget user -display >memberlist.txt
dsget failed:Directory object not found
check user names for restricted symbols.
Comma
,
Backslash character
\
Pound sign (hash sign)
#
Plus sign
+
Less than symbol
<
Greater than symbol
>
Semicolon
;
Double quote (quotation mark)
"
Equal sign
=
Leading or trailing spaces
ntp.sigmanet.lv 92.240.65.179
ntp.cert.lv 91.240.246.1, 91.240.246.3
2.lv.pool.ntp.org 85.254.216.1
1.europe.pool.ntp.org 85.12.35.12
0.europe.pool.ntp.org 148.251.9.60
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet
Explorer\ActiveX Compatibility\{00000000-0000-0000-0000-000000000000}
(if using LYNC 2013 32 bits on Windows 8 64 bits)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX
Compatibility\{00000000-0000-0000-0000-000000000000}
(if running LYNC
2013 64 bits or running LYNC 2013 32 bits on Windows 8 32 bits)
start-> programs-> accessories-> system tools-> task scheduler
Task Scheduler Library -> Microsoft -> Windows -> Diagnosis.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Segoe Print (TrueType)
Segoe Print Bold (TrueType)
and match it to the Bold version of this font.