sudhi164

Member
  • Content count

    26
  • Joined

  • Last visited

Community Reputation

0 Neutral

About sudhi164

Contact Methods

  • Website URL
    http://
  1. Hi, I have an application which is built on .net 2.0 framework. I am looking for command to execute powershell command from c#. Ex: in Powershell command prompt, we need to type "Install-WindowsFeature XPS-viewer" to enable XPS viewer. I am looking for C# code to do this. I don't want to use script file.
  2. yes, i am running in elevated privilages.
  3. Hi, I am trying to write an utility in C# for activation windows 7 OS. when i send the commands through this utility to activate the OS, i get the return value as 5 (access denied). Please let me knwo how to activate the OS through Utility. Regards, Sudhir
  4. Hi, I have a XML file which contains some values with sapace for a node. When i am trying to read the valeu from VC++ i am getting tha values without space. How to read the copleted valure with out it getting trimed. Example of XML file: <Parameter> <ParameterName>UserOptions/OperatingSystemSettings/Password</ParameterName> <ParameterValue> sudhir </ParameterValue> </Parameter> In above xml observ space at the begining and end of sudhir value. Below is the code i have to read the value. hr = ((MSXML2::IXMLDOMElement*)objXmlNode)->getElementsByTagName(strParameterValueNode)->Getitem(0)->get_text(&strParameterValue); Please let me know if any one knwos how to read teh complet values Regards, Sudhir
  5. To answer the OP's question. (without railroading him) Try a group policy to push a theme silently. or try some of the other settings in the personalization folder (inside GPEDIT) FYI, if you are not on a domain, this can be done via the registry as well For me the system will not be in domain. Please let me know which registry i need to edit to change the theme does anyone know how to do this.
  6. To answer the OP's question. (without railroading him) Try a group policy to push a theme silently. or try some of the other settings in the personalization folder (inside GPEDIT) FYI, if you are not on a domain, this can be done via the registry as well For me the system will not be in domain. Please let me know which registry i need to edit to change the theme
  7. there is Windows Classic theme present in Win 7.
  8. yes i searched, but i did not get anything in the forum
  9. i want to change the theme to Classic on many systems. how can i do this. Is there any command by executing changes theme.
  10. Hi, How to change inbuilt theme in Windows 7 with out showing any UI to the user.
  11. Yes we can remove in .wim file. But if we use other OS media then we run into this issue again. Anyway thanks for the information i got the command to avoid pressing a key. We can use "DISM /online /disable-feature /featurename:WindowsMediaPlayer /norestart".
  12. Hi, I am trying to remove Media Player feature through cmd. I can use the command "DISM /online /disable-feature /featurename:WindowsMediaPlayer". but the problem is once the feature is removed it is asking to press Y or N for rebooting the machine. Is there any way to avoid this? I want to perform disable the Media Player unatteneded.
  13. Thanks.. but how to add SP2 to server 2008 offline
  14. how to include SP2 into OS image in offline. i,e when i install OS, SP2 should also get installed.