mniccum
MemberAbout mniccum

Contact Methods
-
MSN
mikeniccum@hotmail.com
-
Website URL
http://
mniccum's Achievements
0
Reputation
-
I have an application on a CD that will be sent out to the field and requires some additional applications be installed. I need flash, mp10, and ie6sp1 installed on a locked down Windows 2000 Pro machine. Is there any built in way to run apps as a diff user? If not, does anyone have any ideas on ways to accomplish this even if the username and password is in clear text somewhere on the CD (I would prefer an encrypted username and password though)? Thanks, mniccum
-
Can some please send the Windows XP looking xml file to mikeniccum at hotmail dot com? I can't download the XML files listed in this thread. Thanks
-
Windows Post Installer version 3.2 beta
mniccum replied to Coolsights2000's topic in Unattended Windows 2000/XP/2003
Does it hurt when you get hit by lightening? j/K -
Windows Post Installer version 3.2 beta
mniccum replied to Coolsights2000's topic in Unattended Windows 2000/XP/2003
ABC -
how to determine if machine has cdr ?
mniccum replied to mniccum's topic in Unattended Windows 2000/XP/2003
I wrote this script which works quite well to enumerate WMI class properties which when used with Win32_CDROMDrive I was able to determine if it was a burner. strComputer = "." strWMIClass = "Win32_CDROMDrive" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from " & strWMIClass,,48) For Each objInstance In colItems For Each objProperty In objInstance.Properties_ If IsArray(objProperty) Then For iCount = 0 To UBound(objProperty) MsgBox objProperty.Name & vbTab & objProperty.Value(iCount) Next ElseIf IsNull(objProperty) Then MsgBox objProperty.Name Else MsgBox objProperty.Name & vbTab & objProperty.Value End If Next Next 'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_classes.asp Thanks for all the recommendations , Mike N -
Add a modem connectoid during unattended install
mniccum replied to mniccum's topic in Unattended Windows 2000/XP/2003
That will work great except for the fact that the modem isn't the same on every box. I think I can use win32_potsmodem to find the installed modem name and plug it into the rasphone.pbk after it gets copied over. I think I can open the rasphone.pbk and search and replace these lines with the modem name: preferreddevice = device = Thanks for the info -
Install Printer Drivers During Unattended Win2K/XP
mniccum replied to mniccum's topic in Unattended Windows 2000/XP/2003
We support the 3 models listed in my last post. I just wanted to make sure that when the user plugged in the printer locally that the driver would be there and get installed. I found by adding the printer driver files in the pnpdrvs folder, like I do all the others, they became available in the list of printers (when installing a new printer). I also had to add the folder paths to OemPnPDriversPath= in the unattend.txt file. I am assuming, without testing yet, that the printer driver will install once I plug one of the 3 printers in. Thanks -
Is there any way to make convert.exe run silently? Thanks, Mike Niccum
-
I have many different models of CPQ/HP laptops of which some have burners and some don't. I have an unattended XP install that also installs all required apps. Roxio comes with the newer laptops that have a CDR/DVD. I was wondering if there was a way to determine if a machine had a CDR/DVD type device so I could determine if the machine needed Roxio. I would just install Roxio on all laptops but only the ones with CDR are licensed for it. Maybe a VBS using WMI or some commandline exe.... Thanks, Mike Niccum
-
I believe if you disable 'Fast User Switching' service you will get a Windows 2000ish logon. When a pc joins the domain, this service is disabled by default and the Windows 2000ish logon is displayed. Autologon specific keys: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="administrator" "AltDefaultUserName"="administrator" "AutoAdminLogon"="1" "DefaultPassword"="password" "DefaultDomainName"="DOMAIN" "AltDefaultDomainName"="DOMAIN" Mike Niccum
-
If I understand correctly, you want to add a group/user to the "Remote Desktop Users" group? Dim strPDC Dim strLocalMachine Dim strUser Dim strGroup strPDC="domain or computername here" strUser="Group/User here" strGroup="Remote Desktop Users" Set objShell = WScript.CreateObject("WScript.Shell") strLocalMachine = objShell.ExpandEnvironmentStrings("%computername%") Set oDomain = GetObject("WinNT://" & strLocalMachine) Set oGroup = oDomain.GetObject("Group", strGroup) If oGroup.IsMember("WinNT://" & strPDC & "/" & strUser) = False Then oGroup.Add ("WinNT://" & strPDC & "/" & strUser) End If Set oDomain=Nothing Set oGroup=Nothing I believe you will have to be logged in with a domain account for this script to work if you are adding a domain group. Mike Niccum
-
I have received so much useful info from this site that I though I would post something that I hope is useful for someone. I have all COmpaq computers and wanted to name them the serial number during an unattended setup to keep uniqueness. I placed this vbscript in the runonceex and it places the serial number in the sysprep.inf as the computername. The original syspre.inf has a computername of #### which will be replaced with the serial number. 'prep dim Bios, BiosSerial, objFSO, objTextFile 'Const ForReading = 1, ForWriting = 2, ForAppending = 8 'get serial number for each Bios in GetObject("winmgmts:").InstancesOf ("win32_bios") BiosSerial = Bios.SerialNumber exit for next 'open file and read into memory, replace #### with serialnumber Set objFSO = CreateObject("Scripting.FileSystemObject") r="c:\sysprep\sysprep.inf" Set objTextFile = objFSO.OpenTextFile(r,1) s = objtextfile.readall x = "####" snew = Replace(s,x,biosserial) objTextFile.close set objtextfile=nothing 'delete old file objfso.DeleteFile r, true 'write new file set objTextFile = objfso.CreateTextFile® objTextFile.Write snew objTextFile.Close set objTextFile = nothing 'messagebox 'msgbox "Computername changed to " + BiosSerial + "...", yes Mike Niccum