Everything posted by sudhi164
-
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.
-
Changing time zone
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
-
Changing time zone
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
-
Changing time zone
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
-
Icons on desktop through command
Changing into classic will help me... let me know how you did it by using registry
-
Icons on desktop through command
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
-
Disable DVD Maker through command
Hi, i want to know how to disable DVD maker in windows7 through command or making chages in registry.
-
Converting IP to varient
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
-
change the color depth
Hi how to change the color depth to 32 bit through command in vista and server 2008
-
Error compailing vc++
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
-
Driver Install for Matrox Cards failes..
Hi, i have downloaded latest matrox driver from matrox site for vista... i made the changes in .ini file to support silent instalation but when it starts instalation it prompts for only one windo which shows the driver is not trusted do u want to install.. how to supress this window....