yashsingh1/xdaforums huggingface dataset:
[Windows 10 Mobile] xboxmod:
Hi

For me Sftp always work on build 10.0.10586.29

maybe because i have added thoses registry key in the OEMSettings.reg before update to 10.....

as you mentionned it is not possible to replace this file using sftp....

But you can with the mtp trick....
[Windows 10 Mobile] G.moe:
Since when can we edit that folder with MTP? I get permission error.

Edit: I assume now that you mean using the Full FS hack, not just changing the MTP folder.
[Windows 10 Mobile] xboxmod:
Yes i talk about the Full FS hack.
[Windows 10 Mobile] winphouser:
[Tweaks.xml] Enable Full FS over SFTP

<contributor>snickler @ xda-developers</contributor>

<tweak category="System" name="Enable Full FS over SFTP" type="toggle">
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="sftp-home-dir" type="string" default="%FOLDERID_SharedData%\PhoneTools\">
<value>C:\</value>
</entry>
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="default-home-dir" type="string" default="%FOLDERID_SharedData%\PhoneTools\">
<value>C:\</value>
</entry>
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="sftp-mkdir-rex" type="string" default="%FOLDERID_SharedData%\\PhoneTools\\.*">
<value>.*</value>
</entry>
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="sftp-open-dir-rex" type="string" default="%FOLDERID_SharedData%\\PhoneTools(\\.*)*">
<value>.*</value>
</entry>
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="sftp-read-file-rex" type="string" default="%FOLDERID_SharedData%\\PhoneTools\\.*">
<value>.*</value>
</entry>
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="sftp-remove-file-rex" type="string" default="%FOLDERID_SharedData%\\PhoneTools\\.*">
<value>.*</value>
</entry>
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="sftp-rmdir-rex" type="string" default="%FOLDERID_SharedData%\\PhoneTools\\.*">
<value>.*</value>
</entry>
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="sftp-stat-rex" type="string" default="%FOLDERID_SharedData%\\PhoneTools\\.*">
<value>.*</value>
</entry>
<entry path="HKLM\System\Currentcontrolset\control\ssh\sirepuser" name="sftp-write-file-rex" type="string" default="%FOLDERID_SharedData%\\PhoneTools\\.*">
<value>.*</value>
</entry>
</tweak>

Ping [MENTION=2159229]sensboston[/MENTION] [MENTION=311509]kwanice[/MENTION] [MENTION=6655208]vcfan[/MENTION] [MENTION=4730550]Pasquiindustry[/MENTION]
[Windows 10 Mobile] winphouser:
[Tweaks.xml] Enable KeepWiFiOnSvc (W10, Reboot)

<tweak category="Network" name="Enable KeepWiFiOnSvc (W10, Reboot)" type="toggle" description="Keeps WiFi on while screen is locked" reboot="true">
<entry path="HKLM\SYSTEM\CurrentControlSet\Services\KeepWiFiOnSvc" name="Start" type="dword" default="4">
<value>2</value>
</entry>
</tweak>

? Tweaks.xml updated: https://raw.githubusercontent.com/sensboston/WPTweaker/master/WPTweaker/Tweaks.xml
[Windows 10 Mobile] wuiyang:
sorry if this is a stupid question... where can I download WConnect?

EDIT: found it, after connect to my phone's data, I am able to view everything, but not copy it to somewhere, what shall I do?
[Windows 10 Mobile] AshleyT:
I'm on build 14267 and WINDOWSAPPS folder now is empty!
[Windows 10 Mobile] ronfante:
Works fine on my ativ s win 10m .126 :)

Nice works thankyou
[Windows 10 Mobile] Trur:
Hi I've MS Lumia 640 XL LTE (RM-1062_1030), Windows Version 10.0.10586.218

I followed first step about RootTool.

" The following keys should be set ..."

but when i press write and then later read - no changes. I still have old %FOLDER...% values for all strings.

By wconnect IP I am getting this error:

Error bootstrapping the device. Error code = 8

However, it creates privkey.pem that I can easily convert. Further when I am using winscp to connect to device I am getting this error:

"Authentication log (see session log for details):

