Two ways to access the Credential Manager, command line and GUI.
cmdkey.exe
rundll32.exe keymgr.dll, KRShowKeyMgr
For every 1603 in the World
Two ways to access the Credential Manager, command line and GUI.
cmdkey.exe
rundll32.exe keymgr.dll, KRShowKeyMgr
Remove the annoying security blocking from downloaded files. This will unblock any blocked files in a folder and subfolders.
Get-ChildItem -Path "path-to-folder" -Recurse | Unblock-File
Goto Microsoft TechNet Official App-V Team Blog for inside info on App-V
– Your official source for all the latest news and tech tips for Microsoft Application Virtualization (App-V)
Goto Microsoft TechNet for Windows Installer properties available for an Office 2013 installation
– Setup properties reference for Office 2013
Goto Cireson for the brand new SCCM Remote Manager Tool
– A must for the Professional SCCM Administrator
Goto SourceForge and get the SCCM Wonder Tool, SCCM Client Center by Roger Sander
– A Magical Tool for any SCCM Administrator
Easy way to get the Computer Model when assigning and installing specific drivers to the Windows Image with ConfigMgr or MDT.
WMIC CSProduct get Name
Goto Microsoft for detailed information about System Restore, Monitored File Name Extensions (MSDN)
– If you ever would use this …
Read up on Internet Explorer through Group Policy:
Remove the annoying and time consuming first logon (OOBE) screen on Windows 8.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"EnableFirstLogonAnimation"=dword:00000000
A quick guide to make an USB Flash Drive bootable. This is usefull if you use Microsoft Windows installation images.
Open Command Prompt as an Administrator and go to town with these command steps:
diskpart
list disk (note the drive number of the USB flash drive)
select disk "drive number"
clean
create part pri - NOTE: if flash drive is larger than 32Gb use size=32000 or 16000 to limit size of partition for FAT32 file system
select part 1
format fs=fat32 quick
active
exit
Now the USB flash drive is ready for a Windows installation image
Source: Microsoft
Verify if service is stopped, then start it. Afterwards verify the status of the service (Windows Update)
if ($(Get-Service -DisplayName "Windows Update").Status -ne "Running") { (Get-Service -DisplayName "Windows Update").Start() }
(Get-Service -DisplayName "Windows Update").Status
Verify if service is running, then stop it. Afterwards verify the status of the service (Windows Update).
if ($(Get-Service -DisplayName "Windows Update").Status -eq "Running") { (Get-Service -DisplayName "Windows Update").Stop() }
(Get-Service -DisplayName "Windows Update").Status
Note: Remember to run as Administrator …
Search for filename and get full path and filename returned.
FOR /f "tokens=1,2,*" %a in ('dir /s %fileToCheck%') do if "%a %b" == "Directory of" SET pathAndFilename=%c\%fileToCheck%
Thanks to Leif Ole for this example
A simple PowerShell sript that will return the length of the longest line from the path it is executed.
$len = 0; dir -r | %{ if ($_.FullName.Length -gt $len) { $len = $_.FullName.Length } }; $len
Source: Lifted from Johan Arwidmark