krinid,
Your companies AD structure may be different from mine. Use the following code to get your companies basic AD structure. As AD structure shouldn't ever change, you shouldn't need to put this inside a program. So I made this to work in VBS. Just drop it in a text file and rename the...
I found it! It is remarkably simple. I thought it would involved complicated API calls, but it doesn't. You simply need to know the RDN of the Users in your domains' AD. They you make a GetObject call.
Here is the code I used.
Option Explicit
Dim oOU, strContainer, strUser, strFirst...
I know how to get the UserName using the ENVIRON("USERNAME") command. In WinXP and Win2K, if you press Ctrl-Alt-Del, you can see the users full name as well as his UserName. Is there any way to capture this information?
Thanks.
Thanks, TomT.
I am, however, confused about how to impliment this code. Is this a VBA scipt? I couldn't find anything about it in the Help feature or in the Object Browser.
Thanks again
I need to pull data from a cell with VBA. The problem is that the cell is doing a VLOOKUP. So when the code runs, it gets a Type Mismatch error.
How do I pull the data that is displayed in the cell from the VLOOKUP as opposed to the actual VLOOKUP?
Thanks!
From my experience, a rebooting machine means either the powersupply or the motherboard is going bad. Sense you flashed it and it seemed to fix the re-booting problem but now has on-board video and sound problems, I think your MB might be going. That's the problem with "compleate...
Is the machine pre-built (such as Dell or Compaq) or a custom-built (such as you or someone you know put it together)?
If it is a pre-built you can probably get the driver from the manufacturer's web site.
If it is custom-built you should be able to get the driver from the motherboard...
I have an old video card that does the same thing. It is a standard 4MB card that was so popular for a while. Unfortunatly, the company who made it is out of buisness and no drivers have been made sense Win98a. It won't even work in NT/2K/XP at all.
If you can find new drivers or flash BIOS...
tsuji,
I'm trying to use your above script that works with 9x/NT. I need to be able to write the files to a specific drive\folder. Is that what your outfile var is for?
Thanks.
Thanks, that worked great.
We are using IBM T22 Laptops. They will only let you have either a CD-ROM or an A: drive in at once. Two million laptops on the market, and we have to go and buy the 1% that doesn't have both drives in simultaneously AND that hase multipule sets of drivers...
Painkiller,
I am trying to use this bit of code to determine weather or not a computer has an A: drive. (So I can tell if it is a laptop or not.) The problem I have is that when running I get an error that it doesn't know what scripting.FileSystemObject is.
I have made a reference to Windows...
I think I am misunderstanding. What is GP?
We have our scripts stored on a DC under the NETLOGON share. I will try and find out exactly where you tell W2K to look for a log-in script as default.
In AD Users and Computers you double-click on the user and go to the "Profile" tab...
You can do an easy script that runs very fast in VB. W2K will run VBS without any special DLL's like NT4 needed.
Here is an example:
'---------
'login.vbs
'---------
on error resume next
Set WshNetwork = WScript.CreateObject("WScript.Network")
'-------------------------
'Remove old...
I have an AMD 1.333 overclocked to 1.46 that was running at around 50C. I installed a 2CoolPC fan ( http://www.2coolpc.com/Cooling_Solutions/index.html ) into my system and sysoft now tells me I'm running at 42C. I ran MechWarrior4 for 3 hours and never got above 44C.
You need to make sure...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.