Using username "sirepuser".

Authenticating with public key "imported-openssh-key".

Authentication failed."

Any suggestions? Thank you.
[Windows 10 Mobile] winphouser:
[MENTION=758332]Trur[/MENTION], using original WPTweaker

1. Set: NdtkSvc Path ➡ c:\windows\system32\ndtksvc.dll

2. Wait 60 seconds. Then reboot

3. Set: Full FS over SFTP ➡ On

4. Reboot

Sent from mTalk
[Windows 10 Mobile] Trur:
[MENTION=6801595]winphouser[/MENTION]

Thank you for your response.

I can install Root Tool via WPAD(8.1) without problems. However, when i try WPTweaker 1.4.3 I am getting this msg:

"Error - Package could not be registered."

Before installation I have enabled in Root Tool -> Jailbreak Lumia -> Interop Unlock (I got success msg). I've tried to Install wptweaker, but I got the same error. Then I tried capability Unlock and Unlock Windows Capabilities, but without success. :(
[Windows 10 Mobile] Satirus:
You're using wrong app to deploy those xaps. You can use wp power tools... And root tool does not apply a validating interop-unlocking. You should try with vcreg 1.5 on wp power tools.
[Windows 10 Mobile] Trur:
Ok let see One more time.

i ve installed wp power tools and successfully deployed vcREG:Lumia. However, I found only version 1.2 not 1.5 of vcreg. In addition I've used a vcREG_1_2_W10.xap loaded with wptools.

I checked:

Live Interop/Capability Unlock and Live Full FS Acces. Than I've rebooted phone(I ve also tried without reboot)

However, no registers were updated from the list of this topic.

Connection:

"Authentication log (see session log for details):

Using username "Sirepuser".

Authenticating with public key "imported-openssh-key".

Authentication failed."

:(

Any advice? what I miss?

Thank you.
[Windows 10 Mobile] w.bogdan:
vcREG 1.5 for Windows 10 Mobile http://xdaforums.com/windows-10/windows-10-mobile/vcreg-1-5-windows-10-mobile-t3358873
[Windows 10 Mobile] Trur:
Thank you for the link. Strange google search did not provide this version.

Yesterday, I got hidden update of w10m to version 10.0.10586.318. May be this gave also problem.

Actually now I have problem with connecting phone to PC. PC cannot recognize it. I will reset phone and do all steps again.

I will inform you guys about result. Thank you.

Update

: I got now access to root phone storage via USB, but SFTP still do not work.

I've used those steps:
[Windows 10 Mobile] tofuschnitte:
might be a issue with the newest cumulative update for th2? worked fine on .242, worked fine on .316 upgraded from .242. doenst work on a clean .316 (hardreset after upgrade).

edit: my fault, works again. forgot to pair it again with wconnect. and you need to have that stayed paired (even though wconnect quits with an error)
[Windows 10 Mobile] Trur:
As I informed above I have root access via USB cable now. Here is my couple of questions.

Where is located my user files (documents, pictures, etc)?

Update

I have answer here: This PC\Windows phone\Phone\Data\Users\Public

Where is located all installed apps and isolated storage of those apps?

Thank you.
[Windows 10 Mobile] augustinionut:
Data\programs.
[Windows 10 Mobile] Trur:
AFAIK here is only programs but not isolated storage were gathered data of an app is saved. Moreover, if I look at WP power tools there other locations like LOCAL, ROAMING, TEMP, SHARED etc. However, it is not clear where it is located (I ve multiple maps with such names)

Thank you
[Windows 10 Mobile] augustinionut:
http://xdaforums.com/showthread.php?p=61317062
[Windows 10 Mobile] An_dz:
Data from XAPs and some system settings is stored in /Data/Users/DefApps/AppData/

For APPXs and some other system settings the data is just two levels below: /Data/Users/DefApps/AppData/Local/Packages/

The folder names are the same for where they are stored.
[Windows 10 Mobile] Gh0s7_Dj:
Lumia 950 with latest production version, I have issues with both WinScp and Swish.

1) WinScp doesn't allow me to navigate to parent folder

2) Swish says Failed opening remote file: FX_NO_SUCH_FILE

