Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
August 27, 2000
In tip 1271, I provided the registry entries to accomplish this registry hack.
To perform this in a login script or other batch file, use REG.EXE from Supplement 4 of the Server Resource Kit.
The instructions to include are:
echo y| reg delete HKCRCLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}="My Computer"reg add HKCRCLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}="%"computername"% /%"username"%" REG_EXPAND_SZ
The echo y| pipes your confirmation of the delete. The interior quote marks around computername and username prevents their immediateexpansion.
You May Also Like