Archive

Posts Tagged ‘TechNet’

How to Open an Explorer Window from the Command Prompt

February 13th, 2019 No comments

Open current folder:

> start .

Open the Windows startup folder:

start shell:startup

Here is a list of all the folder names you can use after the shell command, along with the relative locations of those folders.

  • shell:AccountPictures – %AppData%\Microsoft\Windows\AccountPictures
  • shell:AddNewProgramsFolder – Control Panel\All Control Panel Items\Get Programs
  • shell:Administrative Tools – %AppData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools
  • shell:AppData – %AppData%
  • shell:Application Shortcuts – %LocalAppData%\Microsoft\Windows\Application Shortcuts
  • shell:AppsFolder – Applications
  • shell:AppUpdatesFolder – Installed Updates
  • shell:Cache – %LocalAppData%\Microsoft\Windows\INetCache
  • shell:Camera Roll – %UserProfile%\Pictures\Camera Roll
  • shell:CD Burning – %LocalAppData%\Microsoft\Windows\Burn\Burn
  • shell:ChangeRemoveProgramsFolder – Control Panel\All Control Panel Items\Programs and Features
  • shell:Common Administrative Tools – %ProgramData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools
  • shell:Common AppData – %ProgramData%
  • shell:Common Desktop – %Public%\Desktop
  • shell:Common Documents – %Public%\Documents
  • shell:CommonDownloads – %Public%\Downloads
  • shell:CommonMusic – %Public%\Music
  • shell:CommonPictures – %Public%\Pictures
  • shell:Common Programs – %ProgramData%\Microsoft\Windows\Start Menu\Programs
  • shell:CommonRingtones – %ProgramData%\Microsoft\Windows\Ringtones
  • shell:Common Start Menu – %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup
  • shell:Common Startup – %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup
  • shell:Common Templates – %ProgramData%\Microsoft\Windows\Templates
  • shell:CommonVideo – %Public%\Videos
  • shell:ConflictFolder – Control Panel\All Control Panel Items\Sync Center\Conflicts
  • shell:ConnectionsFolder – Control Panel\All Control Panel Items\Network Connections
  • shell:Contacts – %UserProfile%\Contacts
  • shell:ControlPanelFolder – Control Panel\All Control Panel Items
  • shell:Cookies – %LocalAppData%\Microsoft\Windows\INetCookies
  • shell:Cookies\Low – %LocalAppData%\Microsoft\Windows\INetCookies\Low
  • shell:CredentialManager – %AppData%\Microsoft\Credentials
  • shell:CryptoKeys – %AppData%\Microsoft\Crypto
  • shell:desktop – Desktop
  • shell:device Metadata Store – %ProgramData%\Microsoft\Windows\DeviceMetadataStore
  • shell:documentsLibrary – Libraries\Documents
  • shell:downloads – %UserProfile%\Downloads
  • shell:dpapiKeys – %AppData%\Microsoft\Protect
  • shell:Favorites – %UserProfile%\Favorites
  • shell:Fonts – %WinDir%\Fonts
  • shell:Games – Games
  • shell:GameTasks – %LocalAppData%\Microsoft\Windows\GameExplorer
  • shell:History – %LocalAppData%\Microsoft\Windows\History
  • shell:HomeGroupCurrentUserFolder – Homegroup\(user-name)
  • shell:HomeGroupFolder – Homegroup
  • shell:ImplicitAppShortcuts – %AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\ImplicitAppShortcuts
  • shell:InternetFolder – Internet Explorer
  • shell:Libraries – Libraries
  • shell:Links – %UserProfile%\Links
  • shell:Local AppData – %LocalAppData%
  • shell:LocalAppDataLow – %UserProfile%\AppData\LocalLow
  • shell:MusicLibrary – Libraries\Music
  • shell:MyComputerFolder – This PC
  • shell:My Music – %UserProfile%\Music
  • shell:My Pictures – %UserProfile%\Pictures
  • shell:My Video – %UserProfile%\Videos
  • shell:NetHood – %AppData%\Microsoft\Windows\Network Shortcuts
  • shell:NetworkPlacesFolder – Network
  • shell:OneDrive – OneDrive
  • shell:OneDriveCameraRoll – %UserProfile%\OneDrive\Pictures\Camera Roll
  • shell:OneDriveDocuments – %UserProfile%\OneDrive\Documents
  • shell:OneDriveMusic – %UserProfile%\OneDrive\Music
  • shell:OneDrivePictures – %UserProfile%\OneDrive\Pictures
  • shell:Personal – %UserProfile%\Documents
  • shell:PicturesLibrary – Libraries\Pictures
  • shell:PrintersFolder – All Control Panel Items\Printers
  • shell:PrintHood – %AppData%\Microsoft\Windows\Printer Shortcuts
  • shell:Profile – %UserProfile%
  • shell:ProgramFiles – %ProgramFiles%
  • shell:ProgramFilesCommon – %ProgramFiles%\Common Files
  • shell:ProgramFilesCommonX64 – %ProgramFiles%\Common Files (64-bit Windows only)
  • shell:ProgramFilesCommonX86 – %ProgramFiles(x86)%\Common Files (64-bit Windows only)
  • shell:ProgramFilesX64 – %ProgramFiles% (64-bit Windows only)
  • shell:ProgramFilesX86 – %ProgramFiles(x86)% (64-bit Windows only)
  • shell:Programs – %AppData%\Microsoft\Windows\Start Menu\Programs
  • shell:Public – %Public%
  • shell:PublicAccountPictures – %Public%\AccountPictures
  • shell:PublicGameTasks – %ProgramData%\Microsoft\Windows\GameExplorer
  • shell:PublicLibraries – %Public%\Libraries
  • shell:Quick Launch – %AppData%\Microsoft\Internet Explorer\Quick Launch
  • shell:Recent – %AppData%\Microsoft\Windows\Recent
  • shell:RecordedTVLibrary – Libraries\Recorded TV
  • shell:RecycleBinFolder – Recycle Bin
  • shell:ResourceDir – %WinDir%\Resources
  • shell:Ringtones – %ProgramData%\Microsoft\Windows\Ringtones
  • shell:Roamed Tile Images – %LocalAppData%\Microsoft\Windows\RoamedTileImages
  • shell:Roaming Tiles – %AppData%\Microsoft\Windows\RoamingTiles
  • shell:SavedGames – %UserProfile%\Saved Games
  • shell:Screenshots – %UserProfile%\Pictures\Screenshots
  • shell:Searches – %UserProfile%\Searches
  • shell:SearchHistoryFolder – %LocalAppData%\Microsoft\Windows\ConnectedSearch\History
  • shell:SearchHomeFolder – search-ms:
  • shell:SearchTemplatesFolder – %LocalAppData%\Microsoft\Windows\ConnectedSearch\Templates
  • shell:SendTo – %AppData%\Microsoft\Windows\SendTo
  • shell:Start Menu – %AppData%\Microsoft\Windows\Start Menu
  • shell:StartMenuAllPrograms – StartMenuAllPrograms
  • shell:Startup – %AppData%\Microsoft\Windows\Start Menu\Programs\Startup
  • shell:SyncCenterFolder – Control Panel\All Control Panel Items\Sync Center
  • shell:SyncResultsFolder – Control Panel\All Control Panel Items\Sync Center\Sync Results
  • shell:SyncSetupFolder – Control Panel\All Control Panel Items\Sync Center\Sync Setup
  • shell:System – %WinDir%\System32
  • shell:SystemCertificates – %AppData%\Microsoft\SystemCertificates
  • shell:SystemX86 – %WinDir%\SysWOW64
  • shell:Templates – %AppData%\Microsoft\Windows\Templates
  • shell:ThisPCDesktopFolder – Desktop
  • shell:UsersFilesFolder – %UserProfile%
  • shell:User Pinned – %AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned
  • shell:UserProfiles – %HomeDrive%\Users
  • shell:UserProgramFiles – %LocalAppData%\Programs
  • shell:UserProgramFilesCommon – %LocalAppData%\Programs\Common
  • shell:UsersLibrariesFolder – Libraries
  • shell:VideosLibrary – Libraries\Videos
  • shell:Windows – %WinDir%