Do I have any chance of making it work?
[Windows 10 Mobile] lumia930gerbav:
My Lumia 930 is interop unlocked and I can change Registry Values (switched to Phablet mode successfully) but I hvae 2 probs:

- reg path is System\ControlSet001\Control\Ssh\Sirepuser

- even if i can read the keys, Interop tools does "try" to write the values and shows no error, if i read again the values did not change.... but I can write to registry but not this values
[Windows 10 Mobile] andykem:
Hello,

What is MTP. The process to get full acces semms very daunting to me bbut you mention MTP as giving some. I am trying simply to get the 8.1 Alrm sound to transfer to a 10 phone.

Andy
[Windows 10 Mobile] long8a2hgybvn:
I need some help here. I do follow any single step but when it asked for the password, I entered the pin for connecting that i used in wconnect -> wrong, i click pair for a new pin and entered ->> wrong. I even tried my phone pin code. And i also tried with both swish and winsdc
[Windows 10 Mobile] mrchezco1995:
sFTP write access doesn't work on redstone build (14383)

sFTP write access to C:\ works for me when I was at 10586 but after I upgraded to redstone insider builds, looks like write access to sFTP doesn't work anymore... It still works on C:\Data\Users\ but not on C:\. Any ideas?

Sent from Ponyville
[Windows 10 Mobile] Riyad_:
wconnect showing error 14 ..i m on latest rs1 build.
[Windows 10 Mobile] snickler:
All,

I've updated the OP to remove the need for WConnect and Pageant. I've found a way to remove the need for a PPK and to set a static pin instead.

Also, if you guys haven't looked. There are instructions to run Command Prompt under an SSH session in here also.
[Windows 10 Mobile] mrchezco1995:
Hey it works! :D

Local SSH works too! Installed The SSH Client to my device and connect to SSH-CMD via localhost (127.0.0.1:22), it works too :3

Added some extra IoT's EXE files to play with. Some works but some like bcdedit requires elevation to admin... Now I wonder how we can get admin access to cmd...

Sent from Ponyville
[Windows 10 Mobile] snickler:
Yeah, bcdedit is a weird one. I was able to get this working BEFORE back when I was using another trick, but it may require some extra stuff. The best part is that everything is running under SYSTEM account. Oh well, have at it, just make sure that you DO NOT fill up the MainOS partition... I did this a few hours ago copying the SYSTEM32 from an 8.1 RT ISO and my phone boot looped to hell, requiring me to use the key combinations to initiate a hard reset
[Windows 10 Mobile] lukjok:
I have a strange problem. When trying to connect PuTTY throws me an error: Server refused to start a shell/command, but a log says that authentication was successful. Where is a problem?
[Windows 10 Mobile] mrchezco1995:
No plans filling up lol! You can just copy WinRT's System32 to your sdcard and go cmd it there instead copying it to MainOS lol. If some files are too large use an sdcard formatted as NTFS and that works :)

Can you try elevating bcdedit with runas? Looks like IoT doesn't even have runas.exe but RT has it...

Sent from Ponyville
[Windows 10 Mobile] lukjok:
I tried to run BcdEdit on PC with cmd as System and it worked. System account should give required rights for BcdEdit. :confused:
[Windows 10 Mobile] iwasinnam:
I had the same problem, but the following solution (which was already posted), worked for me:

After that I started over the original instructions for modifying the registry, and it worked.
[Windows 10 Mobile] snickler:
I updated the instructions yesterday to include how to set a static pin. You don't need wconnect AT ALL anymore. At this point Interop Tools does 99% of the work. The next version that [MENTION=7651894]gus33000[/MENTION] pushes out will just about automate everything :).
[Windows 10 Mobile] snickler:
[MENTION=6883138]lukjok[/MENTION] , Did you make sure you rebooted before trying to connect. That reboot step is important.
[Windows 10 Mobile] lukjok:
Yes, rebooted. Tried several times with different clients, all gives me the same error. By the way, SFTP works fine. Maybe it's cmd fault?
[Windows 10 Mobile] snickler:
What are the exact steps you took for the CMD? Remember to push the cmd.exe and cmd.exe.mui to The Documents folder.

