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)
Mobile Access SSL Network Extender (SNX) remote users with Windows 11 24H2 fail to connect
Cause The conflict resolution mechanism in Windows 11 24H2 is different than in earlier versions of Windows. Solution On the Windows endpo...
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...
-
A few cmds to help with the DFS troubleshooting aspects, keep in mind all should be run from an elevated PowerShell Dfsdiag /TestDCs D...