Additional:

Tags: , , ,

Use Virtual Desktops in Windows 10

January 10th, 2019 No comments

Add a Desktop

To add a virtual desktop, open up the new Task View pane by clicking the Task View button (two overlapping rectangles) on the taskbar, or by pressing the Windows Key + Tab. In the Task View pane, click New desktop to add a virtual desktop. If you have two or more desktops already open, the “Add a desktop” button will appear as a gray tile with a plus symbol. You can also quickly add a desktop without entering the Task View pane by using the keyboard shortcut Windows Key + Ctrl + D.

Switch between desktops

To switch between virtual desktops, open the Task View pane and click on the desktop you want to switch to. You can also quickly switch desktops without going into the Task View pane by using the keyboard shortcuts Windows Key + Ctrl + Left Arrow and Windows Key + Ctrl + Right Arrow.

Move windows between desktops

To move a window from one desktop to another, you first have to open up the Task View pane and then hover over the desktop containing the window you want to move. The windows on that desktop will pop up; find the window you want to move, right-click it, and go to Move to and choose the desktop you want to move the window to. Also there is the ability to drag and drop windows — you can grab the window you want to move and drag it into the desired desktop.

Close a desktop

To close a virtual desktop, open up the Task View pane and hover over the desktop you want to close until a small X appears in the upper right corner. Click the X to close the desktop. You can also close desktops without going into the Task View pane by using the keyboard shortcut Windows Key + Ctrl + F4 (this will close the desktop you’re currently on).

source

Update WSL

December 28th, 2018 No comments

$ sudo apt update
$ sudo apt upgrade

Add parameter to registry from batch

December 28th, 2018 No comments

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "http=proxy-url:port;https=proxy-url:port;ftp=proxy-url:port;socks=proxy-url:port;" /t REG_SZ /f