Re-do all of the registry related steps for setting the default-shell and the UMCIAuditMode. Those are the most important
[Windows 10 Mobile] lukjok:
Re-applied all keys and error still exist. Maybe this works only on Redstone, not on TH2?
[Windows 10 Mobile] snickler:
Take screenshots of the reg values from within Interop Tools and upload them.
[Windows 10 Mobile] lukjok:
Here:
[Windows 10 Mobile] snickler:
I wonder if you need to use a CMD from an earlier IoT build that's for TH2? Try going to the IoT for RPi2 and see if you can get an earlier build that's not RS. Either that, or MS REALLY messed up in Redstone... I may have to flash my phone back to try something
[Windows 10 Mobile] mrchezco1995:
[MENTION=6883138]lukjok[/MENTION] hey dude, if I still remember it correctly, you've sent me powershell binaries back on my thread right? I noticed you've sent binaries from TH2. I think the reason you can't run cmd.exe because your IoT image is TH2. Try redownloading IoT Core from Microsoft's site, they offer RS1 14393. My cmd.exe was from IoT build 14393 and it works on my Lumia running 14393 too. Try it.

EDIT: For those who needs only cmd.exe but don't want to download whole IoT's ISO, here's cmd.exe from 14393: CMD.exe for ARM_14393

Sent from Ponyville
[Windows 10 Mobile] lukjok:
I think Microsoft fu**ed really hard with Redstone because I tried TH2, RS1, and even WP8 cmd and neither is working. Oh well, need to wait for official RS1 update.
[Windows 10 Mobile] snickler:
Looks like I need to update some instructions to state that the SSH portion only works correctly in RS1 until proven otherwise. At the least, WP8 cmd should have worked. I would like to see more people running TH2 to try this out.
[Windows 10 Mobile] kukmikuk:
I have th2 on my Lumia 620..:)
[Windows 10 Mobile] kukmikuk:
...and I bave problem with remote PC connection too....:(
[Windows 10 Mobile] vcfan:
I don't think umciauditmode trick works with th2. tried 3 different builds(2 earlier, and the latest), and it fails to launch cmd.exe or other unsigned binaries I've tried. rs1 on the other hand does indeed run them all.
[Windows 10 Mobile] snickler:
Yeah, I confirmed that this is something they stupidly (for them) enabled to work in RS1. Viva la Onecore revolution! Let's see how long before they nuke it though.. which I'm hoping not soon.
[Windows 10 Mobile] vcfan:
i may have found a way to get all privileges. i have code running now with mostly everything including SeTcbPrivilege
[Windows 10 Mobile] G.moe:
I figured we could just remove privileges all together?
[Windows 10 Mobile] Gh0s7_Dj:
Cannot initialize SFTP protocol. Is the host running a SFTP server?

When using WinSCP, using bash ssh I get exec request failed on channel 0

This happens only if I insert the correct password, using a wrong one says "Access Denied" so something is working.

Any hint? OP's guide feels outdated and I don't think I got 100% right how to enable it using Interop Tools.
[Windows 10 Mobile] snickler:
The instructions are there... Everyone else was able to get it running without issue. As stated, Interop Tools will do everything for you by following the instructions in the app.
[Windows 10 Mobile] Gh0s7_Dj:
I don't know if you used the latest Interop Tool version but there are no instructions there.

Also, OPs instruction for WinSCP are still referring to the ppk file which is now barred in the first part of the post.

Please note that the connection actually starts and authentication works, but it fails with Cannot initialize SFTP protocol. Is the host running a SFTP server? just after authentication.
[Windows 10 Mobile] gus33000:
Here's a screenshot (4k-dpi) of the page with all instructions, make sure you have the latest version of the tool and that you're using password as the auth method
[Windows 10 Mobile] Gh0s7_Dj:
Thanks for the reply.

Those instructions are for CMD, but I'm not trying to do this.

I already pressed "Apply Full SFTP Access", set password to 1234 and what I get are the errors that I mentioned earlier.
[Windows 10 Mobile] snickler:
Which phone model are you using?
[Windows 10 Mobile] Gh0s7_Dj:
Lumia 950 with 10586.545. Just Interop Unlocked with vcReg 1.6, and unlock is working because I can enable/disable things under Interop Unlock section and Tweaks.

Also, just to be sure, I restored NDTK dll as explained in vcReg's topic.
[Windows 10 Mobile] snickler:
Try using Interop Tools to browse the registry and verify the keys from the SFTP portion of my instructions.

Also, remember.. There is no /C in the SFTP. Try setting your starting directory to be /C/Data
[Windows 10 Mobile] titi66200:
In WinSCP you have set Preferred SFTP protocol version to 2?
[Windows 10 Mobile] Gh0s7_Dj:
ssh subkey is empty, there's no sirepuser or anything.

Which is weird, because setting the password in Interop Tools works (it says that access is denied when I input a different password from the one saved in Interop Tools).

EDIT: while Interop Tools doesn't show anything, reading the values with vcReg shows the correct ones.

Yes
[Windows 10 Mobile] sensboston:
C: or D: are also works ;) (at least with SFTP plugin for Far Manager)
[Windows 10 Mobile] snickler:
Try going to reg editor, not browser as it won't browse it. Did you create another account? If yes, did you apply the settings for THAT account or did you select another one? Also, verify that you're connecting as the correct user. I don't understand how you're running into all of these issues though.
[Windows 10 Mobile] gus33000:
The registry browser will never be able to see those keys as they are protected. Only reading and writing with the registry editor will work. Did you try creating a secondary user account?
[Windows 10 Mobile] Gh0s7_Dj:
I did, and they're both set to auth with the same 1234 password. Sirepuser is selected tho.

