Jump to content

sudhi164

Member
  • Posts

    26
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Everything posted by sudhi164

  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. 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
  3. 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
  4. 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.
  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
  6. there is Windows Classic theme present in Win 7.
  7. yes i searched, but i did not get anything in the forum
  8. i want to change the theme to Classic on many systems. how can i do this. Is there any command by executing changes theme.
  9. Hi, How to change inbuilt theme in Windows 7 with out showing any UI to the user.
  10. 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".
  11. 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.
  12. Thanks.. but how to add SP2 to server 2008 offline
  13. how to include SP2 into OS image in offline. i,e when i install OS, SP2 should also get installed.
  14. How to change network type to private network in networking and sharing centre with out showing UI to the user and it need to be done programatically.
  15. Thats right IcemanND. tzutil.exe works on win 7 and win server 2008 R2. let me know is there a similar way for win 2008
  16. Hi IcemanND, method which is explained in the link will not work on win 2008 and win7... let me know if u know any way how to do it
  17. Hi, How to change time zone using command in win vista, win 7 and win server 2008. I dont want to use UI to change the timezone
  18. Changing into classic will help me... let me know how you did it by using registry
  19. hi How to show My computer and my networks on the desktop using command or making changes in the registry. i want this to make it automated
  20. Hi, i want to know how to disable DVD maker in windows7 through command or making chages in registry.
  21. hi, i have a IP address which i need to convert into Variant VT_I4 and then change type to VT_BSTR in .net. Let me know how to do it
  22. Hi how to change the color depth to 32 bit through command in vista and server 2008
  23. hi, When i try to compail a c++ code in VC++ 2008 i am getting a error as mention below Error 2 error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format let me know what i need to do ot remove this error
×
×
  • Create New...