There is a built-in disk performance checker in Windows called winsat:
winsat disk -drive g
(Run winsat with Administrator privileges)
Info on winsat disk on technet.microsoft.com/en-us/library/cc742157.aspx
C:\WINDOWS\system32>winsat disk -drive g
Windows System Assessment Tool
> Running: Feature Enumeration ''
> Run Time 00:...
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%"' ...
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 ...
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\...
Quick and dirty in PowerShell:
C:\> dir -recurse | out-file X:\pathtofile.txt
This will output something similar to this:
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 8/10/2002 4:18 a.m. 40960 00000005.ddd
-a--- 26/09/2002 ...
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.
An A-Z Index of the Windows CMD command line - An excellent ...
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
Other way to check with a WMI query:
wmic OS get OSArchitecture
Extracted from here: http://www.sysadmit.com/2015/10/windows-como-saber-si-es-de-32-o-64-bits.html
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 ...
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.
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:
sc \\localhost query | findstr SERVICE_NAME > services.lst
for /f "...
What is the cluster size? NTFS compression only works on volumes with a cluster size of 4k or less.
Native NTFS compression does not function on volumes where the cluster size is greater than 4KB, but sparse file compression can still be used.
/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 ...
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 :)
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 ...
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 ...
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
Or if reverting to ...
Under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services, add these DWORD values:
If set to 60000 (milliseconds), the time-outs will be one minute.
Full registry key file:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]
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 ...
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 (...