Content Type
Profiles
Forums
Events
Everything posted by Martin Zugec
-
shortcut pointing to network share causes reboot
Martin Zugec replied to lcohen999's topic in Windows XP
You could use WSUS... Hope so the test will be successful -
shortcut pointing to network share causes reboot
Martin Zugec replied to lcohen999's topic in Windows XP
Hello, sorry for later response, I didnt have time till now You have Broadcom NIC, right? And the driver for this NIC is your problem (b57). Try to replace it, if it wont help, send me more dmp files. Martin -
Did you have a look at MS Shared Computers Toolkit? I am not sure if this is exactly what you are looking for...
-
I cant, I am not Mod anymore
-
XML writers request!!! Come on guys, I think Winstaller will be really useful when it will contain every possible settings.
-
Batch Script Tips and Tricks for XPCDs
Martin Zugec replied to DarkShadows's topic in Unattended Windows 2000/XP/2003
BTW maybe you found interesting my series of "tricks" for batches... I so, check my blog -
"Setup Is Starting Windows..."
Martin Zugec replied to MOONLIGHT SONATA's topic in Unattended Windows 2000/XP/2003
Added post about common problems during deployment projects Check my blog Martin -
2itibd: I love to try&learn, however this specific task (search&replace) is really hard-to-achieve with internal commands (I mean it is not worth trying)... As you can see on Iceman example, it can be performed, however I thing using external utility for this task is much better and error-prone. I know this is not related to your problem, however this is the method I am something implementing search&replace operations= In batches you can implement this syntax: Set var=%var:searchfor=replace% Like for example Set test=1,2,3 Set test=%test:3=1% The variable %test% will now have values 1,2,1... Maybe you find it useful sometime. If you are interested in advanced batch scripting, check my blog
-
"Setup Is Starting Windows..."
Martin Zugec replied to MOONLIGHT SONATA's topic in Unattended Windows 2000/XP/2003
BTW I changed blog address to http://msmvps.com/martinzugec... I promise next entry will be about common mistakes during deployment phase -
Programmers invitation
Martin Zugec replied to Martin Zugec's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Hmmm, I can see the problem The Win32_ScheduledJob class doesnt support that kind of job I would like to see Looks like we will need to find some workaround... Dman, what do you think, could you create it using C++? I would like to use as less as possible of .NET, because it require runtime -
"Setup Is Starting Windows..."
Martin Zugec replied to MOONLIGHT SONATA's topic in Unattended Windows 2000/XP/2003
And if you remove that entry? BTW it is classical mistake during deployment, I spoke about it yesterday at presentation Include only necessary settings, dont define settings that you dont need to.. -
Programmers invitation
Martin Zugec replied to Martin Zugec's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
2Dman: No prob, this is hobby project 2GSM: Nope, that is not good The problem is any error during script will block whole execution, whether batch services are independent on each other + you can create threaded execution... If it is really big problem, I could write it in .NET... -
Go for WMIC! I bet you will be surprised what can be done using this "little" command... And when you will think you know, well, almost everything about it, you will find out there is chance to use "full" mode that have much more oportunities...
-
What is easiest way to run RunOnceEx again?
Martin Zugec replied to drscouse's topic in Unattended Windows 2000/XP/2003
Try to not run shutdown directly - use cmd instead (put the shutdown command to batch and add pause to last line) -
shortcut pointing to network share causes reboot
Martin Zugec replied to lcohen999's topic in Windows XP
The problem as I see it is not with network share, but with application... Check %windir%\MiniDump, if you can see any files inside... -
Programmers invitation
Martin Zugec replied to Martin Zugec's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Maybe someone might help me... I need to import configuration files for batches to GUI... Inside these files are variables, dont any of you have function for parsing these variables? I am working in VB.NET, however code written in C# will be fine for me. -
shortcut pointing to network share causes reboot
Martin Zugec replied to lcohen999's topic in Windows XP
Hmmm, didnt you forget to deselect Reboot at BSOD? -
What is easiest way to run RunOnceEx again?
Martin Zugec replied to drscouse's topic in Unattended Windows 2000/XP/2003
Just have a look to registry structure... There are keys, that are independent on each other, so I dont see a reason why this shouldnt work. -
What is easiest way to run RunOnceEx again?
Martin Zugec replied to drscouse's topic in Unattended Windows 2000/XP/2003
Hmmm, dont understand - ROE is based on components, every component is removed from registry when it is processing (not entry, just target)... So if you create one looong ROE with internal restarts, it should continue after the place where restart occured. -
Need help making a reg query batch.
Martin Zugec replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
OOps, sorry, not Set, but Call method... Call SetMTU etc... -
Need help making a reg query batch.
Martin Zugec replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
Simple - no need for identificators etc... And the main reason is that when you know syntax of WMIC, you can access ANYTHING (really ) -
Install based on Desktop or Laptop
Martin Zugec replied to RogueSpear's topic in Unattended Windows 2000/XP/2003
Ah, sorry, now I see what you mean. Here is the code I am using in my environment: 'PC type based actions 'Martin Zugec '29.6.2005 strComputer = "." Set objShell = WScript.CreateObject("WScript.Shell") Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set arrayChassis = objWMIService.ExecQuery _ ("Select * from Win32_SystemEnclosure") Set objFSO = CreateObject("Scripting.FileSystemObject") For Each objChassis in arrayChassis For Each strChassisType in objChassis.ChassisTypes Select Case strChassisType 'Case 3 - Desktop Case 8 ' Notebooky ' Nastavenie klavesnice na ENG ako default strSwitchKeyboardRegFirst = "HKEY_USERS\.DEFAULT\Keyboard Layout\Preload\1" strSwitchKeyboardRegSecond = "HKEY_USERS\.DEFAULT\Keyboard Layout\Preload\2" objShell.RegWrite strSwitchKeyboardRegFirst, "00000409", "REG_SZ" objShell.RegWrite strSwitchKeyboardRegSecond, "00000405", "REG_SZ" End Select Next Next Right now I am using three different codes - this one is based on pc type (desktop, notebook etc.), second is based on computer model (gx270, gx280 etc.) and the last one (my favourite ) is based on PnP identifiers... -
Need help making a reg query batch.
Martin Zugec replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
Study WMIC, it is really awesome command... You can use "where", so you can select only one NIC... For example WMIC NicConfig Where Description="Broadcom NetXtreme" Set SetMTU = 1500 The "HowTo" is simple. Run command Wmic NicConfig list full Find your NIC and find unique settings that it contains... Thats all. -
Programmers invitation
Martin Zugec replied to Martin Zugec's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
So guys (Dman and GSM), how are you doin? I presented SDS yesterday on one presentation and administrators were VERY interested in it