Just tried reading all the values, default-home-dir was not set to C:\ and I just did it now but I still get the same errors.

I don't understand it either, or I wouldn't be here asking for help :)
[Windows 10 Mobile] gus33000:
Make sure you are applying full sftp for each account, full sftp template is per user.
[Windows 10 Mobile] Gh0s7_Dj:
Already smashed that button for each account.

Nothing happens when I tap it tho, so I'm not sure if it really worked or not.
[Windows 10 Mobile] gus33000:
The button changes some of the values you can see in the section with the auth method and shell/rules. There nothing else that should pop up.
[Windows 10 Mobile] Gh0s7_Dj:
And I think it changes them by setting everything to .* so it's working, but I'm still not able to connect.
[Windows 10 Mobile] titi66200:
Actived SFTP on my 1020, 830, 950 XL without issue.
[Windows 10 Mobile] Gh0s7_Dj:
Good for you, but how is this supposed to help me?
[Windows 10 Mobile] Gh0s7_Dj:
Quick update: hard reset -> update to AU -> Interop Unlock -> Enable SFTP using Interop Tools.

I can connect but I'm getting a new error.

Cannot get real path for '/C'.

No such file or directory.

Error code: 2

Error message from server: None

This happens with both the settings from the OP and the ones set by the "Apply SFTP .." button in Interop Tools.
[Windows 10 Mobile] snickler:
[MENTION=1414420]Gh0s7_Dj[/MENTION]

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Windows 10 Mobile] snickler:
[MENTION=1414420]Gh0s7_Dj[/MENTION]

Also from the OP on the Winscp section
[Windows 10 Mobile] augustinionut:
Did it. Copied using PC cmd.exe and cmd.exe.mui to system32... pushed some butons on interoptools...
[Windows 10 Mobile] snickler:
This is the reason why I just tell everyone to use Interop Tools, as it's all automated as long as you follow the instructions :)
[Windows 10 Mobile] titi66200:
[MENTION=6615698]augustinionut[/MENTION]

How you have displayed cmd on your phone
[Windows 10 Mobile] augustinionut:
Accesing interoptool cmd section ?!?
[Windows 10 Mobile] titi66200:
Will try because i don't use this tool
[Windows 10 Mobile] :
Can you screenshot the button that you have enable pls
[Windows 10 Mobile] augustinionut:
Interop tools-this device-SSH account manager-templates for the selected user-apply CMD acces.

Then restart phone.

