
IcemanND
PatronContent Type
Profiles
Forums
Events
Everything posted by IcemanND
-
turn off "Use simple file sharing" then it will use the windows logon.
-
How to get an user's Startup folder
IcemanND replied to ponghy's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
@ponghy - Strange it works on every machine I've tried it in, both domain and non-domain systems. Sure it's not an issue with your system? -
How to get an user's Startup folder
IcemanND replied to ponghy's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
that will work if you are after the startup folder for the All Users profile, for a specific user who is not logged in try this SPECIFIED_USER="UserID" strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set WshShell = WScript.CreateObject("WScript.Shell") Set objAccount = objWMIService.Get ("Win32_UserAccount.Name='" & SPECIFIED_USER & "',Domain='" & CreateObject("WScript.Network").UserDomain & "'") x=wshshell.regread("HKEY_USERS\" & objAccount.SID & "\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Startup") wscript.echo x -
script to pull info from user accounts into text file
IcemanND replied to paul_mat's topic in Windows 2000/2003/NT4
search for the scripting guys on microsofts website, they've got a bunch of these kind of scripts. -
Is there anyway to reboot without safemode!?
IcemanND replied to breadandbubbles's topic in Windows XP
Why are you trying to install XP pro from safe mode? Just boot from the cd and do the install that way. -
Installing TCP/IP Printer
IcemanND replied to The Glimmerman's topic in Unattended Windows 2000/XP/2003
I ran your script on my machine and had no problems at all. Even when some or all of he components were already installed I rcvd no errors. I'd look at permission problems like cluberti suggested. -
or get another upgrade you want that is a 1x, 2x,4x pci-e card and install it, you always wanted an 8 port sata raid card right.
-
how to change nic from 10 full/half to 100 full
IcemanND replied to staples's topic in Windows 2000/2003/NT4
if it is the solution to this problem post it here. if it's really long make it an attachment. -
Stopping firewire device by scripting
IcemanND replied to PabloDiablo's topic in Windows 2000/2003/NT4
try DEVCON from Mocrosoft. Its a command line utility for enabling/diabling hardware devices. -
Ouch! Scripts are supposed to make life easier. see this http://www.msfn.org/board/index.php?showto...ndpost&p=279415 And its 885835 and 885250 that conflict al of the others which have integrate switches should work fine, those without integrate switches either install from runonce, after the install or use one of the many other methods found on this board.
-
to get xp onto all of the machines: First how many machines and how many different models? three options: 1. Create an image they way you want it, sysprep it and then capture it. deploy to other machines, works great if you only have 1 or 2 different kinds of machines. 2. Create unattended cd which does the install of os, drivers, apps. Takes longer to deploy than images, but is flexible for any kind of machine as long as you have the drivers for that machine on the cd (search for BTS driverpacks). 3. Setup a RIS server and install machines remotely over network, great for a large number of machines, once up and working properly it can be done over night to every machine you manage. but it requires a domain controller if I remember correctly, not sure if it will work with nt4. NExt securing machines, depends upon how nice/cruel you want/need to be. First only give the users User rights. If they need to install something they have to come to you. (alternatively, create and admininstall account which you deny logon rights to but allows user to use to RUN AS for installs. If you want to be real cruel get a product called DeepFreeze, you can lock down the hard drive so that no changes can be made from within the os. You just reboot and its back to its virgin pristine state, it has built in options for updating the os and virusscan. It's a really good idea to do this on student use machines. If the users are roaming around and using multiple machine roaming profiles are a good idea but I wouldn't implement it until you've upgradedd the server. I'm assuming that each user has some network file storage of some kind to store their data so they would just have to be trained to keep their files in it.
-
Check out http://www.apricorn.com, they have usb and pcmcia adapters that come with software to do just what you are after, for $80-$100. Or get two 3.5" to 2.5" hard drive adapters to put the drives in a desktop and duplicate them there. If you are using the IBM installed OS and it has the diag/utility partition on the front sometimes they won't boot from the new drive after using Ghost.
-
@bigdaddy - don't know why it wouldn't show up via microsoft updates, it started downloading to my machine two days ago via automatic updates.
-
Batch install of updates possible?
IcemanND replied to JimmyW's topic in Unattended Windows 2000/XP/2003
here's what I use: http://www.msfn.org/board/index.php?showto...820&hl=KB885250 -
Need help with Adapter Specific settings
IcemanND replied to Joe User 99's topic in Unattended Windows 2000/XP/2003
Try this, but it will only work for one adapter: Add to sysprep.inf [Net Adapters] Adapter1 = params.Adapter1 [NetBindings] Disable = MS_Server Adapter1 [MS_TcpIP] EnableAdapterDomainNameRegistration=No -
Need help with Adapter Specific settings
IcemanND replied to Joe User 99's topic in Unattended Windows 2000/XP/2003
Well this should do half of it: UNCHECK the "Register this connection's address in DNS" On Error Resume Next Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 arrComputers = Array("localhost") For Each strComputer In arrComputers Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration where IPEnabled=TRUE", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) For Each objItem In colItems result=objItem.SetDynamicDNSRegistration(False,false) next next See Win32_NetworkAdapterConfiguration for the return codes. 0= success no reboot, 1=success need reboot, anything else is an error. -
Need your advice about information retrieval syste
IcemanND replied to Hedin's topic in Software Hangout
more specifics woud be helpful. What kind of information? How do you want ot collect it? Where are you putting it? How many computers? -
run a hotfix with /L will also list installed hotfixes, though not all hotfixes suuport this switch, most do
-
check and see if any of the accessibility options are turned on, and check drag lock in the mouse control panel.
-
win2000 fails to recognize ghosted image
IcemanND replied to williamc's topic in Windows 2000/2003/NT4
It doesn't like the HD controller in the other system, the drivers aren't installed for the other controller. You should be able to run a full repair and get it too boot. If you want to make images that can do this install the drivers for each controller you'll encounter and run sysprep. Do a search for univdersal image in the forum for more info. -
I always forget about the replace function in the SET commmand. Here's a shorter version which takes care of the empty field problem setlocal enabledelayedexpansion type>done.csv 2>nul set line= for /f "delims=" %%i in (test.csv) do ( set line="%%i" set repl=!line:,=","! echo !repl!>>done.csv ) and it's alot shorter too.
-
Where there's a will there's a way, one catch though if you have an enpty field so you end up with consecutive commas you will lose a field in that line, if there is a space between them then the space will end up in quotes. field1,field2,field3,,field5 returns "field1","field2","field3","field5" setlocal enabledelayedexpansion type>done.csv 2>nul set line= for /f "delims=" %%i in (test.csv) do ( set line= call :fullline "%%i" echo !line!>>done.csv ) goto EOF :fullline for /f "tokens=1* delims=," %%j in (%1) do ( if "!line!"=="" ( set line="%%j" ) else ( set line=!line!,"%%j" ) call :fullline "%%k" ) goto EOF :EOF
-
is it always a fixed number of fields per line? if it is and its not too many you could do this: for /f "tokens=1,2,3* delims=," %%i in (test.csv) do ( echo "%%i","%%j","%%k","%%l">>done.csv ) this does four items per row. If you have a variable number of items per line or more than just a few it would be easier to do with a VB script.
-
create a file logout.cmd containing shutdown -L -t 60 then use logout.cmd in your scheduler. change to 60 to whatever warning delay you want in seconds. for other available options for shutdown.exe open a cmd window and type shutdown.