
berrick
MemberContent Type
Profiles
Forums
Events
Everything posted by berrick
-
?? SP3 i am using WinXP pro (as stated in 1st post) so no SP3 yet I will look into the log files thingy as i didnt know about them thnxs.
-
true valid subnet's must have 4 octets but if i understand mls15000 he is using a 255.255.255.0 mask which means the IP's he listed are the network IP's without the zero. As he is only interested in the network portion of the IP info we dont need to bother with the last octet Correct me if im wrong
-
bump! NE1 i dont understand why
-
Hi, Not sure about the script you posted, dont think it'll run. but you might like to try this script that i wrote. Itz a bit messy so any pointers greatfully received Please bare in mind that if you have multiple instances of tcp running ie multiple nics virtual nics etc it will run multiple times on that computer! Also i dont have anyway to check if this script is getting valid info for the serial number..... it should but i cant check 'Local Computer strComputer = "." 'Change next two lines for relevant subnets AMSsubnet = "192.168.0" ATLsubnet = "192.168.174" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set IPConfigSet = objWMIService.ExecQuery("Select IPAddress from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE") Dim colSettingsComp : Set colSettings = objWMIService.ExecQuery("Select * from Win32_ComputerSystem") Dim colSettingsBios : Set colSettingsBios = objWMIService.ExecQuery("Select * from Win32_BIOS") Dim objComputer, strSerial 'Uncomment next three lines if you want Computer Model 'For Each objComputer in colSettings ' strModel = objComputer.Model 'Next For Each objComputer in colSettingsBios strSerial = objComputer.SerialNumber Next 'next line to display Computer serial number if found - test purposes only wscript.echo strSerial 'test which subnet computer IP matches then append AMS/ATL to beginning of serial number For Each IPConfig in IPConfigSet If Not IsNull(IPConfig.IPAddress) Then 'Change the number 9 on line below to match the total number of characters in your subnet - dont include the zero example is 255.255.255.0 if AMSsubnet = LEFT(IPConfig.IPAddress(i),9) then 'If IP matches AMS subnet SET computer name to AMS + strSerial - replace "1234" with strSerial CompName = "AMS" + "1234" 'next line to display Computer serial number if found - test purposes only wscript.echo IPConfig.IPAddress(i), CompName 'Change the number 11 on line below to match the total number of characters in your subnet - dont include the zero example is 255.255.255.0 Elseif ATLsubnet = LEFT(IPConfig.IPAddress(i),11) then 'If IP matches AMS subnet SET computer name to ATL + strSerial - replace "1234" with strSerial CompName = "ATL" + "1234" 'next line to display Computer serial number if found - test purposes only wscript.echo IPConfig.IPAddress(i), CompName end if End If Next 'Change computer name to new one - change wont ask for reboot WSHShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName", CompName WSHShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NV Hostname", CompName just cut 'n' paste in to a text doc then rename to "wotever" with a .vbs extenstion. Hope this helps
-
Afternoon all, Just wondering if anyone has had this issue, where after unattended install you run windows update and it says that hotfixes that were configured to install during unattended install need installing?? I have checked that the hotfixes are in the relevant directory and are list numerically in the svcpack.inf with the correct switches. This is a winXP pro with sp1a slipstreamed and hotfixes shown by windows update to be needed. Any suggestions gratefully received
-
another way could be to install the software as a computer startup script
-
Stopping users storing data on local hard drive
berrick replied to berrick's topic in Windows 2000/2003/NT4
Thnxs for the replies... I guess i need to explain alittle more, the users have profiles pointing to their home drives. ut the users still insist on storeing data to the local c drive. it is this i would like to discuss. I could hide the c drive and stop it from being explored but am interested in what ideas others have re this challenge cheers -
I'm looking for ideas on how to do this in an AD enviroment and would like to use this forum to start a discussion on your ideas. Many thnxs
-
OKay peeps you asked i'll tell To do this from a command line you can use a command called NETSH.EXE with the following syntax netsh interface ip set address name="name of interface to bind ip data" static 192.168.200.100 255.255.255.0 192.168.200.1 1
-
Sorted it! turning file indexing off then on cured it???
-
Hi, ne1 experienced this prob............... A share on a win 2k3 server in a win 2k AD domain. DC is win2k server I create a new user in AD i add them with full rights to the win2k3 share I can now access the win2k3 share and browse but i can't do anything else??!! its almost like the permissions arent propergating down. Imput much appreciated
-
thnxs for reply I understand some of gp and AD but wanted to know if any1 here understood lots. I am trying to understand if there is away to apply screensaver policy to a computer rather then a user. These are in seperate containers. i ask the question this way so i dont influence the answer with what i know (or think i know probably being more acurate )
-
Simple question..... Does ne1 here understand how group policy works in Active Directory?
-
hi, i have a situation where xp pro computers loginin onto domain dont run startup gp in windows active directory. windoze 2k puters run the script. i have added a basic net use line to the batch file but even this is not run by the xp puters??? has ne1 got ne ideas thnxs in advance
-
another question about group policy in active directory.... Has anybody any experience of the poicy failing to run. This is a logon policy which was working and now does not input much appreciated
-
Thnxs for the interest and comment.... I belive i have remebered what i is doing wrong.. and will test my theory l8r when i get a phew mins
-
i must be missing summit.... i add this to the logon script in gpo but it dont work copy "\\server\scripts\*.*" "\\testputer\c$\documents and settings" the scripts directory is a share and the quotes as most know are because of the spaces in the command line... The above works fine if run from a cmd line just not from gpo I know the script is run as i added a net use command and that share appears but the files arent copied!! ne1 ne ideas.... can i view the script as its run????
-
thnxs 4 reply Is wot i thought but it dont work hmmmmmm
-
OK.... lets make it a little easier.. All i want to do is copy three files when a user logins. I can write the batch file but dont seem to be able to get the client name of who is logining in. ne suggestions ??
-
Hi again Just wondering wot peeps feel is the best way to copy files from win2k server to client win2k using gpo. ne info wood b appreciated
-
Hi All, Just a quickie (ooo err) Are there any utility that ne1 can think off/recommend that allow u 2 get inforamtion on user accounts such as whether an account has been logged on at all or has been used within a certian period?? Much appreciated
-
unattended install from a network share
berrick replied to berrick's topic in Unattended Windows 2000/XP/2003
thnxs for reply.... i think it brings up so many that i get a page cannot be displayed message I try again in morning when me a little more sober <HIC> thnxs again -
unattended install from a network share
berrick replied to berrick's topic in Unattended Windows 2000/XP/2003
I HAVE DUN SOME SEARCHING FOR THREADS ON SUBJECT BUT FOUND NOTHING..... I OBVIOUSLY HAVENT WORDED SEARCH RIGHT LOL NE POINTERS? -
Hi every1, has ne1 experience of doing a unattended install of win2k across a network?? If so what problems did they incounter? I have created/carried out lots of unattended installs from cd and found this site a great source of kwoledge in the past when i have got stuck. Now i would like to throw the cd's away and use the network resources.... Here hoping in advance
-
u tring to install onto ide? how far is install getting? u doing upgrade or full install?