Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: vbscript to pull computer name/domain for Win 7 enterprise computers

25 Jul 2013   #1
ddy1954

Win 7 enterprise 32bi
 
 
vbscript to pull computer name/domain for Win 7 enterprise computers

I currently have a vbscript to report various information on multiple Win 7 computer on the network. I need to modify the script to report the computer name and domain the computer is connected to. Where is computer name/domain stored? I have searched the Registry and found the Computer name but can't find the domain.


My System SpecsSystem Spec
.
25 Jul 2013   #2
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by ddy1954 View Post
I currently have a vbscript to report various information on multiple Win 7 computer on the network. I need to modify the script to report the computer name and domain the computer is connected to. Where is computer name/domain stored? I have searched the Registry and found the Computer name but can't find the domain.
If the machine is a member of a Domain it should be located at > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Domain

If the value is empty or if \Domain isn't showing up then it is not a member of any domain.
If it is a member, the value equals the domain name.

I see the name at > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
My System SpecsSystem Spec
Reply

 vbscript to pull computer name/domain for Win 7 enterprise computers




Thread Tools






Similar help and support threads
Thread Forum
Windows 7 computer can see other computers on domain, others can't
I'm having a really weird issue with a Windows 7 computer at my workplace. The computer can see and access the other computers on the domain, but other computers can't access it. (They can, however, see it on the domain.) I've checked everything from the firewall to various domain login scripts...
Network & Sharing
How to have computers on a domain access each other
I have a small domain - Windows 2000 - with several computers, including a Linux server connected via Samba. One computer (work station) runs Windows 7 and another (notebook) runs Windows 8. I would like to have the notebook able to send files to the workstation. What do I need to change so this...
Network & Sharing
Remote Desktop from workgroup computer to domain computer
I am having trouble establishing how to make a remote desktop connection using RDP from my home computer which is on a workgroup to my work laptop which is on a domain. I work from home occasionally and would like to be able to use RDP in order to use my keyboard mouse and monitor without buying a...
Network & Sharing
Windows 7 Domain Computers Problem with copies to network drives
Hello, I work in a company with almost 80 Windows 7 computer and another 200 or 250 Windows Xp computers in the domain, sometimes when users try to copy information to the File Server (Windows Server 2008) or to the network, the copy starts but never finish. It just stay there and the only way...
Network & Sharing
Account Operators, Domain Admins, Enterprise Admins
For some reason in Windows 7, my BitDefender anti virus software shuts down periodically and I have to restart it by going to services.msc in the search prompt and force restart of the program. Today I clicked on properties and it displayed some actions I could take after the program shuts down...
System Security
Account Operators group, the Domain Admins group, the Enterprise Admin
how do I add these permissions to my account? I'm trying to change "How a Service is Started" and it won't let me without one of these persmissions. thx
Customization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:02.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App