-
Executing Powershell command from C#
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.
-
Windows 7 activation
yes, i am running in elevated privilages.
-
Windows 7 activation
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
-
Reading space in XML value.
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
-
Changing Theme
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.
-
Changing Theme
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
-
Changing Theme
there is Windows Classic theme present in Win 7.
-
Changing Theme
yes i searched, but i did not get anything in the forum
-
Changing Theme
i want to change the theme to Classic on many systems. how can i do this. Is there any command by executing changes theme.
-
Changing Theme
Hi, How to change inbuilt theme in Windows 7 with out showing any UI to the user.
-
Command to remove feature (Unattended)
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".
-
Command to remove feature (Unattended)
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.
-
include SP2 into the OS
Thanks.. but how to add SP2 to server 2008 offline
-
include SP2 into the OS
how to include SP2 into OS image in offline. i,e when i install OS, SP2 should also get installed.
-
Change network type to Private
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.