source

CTRL+ALT+Delete in Remote Desktop

December 28th, 2018 No comments

Method 1

  • In RDP, the “CTRL + ALT + End” combination will work.

Method 2

  1. On the Remote Desktop, select “Start”.
  2. Type “osk”, then open the “On Screen Keyboard”.
  3. Press “Ctrl” and “Alt” on the physical keyboard, then select “Del” on the osk window.

source

Windows CMD command line

December 8th, 2018 No comments

Windows Subsystem for Linux

November 22nd, 2018 No comments

Windows Subsystem for Linux (WSL) is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10 and Windows Server 2019.

WSL provides a Linux-compatible kernel interface developed by Microsoft (containing no Linux kernel code), which can then run a GNU user space on top of it, such as that of Ubuntu, openSUSE, SUSE Linux Enterprise Server, Debian and Kali Linux. Such a user space might contain a Bash shell and command language, with native GNU/Linux command-line tools (sed, awk, etc.), programming language interpreters (Ruby, Python, etc.), and even graphical applications (using a X11 server at the host side). (wikipedia)

 

How to remove automatically added keyboard layouts?

February 9th, 2016 No comments

To remove the unwanted layouts by creating an IgnoreRemoteKeyboardLayout DWORD in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

and setting it to 1

Source

Code Analysis for C++

January 8th, 2016 No comments

Windows: “God Mode”

August 10th, 2015 No comments

GodMode is a folder that brings together a long list of customization settings allowing you to change all your settings from one place.

To turn on God Mode, create a new folder on your desktop (or anywhere you’d like) and name it:

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Additional hidden control options:

  • Action Center.{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}
  • Backup and Restore.{B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}
  • Biometric Devices.{0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}
  • Credential Manager.{1206F5F1-0569-412C-8FEC-3204630DFB70}
  • Default Location.{00C6D95F-329C-409a-81D7-C46C66EA7F33}
  • Devices and Printers.{A8A91A66-3A7D-4424-8D24-04E180695C7A}
  • Display.{C555438B-3C23-4769-A71F-B6D3D9B6053A}
  • HomeGroup.{67CA7650-96E6-4FDD-BB43-A8E774F73A57}
  • Location and Other Sensors.{E9950154-C418-419e-A90A-20C5287AE24B}
  • Notification Area Icons.{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
  • Recovery.{9FE63AFD-59CF-4419-9775-ABCC3849F861}
  • RemoteApp and Desktop Connections.{241D7C96-F8BF-4F85-B01F-E2B043341A4B}
  • Speech Recognition.{58E3C745-D971-4081-9034-86E34B30836A}
  • Troubleshooting.{C58C4893-3BE0-4B45-ABB5-A63E4B8C8651}
  • Administrative Tools.{D20EA4E1-3957-11d2-A40B-0C5020524153}
  • All .NET Frameworks and COM Libraries.{1D2680C9-0E2A-469d-B787-065558BC7D43}
  • All Tasks (Control Panel).{ED7BA470-8E54-465E-825C-99712043E01C}
  • AutoPlay.{9C60DE1E-E5FC-40f4-A487-460851A8D915}
  • BitLocker Drive Encryption.{D9EF8727-CAC2-4e60-809E-86F80A666C91}
  • Computer Folder.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
  • Default Programs.{17cd9488-1228-4b2f-88ce-4298e93e0966}
  • Ease of Access Center.{D555645E-D4F8-4c29-A827-D93C859C4F2A}
  • Font Settings.{93412589-74D4-4E4E-AD0E-E0CB621440FD}
  • Get Programs.{15eae92e-f17a-4431-9f28-805e482dafd4}
  • Manage Wireless Networks.{1FA9085F-25A2-489B-85D4-86326EEDCD87}
  • Network and Sharing Center.{8E908FC9-BECC-40f6-915B-F4CA0E70D03D}
  • Network Connections.{7007ACC7-3202-11D1-AAD2-00805FC1270E}
  • Network Folder.{208D2C60-3AEA-1069-A2D7-08002B30309D}
  • Parental Controls.{96AE8D84-A250-4520-95A5-A47A7E3C548B}
  • Performance Information and Tools.{78F3955E-3B90-4184-BD14-5397C15F1EFC}
  • Personalization.{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}
  • Power Options.{025A5937-A6BE-4686-A844-36FE4BEC8B6D}
  • Programs and Features.{7b81be6a-ce2b-4676-a29e-eb907a5126c5}
  • Sync Center.{9C73F5E5-7AE7-4E32-A8E8-8D23B85255BF}
  • System.{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}
  • User Accounts.{60632754-c523-4b62-b45c-4172da012619}
  • Windows Firewall.{4026492F-2F69-46B8-B9BF-5654FC07E423}
  • Windows SideShow.{E95A4861-D57A-4be1-AD0F-35267E261739}
  • Windows Update.{36eef7db-88ad-4e81-ad49-0e313f0c35f8}