Bash remote script execution
bash <(curl -s https://github.com/dominicpratt/install-zabbix-agent/blob/master/install-zabbix-agent.sh)
Ubuntu slow USB copy
If your running a x64 bit Ubuntu or other Linux and find USB transfers hang at the end apply this fix:
echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes
echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes
Then
swapoff -a
echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes
echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes
Then
swapoff -a
Windows DFSR Troubleshooting
A few cmds to help with the DFS troubleshooting aspects, keep in mind all should be run from an elevated PowerShell
Dfsdiag /TestDCs
DFSDiag
/TestDFSIntegrity /DFSRoot:\\Contoso.com\MyNamespace /Recurse /Full
Dfsutil /pktinfo
Dfsutil /spcinfo
Dfsr pollad
Klist tgt
Klist tickets
DfsrAdmin Health New
/RgName:"Contoso.com\Path1\Folder1" /RefMemName:SERVER /RepName:C:\DFSReports\HealthReport_DATE.html /FsCount:true
dfsrdiag
ReplicationState /member:SERVER /all
wmic
/namespace:\\root\microsoftdfs path DfsrReplicatedFolderInfo get *
/format:textvaluelist
Get-ChildItem C:\Temp
-recurse | Out-File E:\DFS-Data\Path1\DfsrPrivate\Staging >
C:\Export\allfiles.txt
dfsrdiag backlog
/receivingmember:SERVER2 /sendingmember:SERVER1 /rgname:"ReplicationGroup1" /rfname:"Folder Name"
To search for replicated
folder name:
1. From Elevated PowerShell: Notepad "C:\Windows\Debug\Dfsr####.log"
2. Find "parent" GUID (will look like
{D767AC01-8375-447A-88E4-1CCF6A18DD95}-v167695)
Search for GUID
Run: wbemtest
Namespace:
root\microsoftdfs connect
Query: "Select *
from dfsreplicatedfolderconfig"
Completely Flush Server
- dfsutil /pktflush
- dfsutil /spcflush
- dfsutil /purgeMupcache
- klist purge
- ipconfig /flushdns
Assinar:
Postagens (Atom)
Updatable objects appear as 'no longer supported'
Symptoms In some scenarios, the following validation warning appears on an updatable object: " Object is no longer supported. Enforci...
Mais vistos
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
Kaspersky seems to be storing windows update files on the C Drive: Here -> C:\ProgramData\KasperskyLab\adminkit\1093\.working Change fo...
-
This particular error is generally experienced when people attempt a non NTFS volume such as ReFS to a DFSR replication group as documented...