Showing posts with label Windows 8. Show all posts
Showing posts with label Windows 8. Show all posts

Tuesday, January 20, 2015

Set IP to Windows 7 from command line

 netsh interface ip set address "connection name" static 192.168.0.101 255.255.255.0 192.168.0.1


NOTE: The default connection names are Local Area Connection for wired adapters and Wireless Network Connection for Wi-Fi adapters. The IP address order: client IP, subnet mask, and gateway IP.


Here’s how to configure the DNS addresses:


netsh interface ip add dns "connection name" 208.67.222.222


netsh interface ip add dns "connection name" 208.67.220.220 index=2


NOTE: Remember to replace the connection names and IP addresses.


 To dump the TCP/IP configuration:

    netsh -c interface dump > PATH_AND_FILENAME.txt


To import the TCP/IP configuration:

    netsh -f PATH_AND_FILENAME.txt
For setting dhcp



netsh interface ip set address "Local Area Connection" dhcp




Wednesday, December 3, 2014

your pc ran into a problem and needs to restart solved


1) Turn on the laptop and keep pressing F2.

2) BIOS: change the SATA OPERATION from smart response technology to AHCI
Disable rapid storage Technology

Disable secure boot

3) Save and exit. The system will restart.

4) Using an usb pendrive with windows 8 in it (you can use a cd/dvd too), choose the boot option (im my case, usb).

5) Choose "restore computer".

6) go to troubleshoot, then, advanced options.

7) NOW i could RESTORE my laptop. It took a while and at the end it performed some uptades.

source:http://answers.microsoft.com/en-us/windows/forum/windows_8-system/windows-8-stuck-in-restart-loop-your-pc-ran-into-a/600b12a8-2bc6-4570-81f1-54a06bc5bb05

Sunday, May 18, 2014

Bypass Administrator Password/Create another Administrator account on Win7/Win8


This is really simple,first create a folder and put a text file and encrypt it,then reboot your computer.

The boot your pc with any live cd/recovery console of windows xp/2000 will also work,go to windows/system32 and then rename osk.exe to osk.exe.old and rename cmd.exe to osk.exe.

Reboot your computer,start on screen keyboard before trying to login,the command prompt will come up,whoami will show you are the system account.

Now type 
net user username password 

This will change your password and you can login,however you won't be able to access the encrypted files,you need to reset your password to the previous one for that,do that and log out and login and encrypted files should open.

However to add another account with administrator credential the command is

net user newuser password /add

to make this user a member of administrators group

net localgroup administrators newuser /add


Thanks to this video

Friday, April 4, 2014

Compile C on Windows 8


I have installed vs 2012 express on windows 8

Run VS 2012 X64 Cross Tools Command Prompt

create a folder

cd to get inside of the folder

create a sample c program named sample.c

#include
int main()
{
    printf("This is a native C program.\n\a");
    return 0;
}

save the file in the folder

type

cl sample.c

sample.exe and sample.obj will be created inside the folder

type

sample

press enter

 

Wednesday, April 2, 2014

A required privilege is not held by the client ,can not copy data to a drive,WINDOWS 8 - Error 0x80070522 solved

So faced this issue on windows 8

this is how it got solved for me,I tried to take ownership and use icacls(see http://wowmoron.blogspot.in/2014/02/access-denied-error-in-windows-8.html),but it didn't work,I wasn't surprised because that drive contained some os files from previous installation,

Then I tried

 Press Windows key + X, select Run
 Type “msconfig” and press enter
 Select the tools tab
 Select “change UAC settings” and click launch
 Select the UAC control to “never notify me”


but it didn't work for me

so then I tried

 Run->secpol.msc
 Local Policies->Security Options.
 Set "User Account Control: Run all administrators in Admin Approval Mode" to Disable.
 Restart the PC ! and voila I can even copy to c drive on my windows 8

just for the information it's 4.22 in the night,geek's night out eh!!!
 

Sunday, February 23, 2014

Access Denied error in Windows 8


after long time posting again..

I moved to windows 8,have some files from windows xp,now can not access them,access denied error

Here is how to take ownership of those files in windows 8(gui method did not work surprisingly)

a) Press “Windows Key + Q” to open Charms Bar.
b) Type “cmd” without quotes in the search box.
c) On the left pane, right click on the “cmd” option and select “Run as Administrator”.
d) Type "TAKEOWN /F c:\windows\winsxs /A /R" without quotes press enter. 
Note: Here c:\windows\winsxs is the file location. 
e) Type “ICACLS c:\windows\winsxs /grant:r Everyone:F /T” without quotes and press enter. 
Note: Here c:\windows\winsxs is the file location

Now even after doing that and even after getting the success of the commands I was still getting  the access denied,so I tried to to take ownership of the whole folder and enabled inheritance and it worked unlike before.

Here is the the link that helped me.

http://answers.microsoft.com/en-us/windows/forum/windows_8-security/you-do-not-have-permission-to-view-this-objects/5939dbf4-ca81-4f14-b455-ede115af924e 

Wednesday, November 27, 2013

Java not working in Internet Explorer after installing java on Windows 8 solved


I have faced this error,fortunately found the solve.

Reinstall Java using offline version.(just the jre in the second time works for me)

    Go to the Windows offline page


    On the download page, click Agree and Start Free Java Download


    If you've already installed the version, you will see a message, This software has already been installed on your computer. Would you like to reinstall it?


    Click Yes and reinstall,and you are done.


source:https://java.com/en/download/help/ie_tips.xml