Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by prinand

  1. prinand

    Locale settings and datediff calculation errors

    Thanks, I will perform some testing detecting the locale (getlocale) and getting the day month year while using the locale is at the system default, and then convert that to the locale formatting of my liking.
  2. prinand

    Locale settings and datediff calculation errors

    we have a global network so servers around the globe have different configurations. one of the most annoying issues when scripting for all of those servers is the datetime formatting. some servers show 12/8/2010 1:30:00 PM others 8/12/2010 13:30 Or 2010-12-08 13:30 what is the best solution...
  3. prinand

    Universal image + syprep / cannot define daylight saving

    we have a global image (OS only) and we use sysprep.inf for a fully automated install. in the windows PE bootdisc that we use we have an HTA form where we can provide the PC name, timezone, region and keyboard, and those values are inserted into the systprep.inf on the local HDD, so when it...
  4. prinand

    Data migration strategy

    USMT will do the job that is not the point, what I am trying to find out is if there is an option to do it live from one machine to the other, without having an intermediate store as this store doubles the migration time... this is intended for usage by all site support persons for our company...
  5. prinand

    Data migration strategy

    the only product we have right now is USMT.
  6. prinand

    Data migration strategy

    I am trying to sort out a migration strategy. one of them is when a customer gets a new PC (side by side migration): in this scenario doing a full migration as in a wipe and load takes twice the time. (first an hour or so to backup the "old PC" and then another hour or so to restore it to the...
  7. prinand

    bad password count - replication

    Troubleshooting frequent lockout's for a customer. I did download ALTools.exe from microsoft and the LockoutStatus.exe utility displays the bad password count on all our DC's (search microsoft technet for more info on the tools) there is one DC that is showing that my bad password count is 1...
  8. prinand

    how do I get a field value of this XML return ?

    Thanks a lot. just tried that, and that works. the complete working code is : Set objXMLDoc = CreateObject("Microsoft.XMLDOM") XMLString= USDWebService.doSelect(iSID, sObjectType, "last_name LIKE '%dt_nl_vels%'", 10, arrChangeRequestAttr) objXMLDoc.async = False...
  9. prinand

    how do I get a field value of this XML return ?

    I am having a problem processing XML reply string from a web services query <?xml version="1.0" encoding="UTF-8"?> <UDSObjectList> <UDSObject> <Handle>cnt:CCA48</Handle> <Attributes> <Attribute DataType="2009"> <AttrName>id</AttrName> <AttrValue>CCA48E467FCD5946B3F944778F885C28</AttrValue>...
  10. prinand

    create Unicode file

    Sorry, guys, intended to respond last night and show the code, but never touched the PC... I have resolved it indeed via the dumb method - that is exactly what I do now, but I figured there must be a smarter method.... set fs = CreateObject("Scripting.FileSystemObject") Set logfilefs =...
  11. prinand

    create Unicode file

    SO my ultimate question would still be HOW ??? let me explain in more detail : if I save to a a file c:\test it becomes in UTF HEX : FF FE 43 00 3A 00 5C 00 74 00 etc the way I saved it, FF FE was at the beginning of the file. so could someone show me the code to write c:\temp in the...
  12. prinand

    create Unicode file

    I want to create a unicode file - and it works OK, EXCEPT it saves 2 codes at the start of the file : FF FE (only see them if you open with a HEX editor... I saw in thread222-927492 (the only thread that was found when doing a search for "file FF FE" ) a remark that a Unicode file always...
  13. prinand

    Add Local System to security group

    while I was answering your question, I looked at it again and refrased my search and that solved it. it's very simple : Set objLocalGroup = GetObject("WinNT://" & strComputer & "/Backup operators,group") objLocalGroup.add("WINNT://NT-AUTHORITY/SYSTEM") that's all... (off course you get an...
  14. prinand

    Add Local System to security group

    I have a list of servers where I have to add the SYSTEM to a security group Set objLocalSystem = GetObject("WinNT://" & strComputer & "/SYSTEM,group") Set objLocalGroup = GetObject("WinNT://" & strComputer & "/Backup operators,group") objLocalGroup.add(objLocalSystem) however I cannot select...
  15. prinand

    How to select the proper rows ?

    Hey AlexCuse thanks a lot ! (and the rest too for the quick responses) I did not know you could define a select as a "kind of" temp table called b as you did I was already looking at creating and dropping a table but this is much easier thanks all, this solved my issues ! an idiot can ask...

Part and Inventory Search

Back
Top