Then interop tools- this device-(wip) CMD as System Access.
[Windows 10 Mobile] :
I'm not able to copy both files to system32.The folder were read only mode
[Windows 10 Mobile] gus33000:
If it's read only, made sure you rebooted after applying full FS access so you have correct access permissions, if that still doesn't work follow [MENTION=2854207]snickler[/MENTION] advice, that is, use the temp button in my app to set the shell to the cmd.exe file that you would have placed in the public user's document folder, then open putty, copy back the cmd and its mui file to system32 and system32/en-us respectively, then tap the button without the temp tag and you should be good to go.
[Windows 10 Mobile] augustinionut:
So... i copied power shell stuff inside system32 and launched powershell.exe using cmd.exe :D

EDIT: coreCLR ?
[Windows 10 Mobile] lukjok:
Did you also copied DotNetCore, CoreClrPowerShellExt and CoreClr folders?
[Windows 10 Mobile] augustinionut:
Nope, im still looking for them..... Where to look?
[Windows 10 Mobile] lukjok:
They should be in IoT image System32 folder. :)
[Windows 10 Mobile] augustinionut:
That for sure :D But i dont have enough data plan to download him...

Maybe after 08.09.2016...
[Windows 10 Mobile] titi66200:
CoreCLR, CoreClrPowerShellExt, DotNetCore folders in system32
[Windows 10 Mobile] :
Can i have cmd.exe and cmd.exe.mui as well please. Really appreciate it.My phone is lumia 830
[Windows 10 Mobile] gus33000:
The app cmd page doesn't use sirepuser so no need to modify it. It uses another account. Make sure you rebooted after ticking UMCI, it should work if you didn't change anything with the interoptools account and you have the service set to 4.
[Windows 10 Mobile] augustinionut:
Where to copy these files?
[Windows 10 Mobile] titi66200:
In system32 DotNetCore, CoreClrPowerShellExt and CoreClr folders
[Windows 10 Mobile] augustinionut:
Well, nothing change.
[Windows 10 Mobile] gus33000:
This isn't an error, read what it says, it will tell you exactly what to do, in that case, you probably forgot about enabling UMCI
[Windows 10 Mobile] snickler:
Power shell CLI doesn't really work on W10M. You can run Power shell.exe -Command "some command" and you'll see some output, but I have yet to make it work correctly as a shell. It's expected behavior
[Windows 10 Mobile] lukjok:
Yeah, it's buggy, for example, I can't get any output from commands, an input is doubled when entering commands.
[Windows 10 Mobile] augustinionut:
I only tried inside phone.
[Windows 10 Mobile] G.moe:
http://xdaforums.com/showpost.php?p=68352546&postcount=77
[Windows 10 Mobile] :
Finally,thanks gus33000.Got new message.Is this ok?
[Windows 10 Mobile] mylve:
How to download windows IoT core

Help ut to download

Link provided having very complicated process

Like sign in then choose hardware and all

Explain process please......:)
[Windows 10 Mobile] djtonka:
Does anyone could export registry System\Currentcontrolset\control\ssh\sirepuser?

On my 550 there is no keys at all.
[Windows 10 Mobile] titi66200:
Seems not possible but you can check all keys with Vcreg. vcreg can read values
[Windows 10 Mobile] djtonka:
ok, I did get it from HP FFU. Should I delete any other not used keys?

====

in case of import it, do registry will be overwrited by this new?
[Windows 10 Mobile] sensboston:
Use reg.exe (from IoT RPI), run via ssh session. Here are all commadls for this tool. In your case it should look like:

[B]reg.exe export HKLM\System\CurrentControlSet\Control\SSH\Sirepuser C:\Data\Users\Public\Documents\sirepuser.reg[/B]

P.S. BTW, I've grabbed that file for you from my L-950; it was quicker than type this post-scriptum :D
[Windows 10 Mobile] ap3rus:
Yay, CMD over SSH works good on 650 DS :)

[IMG="650 cmd"]http://i.imgur.com/gBTfTBU.png[/IMG]
[Windows 10 Mobile] djtonka:
It is ok if after importing the reg I am unable to see keys under the sirepuser with Interop Tools?