242

There is a built-in disk performance checker in Windows called winsat: winsat disk -drive g (Run winsat with Administrator privileges) More info: Info on winsat disk on technet.microsoft.com/en-us/library/cc742157.aspx e.g: C:\WINDOWS\system32>winsat disk -drive g Windows System Assessment Tool > Running: Feature Enumeration '' > Run Time 00:...


21

wmic: Name and account for all services: wmic service get name,startname started services only: wmic service where started=true get name, startname services with specific pattern in name: wmic service where 'name like "%sql%"' get name, startname nicely formatted as html table (and then opened in your browser): (wmic service where 'name like "%sql%"' ...


12

Amazingly, if the individual has the full path to a subfolder on which they have at least R permissions, they require NO permissions on any of the parent folders, not even traverse. They can simply access it using the UNC. (They must, of course, have read permissions on the share; just not on any folders above the level they want to access). I didn't ...


10

You might have to specify explicitly that you want to reference the user account on the remote system, otherwise, Windows might try to establish the connection referencing your local Administrator account. To do this, supply the domain (in this case the name of the remote computer) with the /user: parameter: net use X: \\Samba_Server\gis /user:Samba_Server\...


10

Quick and dirty in PowerShell: C:\> dir -recurse | out-file X:\pathtofile.txt This will output something similar to this: Directory: E:\Kodak\3500\PDFs\index\parts Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 8/10/2002 4:18 a.m. 40960 00000005.ddd -a--- 26/09/2002 ...


9

I need to list all files from folders and subfolders and export to notepad or Excel. From the command line: dir /a /s /b > filelist.txt /a Show all files /s Include all subfolders. /b Bare format (no heading, file sizes or summary) Open filelist.txt in notepad++ or excel. Further Reading An A-Z Index of the Windows CMD command line - An excellent ...


8

For those who might be looking for something capable of testing SQL type scenarios there's Diskspd.exe which has superseded SQLIO.


8

You can get the Windows Lync client's configuration info by control-clicking the Lync icon in the system tray as described in this article: How can I check my Lync 2010 configuration?


7

ATTO Disk Benchmark is freeware and does not require installation.


7

What editor are you using? That looks like a legitimate reg file, but if you saved it in something other than Notepad you might have inadvertently added extra formatting codes.


6

Install ActivePerl (only 25MB .msi file) and run this one-liner: perl -pe "s/regex/replacement/g" <input.txt >output.txt You can even use it for in-place editing like this: perl -pi.bak -e "s/regex/replacement/g" file.txt


6

Install cygwin and use sed to perform the search and replace. e.g. sed -e 's/findthis/replacewiththis/g' < /path/to/bigfile > /path/to/newfile


6

Other way to check with a WMI query: PowerShell: (gwmi win32_computersystem).SystemType CMD: wmic OS get OSArchitecture Extracted from here: http://www.sysadmit.com/2015/10/windows-como-saber-si-es-de-32-o-64-bits.html


5

This is probably caused by the printer software that is installed on your computer reacting badly to being exported to the Remote Desktop session. It seems to have happened to many people, for example this article. The solution is either to find out which part of the printer software is responsible for it and uninstall it, or, as suggested by @Sling, not ...


5

I was having this problem as well - I had read to make sure it started with Windows Registry Editor Version 5.00 and that it was saved in ASCII or UTF-16 LE (Little Endian), but was still getting the error. As it was though, I had a blank line before the 'Windows Registry' header - so I tried deleting that and it worked.


5

You can accomplish this in two steps: Get the list of services:sc \\localhost query | findstr SERVICE_NAME Your missing piece: sc \\localhost qc + SERVICE_NAME + | findstr SERVICE_START_NAME I would recommend a batch script like this: @echo off setlocal EnableDelayedExpansion sc \\localhost query | findstr SERVICE_NAME > services.lst for /f "...


5

What is the cluster size? NTFS compression only works on volumes with a cluster size of 4k or less. http://blogs.msdn.com/b/ntdebugging/archive/2008/05/20/understanding-ntfs-compression.aspx Native NTFS compression does not function on volumes where the cluster size is greater than 4KB, but sparse file compression can still be used.


5

Press ⊞ Win + R Type "services.msc" > OK Find "wampapache" & "wampmysqld", right click on it/them > Start/Stop/Restart


4

/persistent:yes will cause the share to persist across logins, in exactly the same way as the "Reconnect at logon" checkbox in the Windows Explorer "Map Network Drive" dialog. You'd want to do something like: net use x: \\path\to\target /persistent:yes which would set up the share in the way you've got in mind. However! I know of no good way to cache ...


4

You can download this spreasheet from Microsoft : http://go.microsoft.com/fwlink/?LinkID=245778 It includes all the published security bulletins/KB since June 1998 : severity, impact, title, affected product and also information on superseded bulletins/KB. Then you just have to script a little bit to smartly compare the installed KB to this list :) Have ...


4

No. I would use Poshcode/ Jaykul modules: JSON REST


4

The WinVerifyTrust problem seems to occur due to lack of an appropriate CA root certificate installed within the Windows Trusted Root Certification Authorities store. To solve the issue, you can try installing whichever of the VeriSign Public Primary Certification Authority root certificate(s) apply to you. For example, in my case, I required the VeriSign ...


4

I had the same issue, which was traced back to Dropbox (3.10.7). Most of the installs of Dropbox on the PCs I had the issue with were a 'per user' install, so just localized to one users profile of the computer. I have been able to make the error disappear by essentially resetting the users preferences in Dropbox - I did this by renaming or deleting the ...


3

GENERIC SOLUTION I really had to dig into this and have a real look around in WMI. The best option in my opinion is to simply use this PowerShell string (Get-WmiObject win32_ComputerSystem -ComputerName $ComputerName).SystemType This even work with old Windows 2003 and XP The answer will be one of X86-based PC x64-based PC x64-based PC Or if reverting to ...


3

Under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services, add these DWORD values: MaxDisconnectionTime MaxIdleTime If set to 60000 (milliseconds), the time-outs will be one minute. Full registry key file: REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] "MaxDisconnectionTime"=dword:0000EA60 "...


3

The syntax command that you have entered is correct. Error 1326 is a common error number used to denote authentication failures on Windows system. These failures are usually related, but not limited to: account does not exist guest account needs to be enabled auto-logon and blank password is enabled on remote computer folder or drive permissions shared on ...


3

You can instantiate and use the Win32_PerfFormattedData_PerfOS_Memory class for this via VBScript: Set wmiObject = GetObject("winmgmts:\\.\root\cimv2:Win32_PerfFormattedData_PerfOS_Memory=@") Wscript.Echo "CommitLimit (B): " & wmiObject.CommitLimit Wscript.Echo "CommitLimit (MB): " & (wmiObject.CommitLimit / 1048576) Wscript.Echo "CommittedBytes (...


3

You can use the cacls, icacls, xcacls, or subinacl commands in Windows to get or set access controls for files and folders.


Only top voted, non community-wiki answers of a minimum length are eligible