Lapas

ceturtdiena, 2016. gada 11. februāris

Delete Offline Files Cache

 
  • Open Registry editor (Execute Regedit from Run window)
  • Go to this key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSe\Services\Csc\Parameters
  • If Parameters key does not exist under CSC you can add it.
  • Now in the Parameters node create a new registry value with the name FormatDatabase of type REG_DWORD (i.e DWord 32-bit value)
  • Set the data in this new registry value to 1.
  • Close registry editor
  • Reboot the machine
Source: technlg.net

otrdiena, 2016. gada 9. februāris

Find HP ProCurves on network

Connect with telnet to core switch and run commands:
sho cdp neighbors det
or
sho lldp info remote-device 

Windows 10 expand jump list

If you want to see more Pinned and Recent item in your taskbar you need to modify/create these registry values
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\
Dword values - Start_JumpListItems and JumpListItems_Maximum

otrdiena, 2016. gada 12. janvāris

Check applied group policies

Run GUI Resultans Set of Policy - rsop.msc
Command line user policies: gpresult /Scope User /v
Computer policies: gpresult /Scope Computer /v

Source: How-To-Geek

sestdiena, 2016. gada 2. janvāris

"General access denied error’ (0x80070005)" when starting Hyper-V VM

Every Hyper-V virtual machines has a unique Virtual Machine ID (SID). If the Virtual Machine SID is missing from the security permissions on the .vhd or .avhd file, the virtual machine does not start.

icacls "D:\Virtual Hard Disks\VM.vhdx" /grant "NT VIRTUAL MACHINE\12345678-975B-469D-9A70-A31DA482AF2F":(F)

piektdiena, 2016. gada 1. janvāris

Run Powershell on remote server

Allow remote powershell: Enable-PSRemoting -Force
Open session to remote server: Enter-PSSession -ComputerName <remote server> -Credential administrator

Source: HowToGeek.com

Fix replication between DC and RODC


Symptoms: Sysvol and Netlogon shares may be missing;
                   nltest /server:<DC-NAME> /dsgetdc:<DOMAIN> /gc /force shows that RODC is active DC

Check for errors: DCDIAG /TEST:DNS and DCDIAG /CheckSecurityError
 
If replication between DC and RODC is broken and repadmin /syncall does not help - you can manually set DC replica as authoritative.

Open Regedit HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtFrs\Parameters\Backup/Restore\Process at Startup
Set BurFlags hex value to D4 - This registry value marks the FRS replica as authoritative.
Restart the File Replication Service

Source: KB316790