• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Referencing Windows Registry in Login Scripts?

Sochin

Junior Member
Does anyone know if it can be done? I thought of it as a way to keep certain information on our office laptops up-to-date. I don't necessarily want this info to get on the desktops, so that presents a problem. Of course, you can't specify login scripts by machine (pity)... The only thing that differentiates a laptop from a desktop on our NT network is the naming convention we use in naming the systems. In Network Neighborhood, laptops show up as "LP*****", whereas desktops show up as "PC******". The computer's name is stored in the registry key "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName", so I'm thinking that if I can just write a line in the login script that will query this registry key, I can pull off what I'm trying to do.

As always, I appreciate any help.
 
Back
Top