WMDC IN WINDOWS 11 OR WINDOWS 10
WMDC in Newer Versions of Windows
We have verified that this information is also applicable for computers running Windows 11.
If you absolutely need to use WMDC in a newer version of Windows, some possible methods to get it to work are listed below.
Most Common Method
The most common method used to get WMDC to work is to run our WMDC-fixes-for-Win10.msi patch utility, which may fix WMDC automatically after a restart.
The video below provides step-by-step installation instructions.
- Download the 64-bit drvupdate-amd64.exe or the 32-bit drvupdate-x86.exe. There are two parts to this installation.
- For more information see Microsoft Windows Mobile Device Center—ActiveSync.
- Download our patch WMDC-fixes-for-Win10.msi.
- Restart your computer.
- Open WMDC on your computer.
- Plug in a cable between your handheld device and computer to establish a connection.
If the WMDC has any problems after running this utility and a restart, visit our article WMDC Will Not Fully Install, Connect, or Uninstall.
Other Methods
There are other methods of getting WMDC to work, but they are older and usually unnecessary.
If you are using a previous version of Windows 10, you can use WMDC-Helper.exe.
- Save the above file to your desktop PC.
- Locate the file through File Explorer.
- Right-click on the file to Run as administrator (even if you are already logged in as an admin).
If you are still encountering problems, you can find other solutions in our Previous WMDC Fixes for Windows 10 article.
www.zone-h.org
Zone-H is an archive of defaced websites.
http://www.zone-h.org/archive/filter=1/published=0/domain=.pl/fulltext=1/page=2
How To Access The Windows Startup Folder for All Users
Startup Folder on Windows 10, Windows 11, Windows Server 2019
- One Startup folder that operates at the system level and is shared among all user accounts
- Another Startup folder that operates at the user level and is unique to each user on the system
The All Users Startup folder is found in the following path:C:\ProgramData\Microsoft\WindowsStart Menu\Programs\StartUp
To access the “All Users” Startup folder in Windows 10, open the Run dialog box (Windows Key + R), type shell:common startup
The Current User Startup folder is located here:
C:\Users[User Name]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
For the “Current User“ Startup folder, open the Run dialog and type shell:startup rather shell:common startup
Locating Windows Startup Folder Programs from Command Prompt
wmic startup get caption,command
Locating Startup Programs in Registry
To access it, press WIN+R and type REGEDIT and go to:
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run”
The startup folder path for the current user is C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
. The startup folder path for all users is C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
.
The following run keys are created by default on Windows systems:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
Run keys may exist under multiple hives. The HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
is also available but is not created by default on Windows Vista and newer. Registry run key entries can reference programs directly or list them as a dependency. [4] For example, it is possible to load a DLL at logon using a "Depend" key with RunOnceEx: reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0001\Depend /v 1 /d "C:\temp\evil[.]dll"
[5]
The following Registry keys can be used to set startup folder items for persistence:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
The following Registry keys can control automatic startup of services during boot:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices
Using policy settings to specify startup programs creates corresponding values in either of two Registry keys:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
Get SID of users
In Windows environment, each user is assigned a unique identifier called Security ID or SID, which is used to control access to various resources like Files, Registry keys, network shares etc. We can obtain SID of a user through WMIC USERACCOUNT command. Below you can find syntax and examples for the same.
Get SID of a local user
wmic useraccount where name='username' get sid
For example, to get the SID for a local user with the login name ‘KARL, the command would be as below
wmic useraccount where name='KARL' get sid
Get SID for current logged in user
To retrieve the SID for current logged in user we can run the below command. This does not require you to specify the user name in the command. This can be used in batch files which may be executed from different user accounts.
wmic useraccount where name='%username%' get sid
Get SID for current logged in domain user
Run the command ‘whoami /user’ from command line to get the SID for the logged in user.
Example:
c:\>whoami /user USER INFORMATION ---------------- User Name SID ============== ============================================== mydomain\wincmd S-1-5-21-7375663-6890924511-1272660413-2944159 c:\>
Get SID for the local administrator of the computer
wmic useraccount where (name='administrator' and domain='%computername%') get name,sid
Get SID for the domain administrator
wmic useraccount where (name='administrator' and domain='%userdomain%') get name,sid
Find username from a SID
Now this is tip is to find the user account when you have a SID. One of the readers of this post had this usecase and he figured out the command himself with the help of the commands given above. Adding the same here.
wmic useraccount where sid='S-1-5-21-1471586919-1128665872-1817863081-504' get name